]> git.kaiwu.me - nginx.git/commit
SSL: disabled shutdown when there are buffered data.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 16 Sep 2020 15:26:25 +0000 (18:26 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 16 Sep 2020 15:26:25 +0000 (18:26 +0300)
commite9a8612c13380beb7b313d3ce50b223abda3f90a
tree789a5674fbb5b8c3ede117db9e49958af45d1487
parentf6c28f93aff7caad3c178d4989b73a6ed3281bcd
SSL: disabled shutdown when there are buffered data.

This fixes "SSL_shutdown() failed (SSL: ... bad write retry)" errors
as observed on the second SSL_shutdown() call after SSL shutdown fixes in
09fb2135a589 (1.19.2), notably when HTTP/2 connections are closed due
to read timeouts while there are incomplete writes.
src/event/ngx_event_openssl.c