[Reconnoiter-devel] [reconnoiter commit] r1289 - trunk/src

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Tue May 18 23:15:33 EDT 2010


Author: jesus
Date: 2010-05-18 23:15:32 -0400 (Tue, 18 May 2010)
New Revision: 1289

Modified:
   trunk/src/noit_http.c
Log:
closes #280

The response is "complete" when it has been sent over the network.
However, it is "closed" when the application has written the output
that will be sent.  We want closed, not complete to see if the
dispatcher has completed the response (not the driver)


Modified: trunk/src/noit_http.c
===================================================================
--- trunk/src/noit_http.c	2010-05-13 13:29:06 UTC (rev 1288)
+++ trunk/src/noit_http.c	2010-05-19 03:15:32 UTC (rev 1289)
@@ -712,8 +712,8 @@
     noit_http_process_querystring(&ctx->req);
   }
 
-  /* only dispatch if the response is not complete */
-  if(ctx->res.complete == noit_false) {
+  /* only dispatch if the response is not closed */
+  if(ctx->res.closed == noit_false) {
     noitL(http_debug, "   -> dispatch(%d)\n", e->fd);
     rv = ctx->dispatcher(ctx);
     noitL(http_debug, "   <- dispatch(%d) = %d\n", e->fd, rv);



More information about the Reconnoiter-devel mailing list