mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
remove unused version parameter from stream constructor
This commit is contained in:
parent
0f352f2653
commit
d972a5e8f2
3 changed files with 4 additions and 7 deletions
|
@ -80,8 +80,6 @@ type stream struct {
|
|||
sender streamSender
|
||||
receiveStreamCompleted bool
|
||||
sendStreamCompleted bool
|
||||
|
||||
version protocol.VersionNumber
|
||||
}
|
||||
|
||||
var _ Stream = &stream{}
|
||||
|
@ -90,9 +88,8 @@ var _ Stream = &stream{}
|
|||
func newStream(streamID protocol.StreamID,
|
||||
sender streamSender,
|
||||
flowController flowcontrol.StreamFlowController,
|
||||
version protocol.VersionNumber,
|
||||
) *stream {
|
||||
s := &stream{sender: sender, version: version}
|
||||
s := &stream{sender: sender}
|
||||
senderForSendStream := &uniStreamSender{
|
||||
streamSender: sender,
|
||||
onStreamCompletedImpl: func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue