diff src/c/fastcgi.c @ 1446:36f7d1debb37

Each context gets its own non-repeating sequence of source numbers
author Adam Chlipala <adam@chlipala.net>
date Sat, 09 Apr 2011 14:36:47 -0400
parents 740e167cd4eb
children 4d0b80dd4c37
line wrap: on
line diff
--- a/src/c/fastcgi.c	Mon Mar 28 10:37:49 2011 -0400
+++ b/src/c/fastcgi.c	Sat Apr 09 14:36:47 2011 -0400
@@ -322,7 +322,7 @@
 static void *worker(void *data) {
   FCGI_Input *in = fastcgi_input();
   FCGI_Output *out = fastcgi_output();
-  uw_context ctx = uw_request_new_context(&uw_application, out, log_error, log_debug);
+  uw_context ctx = uw_request_new_context(*(int *)data, &uw_application, out, log_error, log_debug);
   uw_request_context rc = uw_new_request_context();
   headers hs;
   size_t body_size = 0;