Permalink
Browse files

added the missing bit in commit 40414ca. thanks Edwin Cleton for the …

…report.
  • Loading branch information...
1 parent 6d4d619 commit 6e9dd00bb2327493281ef8c9b454f2bdae66eede @agentzh agentzh committed Dec 22, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/ngx_http_headers_more_headers_out.c
@@ -179,10 +179,7 @@ ngx_http_set_header_helper(ngx_http_request_t *r,
* for a nasty optimization purpose, and
* we have to work-around it here */
- r->headers_out.location->hash =
- ngx_hash(ngx_hash(ngx_hash(ngx_hash(ngx_hash(ngx_hash(
- ngx_hash('l', 'o'), 'c'), 'a'), 't'), 'i'), 'o'), 'n');
-
+ r->headers_out.location->hash = ngx_http_headers_more_location_hash;
ngx_str_set(&r->headers_out.location->key, "Location");
}
#endif

0 comments on commit 6e9dd00

Please sign in to comment.