diff --git a/stream.go b/stream.go index f8d851be..06b23bab 100644 --- a/stream.go +++ b/stream.go @@ -100,7 +100,7 @@ func newStream(streamID protocol.StreamID, flowController flowcontrol.StreamFlowController, version protocol.VersionNumber, ) *stream { - s := &stream{sender: sender} + s := &stream{sender: sender, version: version} senderForSendStream := &uniStreamSender{ streamSender: sender, onStreamCompletedImpl: func() {