Commit b795a102 authored by Andy Goldstein's avatar Andy Goldstein

bump(docker/spdystream):106e140db2cb50923efe088bf2906b2ee5a45fec

parent ff386b7a
...@@ -403,7 +403,7 @@ ...@@ -403,7 +403,7 @@
}, },
{ {
"ImportPath": "github.com/docker/spdystream", "ImportPath": "github.com/docker/spdystream",
"Rev": "c33989bcb56748d2473194d11f8ac3fc563688eb" "Rev": "106e140db2cb50923efe088bf2906b2ee5a45fec"
}, },
{ {
"ImportPath": "github.com/elazarl/go-bindata-assetfs", "ImportPath": "github.com/elazarl/go-bindata-assetfs",
......
...@@ -320,6 +320,7 @@ func (s *Connection) Serve(newHandler StreamHandler) { ...@@ -320,6 +320,7 @@ func (s *Connection) Serve(newHandler StreamHandler) {
partitionRoundRobin int partitionRoundRobin int
goAwayFrame *spdy.GoAwayFrame goAwayFrame *spdy.GoAwayFrame
) )
Loop:
for { for {
readFrame, err := s.framer.ReadFrame() readFrame, err := s.framer.ReadFrame()
if err != nil { if err != nil {
...@@ -362,7 +363,7 @@ func (s *Connection) Serve(newHandler StreamHandler) { ...@@ -362,7 +363,7 @@ func (s *Connection) Serve(newHandler StreamHandler) {
case *spdy.GoAwayFrame: case *spdy.GoAwayFrame:
// hold on to the go away frame and exit the loop // hold on to the go away frame and exit the loop
goAwayFrame = frame goAwayFrame = frame
break break Loop
default: default:
priority = 7 priority = 7
partition = partitionRoundRobin partition = partitionRoundRobin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment