summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-09-10 18:57:19 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-09-10 18:57:19 +0300
commitc2f90de0c56866bb4ef0630f89cee7904e687fba (patch)
tree3027a59a2b01bd6df3acc74ca086496c45ae672d /src/http/ngx_http_request.c
parent278be041ddbd91c28b496ca01213c47cbc96d958 (diff)
downloadnginx-c2f90de0c56866bb4ef0630f89cee7904e687fba.tar.gz
nginx-c2f90de0c56866bb4ef0630f89cee7904e687fba.tar.bz2
SSL: corrected SSL_ERROR_WANT_WRITE / SSL_ERROR_WANT_READ logging.
While SSL_read() most likely to return SSL_ERROR_WANT_WRITE (and SSL_write() accordingly SSL_ERROR_WANT_READ) during an SSL renegotiation, it is not necessary mean that a renegotiation was started. In particular, it can never happen during a renegotiation or can happen multiple times during a renegotiation. Because of the above, misleading "peer started SSL renegotiation" info messages were replaced with "SSL_read: want write" and "SSL_write: want read" debug ones. Additionally, "SSL write handler" and "SSL read handler" are now logged by the SSL write and read handlers, to make it easier to understand that temporary SSL handlers are called instead of normal handlers.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions