mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 05:07: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,
|
flowController flowcontrol.StreamFlowController,
|
||||||
version protocol.VersionNumber,
|
version protocol.VersionNumber,
|
||||||
) *stream {
|
) *stream {
|
||||||
s := &stream{sender: sender}
|
s := &stream{sender: sender, version: version}
|
||||||
senderForSendStream := &uniStreamSender{
|
senderForSendStream := &uniStreamSender{
|
||||||
streamSender: sender,
|
streamSender: sender,
|
||||||
onStreamCompletedImpl: func() {
|
onStreamCompletedImpl: func() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue