mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
remove unused version parameter from receive stream constructor
This commit is contained in:
parent
1646fd545e
commit
0f352f2653
4 changed files with 3 additions and 6 deletions
|
@ -51,7 +51,6 @@ type receiveStream struct {
|
|||
deadline time.Time
|
||||
|
||||
flowController flowcontrol.StreamFlowController
|
||||
version protocol.VersionNumber
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -63,7 +62,6 @@ func newReceiveStream(
|
|||
streamID protocol.StreamID,
|
||||
sender streamSender,
|
||||
flowController flowcontrol.StreamFlowController,
|
||||
version protocol.VersionNumber,
|
||||
) *receiveStream {
|
||||
return &receiveStream{
|
||||
streamID: streamID,
|
||||
|
@ -73,7 +71,6 @@ func newReceiveStream(
|
|||
readChan: make(chan struct{}, 1),
|
||||
readOnce: make(chan struct{}, 1),
|
||||
finalOffset: protocol.MaxByteCount,
|
||||
version: version,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue