summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/spdystream/handlers.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-25 15:43:25 +0100
committerGitHub <noreply@github.com>2020-02-25 15:43:25 +0100
commit3d37dc639d87e4469a6457cf4592ff5b773d0777 (patch)
treef487a0db671b5303286a935b58577b0d50c64ab9 /vendor/github.com/docker/spdystream/handlers.go
parent6babc9f20ca9e3633da1792a31d0391bde6201b6 (diff)
parent68c313911e8a3aed605a12398442212b99f41619 (diff)
downloadpodman-3d37dc639d87e4469a6457cf4592ff5b773d0777.tar.gz
podman-3d37dc639d87e4469a6457cf4592ff5b773d0777.tar.bz2
podman-3d37dc639d87e4469a6457cf4592ff5b773d0777.zip
Merge pull request #5297 from rhatdan/vendor
Update vendor of buildah and containers/common
Diffstat (limited to 'vendor/github.com/docker/spdystream/handlers.go')
-rw-r--r--vendor/github.com/docker/spdystream/handlers.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/docker/spdystream/handlers.go b/vendor/github.com/docker/spdystream/handlers.go
index d4ee7be81..b59fa5fdc 100644
--- a/vendor/github.com/docker/spdystream/handlers.go
+++ b/vendor/github.com/docker/spdystream/handlers.go
@@ -30,7 +30,9 @@ func MirrorStreamHandler(stream *Stream) {
}()
}
-// NoopStreamHandler does nothing when stream connects.
+// NoopStreamHandler does nothing when stream connects, most
+// likely used with RejectAuthHandler which will not allow any
+// streams to make it to the stream handler.
func NoOpStreamHandler(stream *Stream) {
stream.SendReply(http.Header{}, false)
}