forked from quic-go/quic-go
There were several bugs here: - We must always return an error when the peer tries to open a stream from the wrong side. - We must never return an error when GetOrOpenStream is called for a stream that was already closed. GetOrOpenStream is called when a frame on a stream is received, so this happens when we receive retransmissions of STREAM frames for a closed stream. We only used to do that check for peer-initiated streams, not for streams we opened ourselves.
8.3 KiB
8.3 KiB