commit | 3209b4b6507cb5933bf78df29590a8d3b5954e63 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Sep 16 18:26:23 2020 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Sep 16 18:26:23 2020 +0300 |
tree | 4a9ed1272e9f53575e26aba03ace5a89975688cb | |
parent | 434c87301da38fd685ad7b9541c69ab524d175af [diff] |
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.