mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
24ffd8be99
This avoids waiting until next ping and timeout until the connection is actually closed both by notifying the peer of the disconnect and by immediately closing the local end of the connection after that. As a nice side effect, info level logging about dropped connections now have the actual reason in it, not a generic timeout error which looks like a real problem with the connection. |
||
---|---|---|
.. | ||
config.go | ||
connections_test.go | ||
debug.go | ||
deprecated.go | ||
lan_test.go | ||
limiter_test.go | ||
limiter.go | ||
relay_dial.go | ||
relay_listen.go | ||
service.go | ||
structs.go | ||
tcp_dial.go | ||
tcp_listen.go | ||
util.go |