Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_writev_chain.c @ 4650:b38fea6f9a15
Fixed returned value handling from the cookie rewrite handler.
If the "proxy_cookie_domain" or "proxy_cookie_path" directive is used and there
are no matches in Set-Cookie header then ngx_http_proxy_rewrite_cookie() returns
NGX_DECLINED to indicate that the header was not rewritten. Returning this value
further from the upstream headers copy handler resulted in 500 error response.
See here for report:
http://mailman.nginx.org/pipermail/nginx/2012-May/033858.html
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 30 May 2012 12:30:03 +0000 |
parents | 089cc5154c1e |
children | f9c83484d9ce |
comparison
equal
deleted
inserted
replaced
4649:95d93f7e6fa2 | 4650:b38fea6f9a15 |
---|