]> git.kaiwu.me - nginx.git/commit
Stream: allow servers with no handler.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 27 Jun 2024 13:29:56 +0000 (17:29 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 27 Jun 2024 13:29:56 +0000 (17:29 +0400)
commit788e462c5b81f5f1aee475488e10f01680c530e9
treee4df984b2622e4a5a68c4c2ab7f8bd8870c41e20
parente734df6664e70f118ca3140bcef6d4f1750fa8fa
Stream: allow servers with no handler.

Previously handlers were mandatory.  However they are not always needed.
For example, a server configured with ssl_reject_handshake does not need a
handler.  Such servers required a fake handler to pass the check.  Now handler
absence check is moved to runtime.  If handler is missing, the connection is
closed with 500 code.
src/stream/ngx_stream_core_module.c