quic: use RFC9000 version (#376)
* #1682: RFC9000 as main QUIC version * removed extra ALPN values from the TLSConfig * updated to quic-go v0.21.0 * only use h3
This commit is contained in:
parent
69a44eb283
commit
10a2055163
6 changed files with 16 additions and 12 deletions
|
|
@ -28,7 +28,7 @@ func (d MockDialer) DialContext(ctx context.Context, network, host string,
|
|||
}
|
||||
|
||||
func TestHandshakeSaverSuccess(t *testing.T) {
|
||||
nextprotos := []string{"h3-29"}
|
||||
nextprotos := []string{"h3"}
|
||||
servername := "www.google.com"
|
||||
tlsConf := &tls.Config{
|
||||
NextProtos: nextprotos,
|
||||
|
|
@ -84,7 +84,7 @@ func TestHandshakeSaverSuccess(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestHandshakeSaverHostNameError(t *testing.T) {
|
||||
nextprotos := []string{"h3-29"}
|
||||
nextprotos := []string{"h3"}
|
||||
servername := "wrong.host.badssl.com"
|
||||
tlsConf := &tls.Config{
|
||||
NextProtos: nextprotos,
|
||||
|
|
|
|||
Loading…
Reference in a new issue