Skip to content

Instantly share code, notes, and snippets.

@agentzh
Created April 24, 2013 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentzh/5455007 to your computer and use it in GitHub Desktop.
Save agentzh/5455007 to your computer and use it in GitHub Desktop.
bugfix: modifying the Cookie request headers via ngx.req.set_header or ngx.req.clear_header did not update the Nginx internal data structure, r->headers_in.cookies, at the same time, which might cause issues when reading variables $cookie_COOKIE, for example. thanks Matthieu Tourne for the patch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment