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 listening socket. wbr, Valentin V. Bartenev _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx