Mercurial > hg > nginx
view auto/have_headers @ 9253:a6649497a762
Reset c->log->action on redirect to a named location.
This matches what happens on internal redirects in ngx_http_handler(), and
ensures that stale log actions, such as "sending to client" from the upstream
module, are not used after an error_page redirection to a named location.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 27 Apr 2024 18:18:36 +0300 |
parents | d620f497c50f |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. cat << END >> $NGX_AUTO_HEADERS_H #ifndef $have #define $have 1 #endif END