mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Log whether it's a websocket request
This commit is contained in:
2
vendor/github.com/weaveworks/common/middleware/logging.go
generated
vendored
2
vendor/github.com/weaveworks/common/middleware/logging.go
generated
vendored
@@ -29,7 +29,7 @@ func (l Log) Wrap(next http.Handler) http.Handler {
|
||||
log.Warnf("Could not dump request headers: %v", err)
|
||||
return
|
||||
}
|
||||
log.Debugf(string(headers))
|
||||
log.Debugf("Is websocket request: %v\n%s", IsWSHandshakeRequest(r), string(headers))
|
||||
}
|
||||
i := &interceptor{ResponseWriter: w, statusCode: http.StatusOK}
|
||||
next.ServeHTTP(i, r)
|
||||
|
||||
2
vendor/manifest
vendored
2
vendor/manifest
vendored
@@ -1361,7 +1361,7 @@
|
||||
"importpath": "github.com/weaveworks/common",
|
||||
"repository": "https://github.com/weaveworks/common",
|
||||
"vcs": "git",
|
||||
"revision": "033d5c87743012524cc813c4a66f7d18afdb20b6",
|
||||
"revision": "139d0313ac15170e9de8187b26e7df03b4cb910e",
|
||||
"branch": "master",
|
||||
"notests": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user