forked from quic-go/quic-go
interop: fix server configuration for the 0-RTT test case (#3713)
This commit is contained in:
@@ -58,7 +58,10 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch testcase {
|
switch testcase {
|
||||||
case "versionnegotiation", "handshake", "retry", "transfer", "resumption", "zerortt", "multiconnect":
|
case "zerortt":
|
||||||
|
quicConf.Allow0RTT = func(net.Addr) bool { return true }
|
||||||
|
fallthrough
|
||||||
|
case "versionnegotiation", "handshake", "retry", "transfer", "resumption", "multiconnect":
|
||||||
err = runHTTP09Server(quicConf)
|
err = runHTTP09Server(quicConf)
|
||||||
case "chacha20":
|
case "chacha20":
|
||||||
tlsConf.CipherSuites = []uint16{tls.TLS_CHACHA20_POLY1305_SHA256}
|
tlsConf.CipherSuites = []uint16{tls.TLS_CHACHA20_POLY1305_SHA256}
|
||||||
|
|||||||
Reference in New Issue
Block a user