]> git.kaiwu.me - nginx.git/commit
Core: silenced getsockopt(TCP_FASTOPEN) messages on FreeBSD.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 21 May 2018 20:11:27 +0000 (23:11 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 21 May 2018 20:11:27 +0000 (23:11 +0300)
commit4f9d83d6d7f9651246109aae837a99ea8608f3a7
tree83d36f34277c7f8cac639479d0d0bc26e73a2347
parent6ce439ebde10f618cc78622a8f919c3624767fda
Core: silenced getsockopt(TCP_FASTOPEN) messages on FreeBSD.

FreeBSD returns EINVAL when getsockopt(TCP_FASTOPEN) is called on a unix
domain socket, resulting in "getsockopt(TCP_FASTOPEN) ... failed" messages
during binary upgrade when unix domain listen sockets are present in
the configuration.  Added EINVAL to the list of ignored error codes.
src/core/ngx_connection.c