Re: [users@httpd] Enabling TCP fast open on apache

2013-06-18 Thread Robert Schoultz
Hello Leonas. I _believe_ TCP_FASTOPEN is disabled in the kernel by default. Is it enabled? Try this and see if it helps: echo 1 > /proc/sys/net/ipv4/tcp_fastopen /Rob On Sat, Jun 15, 2013 at 12:43 PM, Leonas Sutkevičius wrote: > Hello, > > I'm trying to enable TCP fast open on Apache server.

[users@httpd] Enabling TCP fast open on apache

2013-06-15 Thread Leonas Sutkevičius
Hello, I'm trying to enable TCP fast open on Apache server. In order to do that I need to tamper with source a bit. Basically I need to insert setsockopt() call between bind() and listen() calls as written in this article http://lwn.net/Articles/508865/ . What I did is I've inserted the following