forked from quic-go/quic-go
Let server and client fill the flow variables
This commit is contained in:
18
interface.go
18
interface.go
@@ -80,18 +80,12 @@ type Config struct {
|
||||
// If not set, it verifies that the address matches, and that the STK was issued within the last 24 hours
|
||||
// This option is only valid for the server.
|
||||
AcceptSTK func(clientAddr net.Addr, stk *STK) bool
|
||||
// MaxReceiveStreamFlowControlWindowServer is the maximum stream-level flow control window for receiving data, for the server
|
||||
// If this value is zero, the timeout is set to protocol.DefaultMaxReceiveStreamFlowControlWindowServer
|
||||
MaxReceiveStreamFlowControlWindowServer protocol.ByteCount
|
||||
// MaxReceiveConnectionFlowControlWindowServer is the connection-level flow control window for receiving data, for the server
|
||||
// If this value is zero, the timeout is set to protocol.DefaultMaxReceiveConnectionFlowControlWindowServer
|
||||
MaxReceiveConnectionFlowControlWindowServer protocol.ByteCount
|
||||
// MaxReceiveStreamFlowControlWindowClient is the maximum stream-level flow control window for receiving data, for the client
|
||||
// If this value is zero, the timeout is set to protocol.DefaultMaxReceiveStreamFlowControlWindowClient
|
||||
MaxReceiveStreamFlowControlWindowClient protocol.ByteCount
|
||||
// MaxReceiveConnectionFlowControlWindowClient is the connection-level flow control window for receiving data, for the client
|
||||
// If this value is zero, the timeout is set to protocol.DefaultMaxReceiveConnectionFlowControlWindowClient
|
||||
MaxReceiveConnectionFlowControlWindowClient protocol.ByteCount
|
||||
// MaxReceiveStreamFlowControlWindowServer is the maximum stream-level flow control window for receiving data
|
||||
// If this value is zero, it will default to 1 MB for the server and 6 MB for the client
|
||||
MaxReceiveStreamFlowControlWindow protocol.ByteCount
|
||||
// MaxReceiveConnectionFlowControlWindowServer is the connection-level flow control window for receiving data
|
||||
// If this value is zero, it will default to 1.5 MB for the server and 15 MB for the client
|
||||
MaxReceiveConnectionFlowControlWindow protocol.ByteCount
|
||||
}
|
||||
|
||||
// A Listener for incoming QUIC connections
|
||||
|
||||
Reference in New Issue
Block a user