TCP_FASTOPEN is not available by default

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

TCP_FASTOPEN is not available by default


I was disturbed by the problem that the vboxwebsrv was not work on
recent 10.2-STABLE.  It didn't listen on any ports.
The vboxwebsrv is shipped with Virtualbox and it provide a web
I tracked this problem down and found that the gsoap is trying to use
TCP_FASTOPEN then failed.
TCP_FASTOPEN was MFC'ed recently to stable/10 without enabling it in
the kernel build by default.  However, TCP_FASTOPEN is defined in
tcp.h.  So, the gsoap tries to use it then fail.
I've attached the patch for workaround.  It makes gsoap to ignore the
error from setsockopt(TCP_FASTOPEN).


[hidden email]  [hidden email]

[hidden email] mailing list
To unsubscribe, send any mail to "[hidden email]"

gsoap-fastopen.diff (1K) Download Attachment