From a9d63c44fad31322477b51c11655adfb7002712e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 9 Apr 2011 14:36:47 -0400 Subject: Each context gets its own non-repeating sequence of source numbers --- src/c/fastcgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c/fastcgi.c') diff --git a/src/c/fastcgi.c b/src/c/fastcgi.c index ec1afb8e..161cb834 100644 --- a/src/c/fastcgi.c +++ b/src/c/fastcgi.c @@ -322,7 +322,7 @@ int fastcgi_send_normal(int sock, const void *buf, ssize_t len) { 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; -- cgit v1.2.3