syncthing/lib/connections
Audrius Butkevicius a4f052ad31 lib/connections: Fix connection switching
It seems that it would be impossible to drop down to relay after establishing a direct connection
Also, we should not drop the existing connection until after we've passed the validation steps,
and it seems it's being dropped in two places unnecesserily at the moment.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3480
2016-08-07 12:20:37 +00:00
..
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
limitedreader.go Decouple connections service from model 2015-09-25 12:19:30 -04:00
limitedwriter.go Decouple connections service from model 2015-09-25 12:19:30 -04:00
relay_dial.go lib/connections: TLS handshake must complete in a timely fashion (fixes #3375) 2016-07-02 20:33:31 +00:00
relay_listen.go lib/connections: TLS handshake must complete in a timely fashion (fixes #3375) 2016-07-02 20:33:31 +00:00
service.go lib/connections: Fix connection switching 2016-08-07 12:20:37 +00:00
structs.go lib/config, lib/connections: Refactor handling of ignored devices (fixes #3470) 2016-08-05 09:29:49 +00:00
tcp_dial.go lib/connections: TLS handshake must complete in a timely fashion (fixes #3375) 2016-07-02 20:33:31 +00:00
tcp_listen.go lib/connections: TLS handshake must complete in a timely fashion (fixes #3375) 2016-07-02 20:33:31 +00:00