forked from quic-go/quic-go
Updated Changelog and comments
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## v0.6.0 (unreleased)
|
## v0.6.0 (unreleased)
|
||||||
|
|
||||||
|
- Added `quic.Config` options for maximal flow control windows
|
||||||
- Add a `quic.Config` option for QUIC versions
|
- Add a `quic.Config` option for QUIC versions
|
||||||
- Add a `quic.Config` option to request truncation of the connection ID from a server
|
- Add a `quic.Config` option to request truncation of the connection ID from a server
|
||||||
- Add a `quic.Config` option to configure the source address validation
|
- Add a `quic.Config` option to configure the source address validation
|
||||||
|
|||||||
10
interface.go
10
interface.go
@@ -77,14 +77,14 @@ type Config struct {
|
|||||||
HandshakeTimeout time.Duration
|
HandshakeTimeout time.Duration
|
||||||
// AcceptSTK determines if an STK is accepted.
|
// AcceptSTK determines if an STK is accepted.
|
||||||
// It is called with stk = nil if the client didn't send an STK.
|
// It is called with stk = nil if the client didn't send an STK.
|
||||||
// If not set, it verifies that the address matches, and that the STK was issued within the last 24 hours
|
// 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.
|
// This option is only valid for the server.
|
||||||
AcceptSTK func(clientAddr net.Addr, stk *STK) bool
|
AcceptSTK func(clientAddr net.Addr, stk *STK) bool
|
||||||
// MaxReceiveStreamFlowControlWindowServer is the maximum stream-level flow control window for receiving data
|
// MaxReceiveStreamFlowControlWindow 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
|
// If this value is zero, it will default to 1 MB for the server and 6 MB for the client.
|
||||||
MaxReceiveStreamFlowControlWindow protocol.ByteCount
|
MaxReceiveStreamFlowControlWindow protocol.ByteCount
|
||||||
// MaxReceiveConnectionFlowControlWindowServer is the connection-level flow control window for receiving data
|
// MaxReceiveConnectionFlowControlWindow 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
|
// If this value is zero, it will default to 1.5 MB for the server and 15 MB for the client.
|
||||||
MaxReceiveConnectionFlowControlWindow protocol.ByteCount
|
MaxReceiveConnectionFlowControlWindow protocol.ByteCount
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user