mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 19:53:46 +00:00
Disable fast_open when it's not supported
This commit is contained in:
@@ -1452,6 +1452,7 @@ main(int argc, char **argv)
|
||||
LOGI("using tcp fast open");
|
||||
#else
|
||||
LOGE("tcp fast open is not supported by this environment");
|
||||
fast_open == 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -1835,6 +1835,7 @@ main(int argc, char **argv)
|
||||
LOGI("using tcp fast open");
|
||||
#else
|
||||
LOGE("tcp fast open is not supported by this environment");
|
||||
fast_open = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user