Buffering issues with nginx
Valentin V. Bartenev
vbart at nginx.com
Sun Jul 30 14:15:05 UTC 2017
On Saturday 29 July 2017 22:41:25 Dan34 wrote:
> In nginx docs I see sndbuf option in listen directive.
> Is there something that I don't understand about it, or developers of nginx
> don't understand meaning of sndbuf... but I do not see a point to set sndbuf
> on a listening socket. It just does not make any sense!
> sndbuf/rcvbuf is needed perhaps for an upstream proxy connection, or for a
> connected socket (from outside), but it just have no meaning to set that on
> a listening socket. Total nonsense.
When nginx calls accept(), SO_RCVBUF/SO_SNDBUF options are inherited from the
wbr, Valentin V. Bartenev
More information about the nginx