[PATCH] Ignore response header entries with zero hash in ngx_http_varaible_headers

agentzh agentzh at gmail.com
Thu Sep 29 19:06:25 UTC 2011


Hello!

I've noticed that the ngx_http_variable_headers function in the nginx
core does not ignore (response) header entries with zero "hash" field,
which may result in incorrect values of nginx variables like
$sent_http_cache_control and the attached patch for nginx 1.1.4
(hopefully) fixes this issue.

Thanks!
-agentzh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-1.1.4-variable_headers_ignore_no_hash.patch
Type: application/octet-stream
Size: 1198 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20110929/6cfd01c0/attachment.obj>


More information about the nginx-devel mailing list