diff --git a/main.go b/main.go index 2ee0f9b..a1429af 100644 --- a/main.go +++ b/main.go @@ -72,6 +72,7 @@ func genericHTTPProxy(w http.ResponseWriter, req *http.Request) { w.WriteHeader(resp.StatusCode) io.Copy(w, resp.Body) + resp.Body.Close() } func copyHeaders(from http.Header, to http.Header) {