- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for customErrHandler (0.05 sec)
-
internal/handlers/forwarder.go
FlushInterval: defaultFlushInterval, ErrorHandler: f.customErrHandler, } if f.ErrorHandler != nil { revproxy.ErrorHandler = f.ErrorHandler } revproxy.ServeHTTP(w, outReq) } // customErrHandler is originally implemented to avoid having the following error // // `http: proxy error: context canceled` printed by Golang func (f *Forwarder) customErrHandler(w http.ResponseWriter, r *http.Request, err error) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.7K bytes - Viewed (0)