diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-10 22:03:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 22:03:56 +0200 |
commit | 1d7175314c350b61b84ca4b2237d662e9b3f6c09 (patch) | |
tree | f6b0a8c94882669ce96fee0ddae5390f3b9aa2e7 /pkg/api/server/handler_api.go | |
parent | 2ac8c6953481eb7391a6a7594709811f7ae3167f (diff) | |
parent | 324a02ec609f24aaba923a96266657d125228033 (diff) | |
download | podman-1d7175314c350b61b84ca4b2237d662e9b3f6c09.tar.gz podman-1d7175314c350b61b84ca4b2237d662e9b3f6c09.tar.bz2 podman-1d7175314c350b61b84ca4b2237d662e9b3f6c09.zip |
Merge pull request #6918 from skorhone/fix/hijacked_connection_handling
Fix: Correct connection counters for hijacked connections
Diffstat (limited to 'pkg/api/server/handler_api.go')
-rw-r--r-- | pkg/api/server/handler_api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/server/handler_api.go b/pkg/api/server/handler_api.go index b0fd932ba..53fe8952b 100644 --- a/pkg/api/server/handler_api.go +++ b/pkg/api/server/handler_api.go @@ -37,6 +37,7 @@ func (s *APIServer) APIHandler(h http.HandlerFunc) http.HandlerFunc { c := context.WithValue(r.Context(), "decoder", s.Decoder) //nolint c = context.WithValue(c, "runtime", s.Runtime) //nolint c = context.WithValue(c, "shutdownFunc", s.Shutdown) //nolint + c = context.WithValue(c, "idletracker", s.idleTracker) //nolint r = r.WithContext(c) h(w, r) |