diff options
author | Jakob Borg <jakob@kastelo.net> | 2021-02-17 11:09:16 +0100 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2021-02-17 11:17:45 +0100 |
commit | 35316e91426c59df3fe4ac06a73de352a4964bd1 (patch) | |
tree | e5d1a22a37ad9103a007a9916c325ecfef590066 | |
parent | 2a0775da03024aeaa6d2f59767f4a3bd17709de3 (diff) | |
download | syncthing-next-rel.tar.gz syncthing-next-rel.zip |
lib/connections: Allow QUIC with Go 1.16 (#7372)next-rel
-rw-r--r-- | lib/connections/quic_dial.go | 2 | ||||
-rw-r--r-- | lib/connections/quic_listen.go | 2 | ||||
-rw-r--r-- | lib/connections/quic_misc.go | 2 | ||||
-rw-r--r-- | 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 |