We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8812aae commit 53d5900Copy full SHA for 53d5900
proxy/session/stream.go
@@ -39,7 +39,7 @@ func newStream(id uint32, sess *Session) *Stream {
39
// Read implements net.Conn
40
func (s *Stream) Read(b []byte) (n int, err error) {
41
n, err = s.pipeR.Read(b)
42
- if s.dieErr != nil {
+ if n == 0 && s.dieErr != nil {
43
err = s.dieErr
44
}
45
return
0 commit comments