Update internal/api/modules/amp/proxy.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
이대희
2026-02-10 19:07:49 +09:00
committed by GitHub
parent 3c85d2a4d7
commit ce0c6aa82b

View File

@@ -189,7 +189,7 @@ func createReverseProxy(upstreamURL string, secretSource SecretSource) (*httputi
// Error handler for proxy failures
proxy.ErrorHandler = func(rw http.ResponseWriter, req *http.Request, err error) {
// Client-side cancellations are common during polling; return 499 without logging
// Client-side cancellations are common during polling; suppress logging in this case
if err == context.Canceled {
return
}