summaryrefslogtreecommitdiff
path: root/demo/increment.ur
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2016-11-07 17:31:19 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2016-11-07 17:31:19 -0500
commit4d37351eab0ea02ca065f4415aa6ac556a8c7820 (patch)
tree798a20febf7ee8dfe9bb8995f3cd4e0b3f074f4e /demo/increment.ur
parentd5ae848de34109b66d2ec45fd6c0ac5a06149a68 (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