mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
set the version in the stream constructor (#1362)
set the version in the stream constructor
This commit is contained in:
parent
407a563c73
commit
fd906aeb24
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue