You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: fast open is not supported on this platform
Question
Is Debian 12 bookworm support fast open or not ?
I investgated the source code of this project and found :
setfastopen(int fd)
{
int s = 0;
#ifdef TCP_FASTOPEN
if (fast_open) {
#if defined(__APPLE__) || defined(__MINGW32__)
int opt = 1;
#else
int opt = 5;
#endif
s = setsockopt(fd, IPPROTO_TCP, TCP_FASTOPEN, &opt, sizeof(opt));
if (s == -1) {
if (errno == EPROTONOSUPPORT || errno == ENOPROTOOPT) {
LOGE("fast open is not supported on this platform");
fast_open = 0;
} else {
ERROR("setsockopt");
}
}
}
#endif
return s;
}
It seems the system call setsockopt gave the error result ? I guess this is the Debian system problem (?) ...
I run ss-server in docker container BTW.
The text was updated successfully, but these errors were encountered:
What version of shadowsocks-libev are you using?
shadowsocks-libev 3.3.5
What operating system are you using?
What did you do?
Setup a
ss-server
with--fast-open
option.What did you expect to see?
The
ss-server
would enable tcp fast open feature.What did you see instead?
I saw a log:
Question
Is Debian 12 bookworm support fast open or not ?
I investgated the source code of this project and found :
It seems the system call
setsockopt
gave the error result ? I guess this is the Debian system problem (?) ...I run
ss-server
in docker container BTW.The text was updated successfully, but these errors were encountered: