summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/spdystream/handlers.go
diff options
context:
space:
mode:
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)
}