From 327604719a6da437fcfa9a8cb1d2f09b2994c6df Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 17 Feb 2021 11:09:16 +0100 Subject: [PATCH] lib/connections: Allow QUIC with Go 1.16 (#7372) --- lib/connections/quic_dial.go | 2 +- lib/connections/quic_listen.go | 2 +- lib/connections/quic_misc.go | 2 +- lib/connections/quic_unsupported.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/connections/quic_dial.go b/lib/connections/quic_dial.go index 79115831d..d502af439 100644 --- a/lib/connections/quic_dial.go +++ b/lib/connections/quic_dial.go @@ -4,7 +4,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at https://mozilla.org/MPL/2.0/. -// +build go1.14,!noquic,!go1.16 +// +build go1.14,!noquic,!go1.17 package connections diff --git a/lib/connections/quic_listen.go b/lib/connections/quic_listen.go index 7691b8dd3..62b40bb99 100644 --- a/lib/connections/quic_listen.go +++ b/lib/connections/quic_listen.go @@ -4,7 +4,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at http://mozilla.org/MPL/2.0/. -// +build go1.14,!noquic,!go1.16 +// +build go1.14,!noquic,!go1.17 package connections diff --git a/lib/connections/quic_misc.go b/lib/connections/quic_misc.go index b4bb640d7..c5e1378db 100644 --- a/lib/connections/quic_misc.go +++ b/lib/connections/quic_misc.go @@ -4,7 +4,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at http://mozilla.org/MPL/2.0/. -// +build go1.14,!noquic,!go1.16 +// +build go1.14,!noquic,!go1.17 package connections diff --git a/lib/connections/quic_unsupported.go b/lib/connections/quic_unsupported.go index 4a000480f..7b1570767 100644 --- a/lib/connections/quic_unsupported.go +++ b/lib/connections/quic_unsupported.go @@ -4,7 +4,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at http://mozilla.org/MPL/2.0/. -// +build noquic !go1.14 go1.16 +// +build noquic !go1.14 go1.17 package connections