diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-11-28 16:57:50 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-11-28 16:57:50 +0300 |
commit | 7fa89c744afd1f05f4405d9a60b8c63a65ea56cc (patch) | |
tree | d86d628420262af825826e404d6d4194d5c061a5 /src/http/ngx_http_request.c | |
parent | d228fa5093e216465810c8a7b34284e84682622e (diff) | |
download | nginx-7fa89c744afd1f05f4405d9a60b8c63a65ea56cc.tar.gz nginx-7fa89c744afd1f05f4405d9a60b8c63a65ea56cc.zip |
Fixed post_action to not trigger "header already sent" alert.
The alert was introduced in 03ff14058272 (1.5.4), and was triggered on each
post_action invocation.
There is no real need to call header filters in case of post_action,
so return NGX_OK from ngx_http_send_header() if r->post_action is set.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions