diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-05-24 18:23:42 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-05-24 18:23:42 +0300 |
commit | 52d0ec7d1799cc67452c32052e96b8cdace0c7b7 (patch) | |
tree | efb199e40ccad7a66c090102cd66f1d6e5110b74 /src/http/ngx_http.c | |
parent | ecbe06b9fee57207d84be9ac39d1aa10b2d0fbd8 (diff) | |
download | nginx-52d0ec7d1799cc67452c32052e96b8cdace0c7b7.tar.gz nginx-52d0ec7d1799cc67452c32052e96b8cdace0c7b7.zip |
Fixed log action when using SSL certificates with variables.
When variables are used in ssl_certificate or ssl_certificate_key, a request
is created in the certificate callback to evaluate the variables, and then
freed. Freeing it, however, updates c->log->action to "closing request",
resulting in confusing error messages like "client timed out ... while
closing request" when a client times out during the SSL handshake.
Fix is to restore c->log->action after calling ngx_http_free_request().
Diffstat (limited to 'src/http/ngx_http.c')
0 files changed, 0 insertions, 0 deletions