Building nginx with TCP_FASTOPEN enabled

mastercan nginx-forum at nginx.us
Sun Aug 10 13:00:24 UTC 2014


Lukas Tribus Wrote:
>
> Don't upgrade libc because of this (it will mess your system up).
> 
> Just define it manually when compiling nginx by passing it to the
> compiler:
> -DTCP_FASTOPEN=23
> 
> 


Thank you! This seems to define the constant. I simply added
--with-cc-opt="-DTCP_FASTOPEN=23"
to my configure command.

I think this will work (I'm compiling it right now...)

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252447,252462#msg-252462



More information about the nginx mailing list