nginx mss patch

Igor Sysoev igor at sysoev.ru
Thu Jun 9 11:20:28 MSD 2011


On Thu, Jun 09, 2011 at 01:10:00PM +0800, Joshua Zhu wrote:
> Hi,
> 
> Just out of curiosity, could you please provide some context, i.e. in what
> circumstance do you have to change the TCP MSS or the benefit? After all,
> there're TCP path MTU discovery mechanisms already.
> 
> As for the patch itself, I don't think it's a good idea to set the default
> value of mss to 1024, since it will punish those who don't want this
> feature. BTW, the TCP_MAXSEG option is not supported by all OS vendors, so
> you should test it first (in auto/os/features).

Yes, the default TCP_MAXSEG value should not be set, and
should be handled like rcvbuf or sndbuf option.


-- 
Igor Sysoev



More information about the nginx mailing list