mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-06 21:57:36 +03:00
introduce a quic.Config.HandshakeIdleTimeout, remove HandshakeTimeout
This commit is contained in:
parent
deacefdd34
commit
595f6f814a
15 changed files with 116 additions and 55 deletions
|
@ -522,7 +522,7 @@ var _ = Describe("Server", func() {
|
|||
}
|
||||
|
||||
It("uses the quic.Config to start the QUIC server", func() {
|
||||
conf := &quic.Config{HandshakeTimeout: time.Nanosecond}
|
||||
conf := &quic.Config{HandshakeIdleTimeout: time.Nanosecond}
|
||||
var receivedConf *quic.Config
|
||||
quicListenAddr = func(addr string, _ *tls.Config, config *quic.Config) (quic.EarlyListener, error) {
|
||||
receivedConf = config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue