diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2016-11-07 17:31:19 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2016-11-07 17:31:19 -0500 |
commit | 4d37351eab0ea02ca065f4415aa6ac556a8c7820 (patch) | |
tree | 798a20febf7ee8dfe9bb8995f3cd4e0b3f074f4e /demo/increment.ur | |
parent | d5ae848de34109b66d2ec45fd6c0ac5a06149a68 (diff) |
FastCGI: Track request IDs during processing
When processing a FastCGI request, save its request ID in thread-local
storage and respond with the same request ID (rather than hard-coding
1). This fixes FastCGI on picky web servers (nginx). For more
background, see https://github.com/urweb/urweb/issues/57 and ยง3.3 of
the FastCGI specification.
Tested with nginx 1.10.2 and lighttpd 1.4.39.
Closes https://github.com/urweb/urweb/issues/57.
Diffstat (limited to 'demo/increment.ur')
0 files changed, 0 insertions, 0 deletions