- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for customErrHandler (0.07 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 07 05:42:10 UTC 2023 - 5.6K bytes - Viewed (0)