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
❦ 10 août 2014 07:59 -0400, "mastercan" :
>> Try looking into objs/autoconf.err, it has details about configure
>> test failures. Most likely, the TCP_FASTOPEN constant isn't
>> defined since your glibc isn't recent enough, something like 2.18+
>> is needed.
>>
>
> Yes, you're right. glibc
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
>
Which command accepts the -D flag?
Where exactly do I set this option?
Thanks in advance
Posted at Ngi
> Yes, you're right. glibc was the problem. I tried to build an nginx deb
> package on a development machine with updated glibc libs and installed it
> on the production server.
Don't upgrade libc because of this (it will mess your system up).
Just define it manually when compiling nginx by passi
Maxim Dounin Wrote:
>
> Try looking into objs/autoconf.err, it has details about configure
> test failures. Most likely, the TCP_FASTOPEN constant isn't
> defined since your glibc isn't recent enough, something like 2.18+
> is needed.
>
Yes, you're right. glibc was the problem. I tried to bu
Hello!
On Sat, Aug 09, 2014 at 02:19:32PM -0400, mastercan wrote:
> Hello,
>
> I've tried to use "fastopen" in the listen directive but nginx gave me an
> error that the option is unkown.
>
> I'm using nginx 1.7.4 on Debian Wheezy 3.14.13 kernel.
>
> I've compiled nginx myself.
> When I run th