Audrius Butkevicius
fb7264a663
cmd/syncthing: Enable KCP by default
...
Also, use upstream library, as my changes have been merged.
2017-10-17 23:17:10 +01:00
Audrius Butkevicius
9e6a1fdcd4
vendor: Update kcp, removes closeConn ( fixes #4343 )
2017-09-02 16:11:48 +02:00
Audrius Butkevicius
cbcc3ea132
lib/connections: Use our own fork of kcp ( fixes #4063 )
...
This updates kcp and uses our own fork which:
1. Keys sessions not just by remote address, but by remote address +
conversation id 2. Allows not to close connections that were passed directly
to the library. 3. Resets cache key if the session gets terminated.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4339
LGTM: calmh
2017-09-02 06:04:35 +00:00
Audrius Butkevicius
51518490c6
lib/connections: Fix KCP from locking up the service ( fixes #4072 )
2017-05-21 22:16:21 +02:00
Audrius Butkevicius
ceea5ebeb3
lib/connections, vendor: Change KCP mux to SMUX
...
Closes #4032
2017-03-09 14:03:09 +01:00
Jakob Borg
b3e2665a79
vendor: Update github.com/xtaci/kcp
2017-03-07 14:29:21 +01:00
Jakob Borg
81af29e3e2
lib/config, lib/connections: Configurables for KCP, disable by default
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4030
2017-03-07 12:55:50 +00:00
Audrius Butkevicius
0da0774ce4
lib/connections: Add KCP support ( fixes #804 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3489
2017-03-07 12:44:16 +00:00