detect CloseNotify capability in accesslog and metrics
This commit is contained in:
parent
1d4f10bead
commit
bdf4c6723f
5 changed files with 59 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue