]> git.kaiwu.me - nginx.git/commit
Control API: log errors from accepted socket setup
authorOskar Eichler <62393985+OskarEichler@users.noreply.github.com>
Fri, 4 Sep 2026 15:52:07 +0000 (22:52 +0700)
committerAleksei Bavshin <a.bavshin@f5.com>
Thu, 15 Oct 2026 15:07:43 +0000 (08:07 -0700)
commit1f214f4158d2bd1a06f09cfbd4b017c0aceb2229
tree4a2961f7c690dcd13111bc3e7e455e6778efccb6
parent1f868497b7fb574c7fbc8589987430dacc1521ad
Control API: log errors from accepted socket setup

Accepted control connections discarded errno when setting close-on-exec,
nonblocking I/O, or signal ownership. The error log identified the failed
fcntl() operation but omitted the operating system reason.

Pass ngx_socket_errno to the three error logs, consistently with listener
setup and inherited socket handling.
src/os/unix/ngx_control.c