Mercurial > hg > nginx
comparison src/http/modules/ngx_http_geo_module.c @ 7847:1336a33cff33
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().
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 24 May 2021 18:23:42 +0300 |
parents | 286ae954009d |
children | ef6a3a99a81a |
comparison
equal
deleted
inserted
replaced
7846:2ab7b55ae4a0 | 7847:1336a33cff33 |
---|