]> git.kaiwu.me - nginx.git/commit
Added logging to PROXY protocol write buffer check.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 8 Nov 2022 09:48:19 +0000 (12:48 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 8 Nov 2022 09:48:19 +0000 (12:48 +0300)
commitfbe42d46312a87ee24f9038f26876a95c7abab34
treee94ec8679cd50640b965f1d0c12048984bd36aa0
parent7600ca028644d3ecc7e62499d71bbe21fe3bda0d
Added logging to PROXY protocol write buffer check.

The check is not expected to fail unless there is a bug in the calling
code.  But given the check is here, it should log an alert if it fails
instead of silently closing the connection.
src/core/ngx_proxy_protocol.c