Jakob Borg
e82ed6e3d3
style: gofumpt all the things ( #9829 )
...
Literally `gofumpt -w .` from the top level dir. Guaranteed to be minor
style changes only and nothing else.
@imsodin per request?
2024-11-19 11:32:56 +01:00
greatroar
7c292cc812
lib/connections: Fix and optimize registry ( #7996 )
...
Registry.Get used a full sort to get the minimum of a list, and the sort
was broken because util.AddressUnspecifiedLess assumed it could find out
whether an address is IPv4 or IPv6 from its Network method. However,
net.(TCP|UDP)Addr.Network always returns "tcp"/"udp".
2021-10-06 10:52:51 +02:00
Audrius Butkevicius
f619a7f4cc
lib/connections: Try TCP punchthrough ( fixes #4259 ) ( #5753 )
2020-06-16 09:17:07 +02:00
Audrius Butkevicius
71aecc5cd4
lib/dialer: Bring back address faking connection ( fixes #6289 ) ( #6363 )
2020-02-26 12:37:23 +01:00
Simon Frei
1bae4b7f50
all: Use context in lib/dialer ( #6177 )
...
* all: Use context in lib/dialer
* a bit slimmer
* https://github.com/syncthing/syncthing/pull/5753
* bot
* missed adding debug.go
* errors.Cause
* simultaneous dialing
* anti-leak
2019-11-26 07:39:51 +00:00
Lukas Lihotzki
96bb1c8e29
all, lib/logger: Refactor SetDebug calls ( #6054 )
2019-10-04 13:03:34 +02:00
Jakob Borg
c2ddc83509
all: Revert the underscore sillyness
2019-02-02 12:16:27 +01:00
Jakob Borg
df5c1eaf01
all: Bunch of more linter fixes ( #5500 )
2019-02-02 11:02:28 +01:00
Pawel Palenica
ece1defb2f
lib/dialer: Register dialer for socks URL scheme ( fixes #4515 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4579
2017-12-08 12:04:43 +00:00
Jakob Borg
f7fc0c1d3e
all: Update license url to https (ref #3976 )
2017-02-09 08:04:16 +01:00
Jakob Borg
ac40b27c79
lib/connections: Handle wrapped connection in SetTCPOptions ( fixes #3223 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3225
2016-05-31 08:11:57 +00:00
Audrius Butkevicius
2467678bd4
lib/dialer: Add env var to disable proxy fallback ( fixes #3006 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3009
2016-04-24 16:30:20 +00:00
Audrius Butkevicius
f59e1ad854
Use dialer in relay checks ( fixes #2732 )
2016-01-30 12:33:42 +00:00
Audrius Butkevicius
a4b8c2298a
Add dialer.DialTimeout support
2015-11-26 23:31:37 +00:00