]> git.kaiwu.me - nginx.git/commit
Stream: postpone session initialization under accept mutex.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 6 Sep 2016 18:28:13 +0000 (21:28 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 6 Sep 2016 18:28:13 +0000 (21:28 +0300)
commit87aaac4ac56255dc79f666491144cad2b520944d
tree0411bf4dcd383f7b71fb0e80625221d1ec206f76
parent68a7b9b5a302cf6c93fb7a8aec64c09b98150146
Stream: postpone session initialization under accept mutex.

Previously, it was possible that some system calls could be
invoked while holding the accept mutex.  This is clearly
wrong as it prevents incoming connections from being accepted
as quickly as possible.
src/stream/ngx_stream.h
src/stream/ngx_stream_handler.c