syncthing/lib/connections
Jakob Borg e9b68a224c
lib/connections: Handle QUIC not being available (#7186)
This does two things:

- Exclude QUIC from go1.16 builds, automatically, for now, since it
  doesn't work and just panics.

- Provide some fake listeners and dialers when QUIC is disabled.

These fake listeners and dialers indicate that they are disabled and
unsupported, which silences "Dialing $address: unknown address scheme:
quic" type of stuff which is not super helpful to the user.
2020-12-09 19:23:50 +01:00
..
registry lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
connections_test.go lib/connections: Correctly fixup port in IPv6 listen URLs (#6786) 2020-06-22 16:47:15 +01:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
deprecated.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
lan_test.go all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
limiter_test.go all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
limiter.go all: Use protobuf to generate config structs (fixes #6734) (#6900) 2020-08-25 08:11:14 +02:00
quic_dial.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
quic_listen.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
quic_misc.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
quic_unsupported.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
relay_dial.go all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
relay_listen.go all: Implement suture v4-api (#6947) 2020-11-17 13:19:04 +01:00
service.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
structs.go all: Implement suture v4-api (#6947) 2020-11-17 13:19:04 +01:00
tcp_dial.go lib/connections: Try TCP punchthrough (fixes #4259) (#5753) 2020-06-16 09:17:07 +02:00
tcp_listen.go all: Implement suture v4-api (#6947) 2020-11-17 13:19:04 +01:00
util.go lib/connections: Announce LAN addresses by default (fixes #6928) (#6896) 2020-08-25 11:48:14 +02:00