1
0
Fork 0

Includes the headers in the HTTP response of a websocket request

This commit is contained in:
Gérald Croës 2018-06-04 14:14:03 +02:00 committed by Traefiker Bot
parent b2cf03fa5c
commit 6bc59f8b33
8 changed files with 21 additions and 11 deletions

View file

@ -110,7 +110,7 @@ func (e *ConnErrHandler) ServeHTTP(w http.ResponseWriter, req *http.Request, err
if log.GetLevel() >= log.DebugLevel {
logEntry := log.WithField("Request", utils.DumpHttpRequest(req))
logEntry.Debug("vulcand/oxy/connlimit: begin ServeHttp on request")
defer logEntry.Debug("vulcand/oxy/connlimit: competed ServeHttp on request")
defer logEntry.Debug("vulcand/oxy/connlimit: completed ServeHttp on request")
}
if _, ok := err.(*MaxConnError); ok {