detect CloseNotify capability in accesslog and metrics

This commit is contained in:
mpl 2019-12-10 18:18:04 +01:00 committed by Traefiker Bot
parent 1d4f10bead
commit bdf4c6723f
5 changed files with 59 additions and 4 deletions

View file

@ -200,7 +200,7 @@ func (h *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request, next http
core[ClientHost] = forwardedFor
}
crw := &captureResponseWriter{rw: rw}
crw := newCaptureResponseWriter(rw)
next.ServeHTTP(crw, reqWithDataTable)