[server] Enable QUIC draft-29.
This commit is contained in:
parent
f779c75442
commit
4d9852314c
1 changed files with 2 additions and 1 deletions
|
@ -715,7 +715,7 @@ func main_0 () (error) {
|
||||||
// NOP
|
// NOP
|
||||||
} else if _host, _port, _error := net.SplitHostPort (_http3AltSvc); _error == nil {
|
} else if _host, _port, _error := net.SplitHostPort (_http3AltSvc); _error == nil {
|
||||||
_endpoint := net.JoinHostPort (_host, _port)
|
_endpoint := net.JoinHostPort (_host, _port)
|
||||||
_http3AltSvc = fmt.Sprintf ("h3=\"%s\"", _endpoint)
|
_http3AltSvc = fmt.Sprintf ("h3=\"%s\", h3-29=\"%s\"", _endpoint, _endpoint)
|
||||||
} else {
|
} else {
|
||||||
AbortError (nil, "[1a5476b1] HTTP/3 Alt-Svc is invalid!")
|
AbortError (nil, "[1a5476b1] HTTP/3 Alt-Svc is invalid!")
|
||||||
}
|
}
|
||||||
|
@ -1455,6 +1455,7 @@ func main_0 () (error) {
|
||||||
|
|
||||||
Versions : []quic.VersionNumber {
|
Versions : []quic.VersionNumber {
|
||||||
quic.Version1,
|
quic.Version1,
|
||||||
|
quic.VersionDraft29,
|
||||||
},
|
},
|
||||||
|
|
||||||
HandshakeIdleTimeout : 6 * time.Second,
|
HandshakeIdleTimeout : 6 * time.Second,
|
||||||
|
|
Loading…
Reference in a new issue