Bug in request.headers_out initialization?

Fasihullah Askiri fasihullah.askiri at gmail.com
Wed Nov 23 17:02:27 UTC 2011


Sorry, I am not sure I understood you correctly. It is used in headers_in
for look up into headers_in_hash OK. But what about headers_out?

ngx_http_proxy_process_header parses the upstream response headers
using ngx_http_parse_header_line, thereby setting hash/lowcase_key. This
function sets headers_out which I use. The question I have is, is it safe
to use the headers_out.....lowcase_key, should I check for
headers_out.headers.part.elt[it].hash before I can use lowcase_key or
should I check for something else?

Thank you for your patience and time.
+Fasih
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20111123/1303aa0f/attachment.html>


More information about the nginx-devel mailing list