aboutsummaryrefslogtreecommitdiff
path: root/src/http/v2/ngx_http_v2.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-09-10 18:57:39 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-09-10 18:57:39 +0300
commit05029e775fb0053e14a0b0b84d0c16f8e5d9d6a8 (patch)
treeb67a8eef1a7630a7910023fc04a552f4a4d0acfd /src/http/v2/ngx_http_v2.c
parentc2f90de0c56866bb4ef0630f89cee7904e687fba (diff)
downloadnginx-05029e775fb0053e14a0b0b84d0c16f8e5d9d6a8.tar.gz
nginx-05029e775fb0053e14a0b0b84d0c16f8e5d9d6a8.zip
SSL: restore handlers after blocking.
It is possible that after SSL_read() will return SSL_ERROR_WANT_WRITE, further calls will return SSL_ERROR_WANT_READ without reading any application data. We have to call ngx_handle_write_event() and switch back to normal write handling much like we do if there are some application data, or the write there will be reported again and again. Similarly, we have to switch back to normal read handling if there is saved read handler and SSL_write() returns SSL_ERROR_WANT_WRITE.
Diffstat (limited to 'src/http/v2/ngx_http_v2.c')
0 files changed, 0 insertions, 0 deletions