diff --git a/Changelog.md b/Changelog.md index f009adce..666f2a77 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,7 @@ ## 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 to request truncation of the connection ID from a server - Add a `quic.Config` option to configure the source address validation diff --git a/interface.go b/interface.go index 9169ccca..bb608692 100644 --- a/interface.go +++ b/interface.go @@ -77,14 +77,14 @@ type Config struct { HandshakeTimeout time.Duration // AcceptSTK determines if an STK is accepted. // 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. AcceptSTK func(clientAddr net.Addr, stk *STK) bool - // 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 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 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 }