]> git.kaiwu.me - nginx.git/commit
Fixed: some of $sent_http_* variables may contain header entries that actually
authorValentin Bartenev <vbart@nginx.com>
Fri, 9 Dec 2011 16:17:12 +0000 (16:17 +0000)
committerValentin Bartenev <vbart@nginx.com>
Fri, 9 Dec 2011 16:17:12 +0000 (16:17 +0000)
commit8d3ef1a3b320f786d06170d5831555aa3910de64
tree938996a01c69cac0f4fe1b51d7e6488a6a4d2d32
parentfd87f1b7906120b81dba06558d73ed492f2a230f
Fixed: some of $sent_http_* variables may contain header entries that actually
haven't been sent to a client.

The ngx_http_variable_headers() and ngx_http_variable_unknown_header() functions
did not ignore response header entries with zero "hash" field.

Thanks to Yichun Zhang (agentzh).
src/http/ngx_http_variables.c