yggdrasil-go/src/core
Neil 0346af46da
Don't panic when connect returns nil (fixes #1086) (#1089)
* Don't panic when connect returns `nil` (fixes #1086)

It isn't clear to me why this would happen but let's guard the condition anyway.

* Log inconsistent error state

---------

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2023-11-04 18:42:42 +00:00
..
api.go Restore removePeer method 2023-10-22 10:27:41 +01:00
core_test.go Use Go 1.21 in CI, update minimum version to Go 1.20, lint fixes, update quic-go 2023-08-12 18:12:58 +01:00
core.go Fix RetryPeersNow, move startup logging, don't set TUN address if not available 2023-10-22 15:51:30 +01:00
debug.go Remove unnecessary pprof log line 2023-10-22 10:29:19 +01:00
link_quic.go Use Go 1.21 in CI, update minimum version to Go 1.20, lint fixes, update quic-go 2023-08-12 18:12:58 +01:00
link_socks.go Add sockstls:// (#1090) 2023-11-04 17:57:15 +00:00
link_tcp_darwin.go Link refactor (#941) 2022-09-17 20:07:00 +01:00
link_tcp_linux.go Don't set BBR for TCP peerings 2023-09-03 13:30:41 +01:00
link_tcp_other.go Link refactor (#941) 2022-09-17 20:07:00 +01:00
link_tcp.go Remove TLS root validation 2023-10-11 18:25:35 +01:00
link_tls.go Use Go 1.21 in CI, update minimum version to Go 1.20, lint fixes, update quic-go 2023-08-12 18:12:58 +01:00
link_unix.go Use Go 1.21 in CI, update minimum version to Go 1.20, lint fixes, update quic-go 2023-08-12 18:12:58 +01:00
link.go Don't panic when connect returns nil (fixes #1086) (#1089) 2023-11-04 18:42:42 +00:00
nodeinfo.go Fix setting nodeinfo (closes #954) 2022-10-15 15:42:52 +01:00
options_test.go Don't panic at startup when duplicate peers are configured 2023-10-28 21:34:15 +01:00
options.go Don't panic at startup when duplicate peers are configured 2023-10-28 21:34:15 +01:00
pool.go try to cheer up the linter again 2023-05-21 12:49:49 -05:00
proto.go update to ironwood v0.0.0-20230513191034-495699d87ae4 with API changes 2023-05-13 14:44:38 -05:00
tls.go Don't require TLS client certificate 2023-10-15 23:06:10 +01:00
types.go have the core wrap and export the underlying PacketConn, move IPv6 ReadWriteCloser wrapper logic to a separate package 2021-07-05 13:14:12 -05:00
version_test.go Report errors during handshake stage (#1091) 2023-11-04 17:57:04 +00:00
version.go Report errors during handshake stage (#1091) 2023-11-04 17:57:04 +00:00