Skip to content

Commit

Permalink
listen to spdystream close channel for remote closes
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Jun 15, 2015
1 parent 72e1e9c commit 6fdcbed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions transport/spdystream/spdystream.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ func (c *conn) IsClosed() bool {
select {
case <-c.closed:
return true
case <-c.sc.CloseChan():
return true
default:
return false
}
Expand Down

0 comments on commit 6fdcbed

Please sign in to comment.