TCP_FASTOPEN is not available by default

Hajimu UMEMOTO ume at FreeBSD.org
Mon Feb 22 07:54:34 UTC 2016


Hi,

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
interface.
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).

Sincerely,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsoap-fastopen.diff
Type: text/x-patch
Size: 1773 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160222/28a91e63/attachment.bin>
-------------- next part --------------

--
Hajimu UMEMOTO
ume at mahoroba.org  ume at FreeBSD.org
http://www.mahoroba.org/~ume/


More information about the freebsd-ports mailing list