]> git.kaiwu.me - nginx.git/commit
SSL: logging level of "peer closed connection in SSL handshake".
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 4 Jul 2014 18:14:36 +0000 (22:14 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 4 Jul 2014 18:14:36 +0000 (22:14 +0400)
commitd9152910d389a07403bc23da005d8b18894d63a7
treee3245b31926ad8cded6e8446677583bee099f5a2
parent4a75e1a63c5cf3d278c7d7e50e012391b44b5e3c
SSL: logging level of "peer closed connection in SSL handshake".

Previously, the NGX_LOG_INFO level was used unconditionally.  This is
correct for client SSL connections, but too low for connections to
upstream servers.  To resolve this, ngx_connection_error() now used
to log this error, it will select logging level appropriately.

With this change, if an upstream connection is closed during SSL
handshake, it is now properly logged at "error" level.
src/event/ngx_event_openssl.c