]> git.kaiwu.me - nginx.git/commit
Proper SSL shutdown handling.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 1 Sep 2011 13:49:36 +0000 (13:49 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 1 Sep 2011 13:49:36 +0000 (13:49 +0000)
commita9e3c65d22ad68b994ad7046b243ae459b242ffa
tree2f85abde47a6c502afa67a0e8dfe96fc59dbf8f7
parent09be2f18c55ac403cbc9103f47ea5e5c9e8604fa
Proper SSL shutdown handling.

If connection has unsent alerts, SSL_shutdown() tries to send them even
if SSL_set_shutdown(SSL_RECEIVED_SHUTDOWN|SSL_SENT_SHUTDOWN) was used.
This can be prevented by SSL_set_quiet_shutdown().  SSL_set_shutdown()
is required nevertheless to preserve session.
src/event/ngx_event_openssl.c