]> git.kaiwu.me - nginx.git/commit
SSL: fixed event handling during shutdown.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 16 Sep 2020 15:26:23 +0000 (18:26 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 16 Sep 2020 15:26:23 +0000 (18:26 +0300)
commita1864c25861c8cb0b972815e4cbafcf227c4f8cb
tree4a9ed1272e9f53575e26aba03ace5a89975688cb
parent82cf625ab51dbed91bc38bdbc21ba192df2dd4d4
SSL: fixed event handling during shutdown.

The c->read->ready and c->write->ready flags need to be cleared to ensure
that appropriate read or write events will be reported by kernel.  Without
this, SSL shutdown might wait till the timeout after blocking on writing
or reading even if there is a socket activity.
src/event/ngx_event_openssl.c