forked from quic-go/quic-go
http3: use the stream context to detect when the send side is closed (#4489)
This commit is contained in:
@@ -85,9 +85,9 @@ start:
|
||||
d.mx.Unlock()
|
||||
return data, nil
|
||||
}
|
||||
if d.receiveErr != nil {
|
||||
if receiveErr := d.receiveErr; receiveErr != nil {
|
||||
d.mx.Unlock()
|
||||
return nil, d.receiveErr
|
||||
return nil, receiveErr
|
||||
}
|
||||
d.mx.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user