mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add MPTCP support to shadowsocks
This commit is contained in:
parent
3b2e9da212
commit
f7a9a08a9b
18 changed files with 1588 additions and 0 deletions
14
shadowsocks-libev/patches/010-ECONNRESET.patch
Normal file
14
shadowsocks-libev/patches/010-ECONNRESET.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: shadowsocks-libev-3.1.2/src/redir.c
|
||||
===================================================================
|
||||
--- shadowsocks-libev-3.1.2.orig/src/redir.c
|
||||
+++ shadowsocks-libev-3.1.2/src/redir.c
|
||||
@@ -212,7 +212,8 @@ server_recv_cb(EV_P_ ev_io *w, int reven
|
||||
// continue to wait for recv
|
||||
return;
|
||||
} else {
|
||||
- ERROR("server recv");
|
||||
+ if (errno != ECONNRESET)
|
||||
+ ERROR("server recv");
|
||||
close_and_free_remote(EV_A_ remote);
|
||||
close_and_free_server(EV_A_ server);
|
||||
return;
|
Loading…
Add table
Add a link
Reference in a new issue