Changeset 30339cdacb492886f0b53769c6346689274bde4d

Show
Ignore:
Timestamp:
05/19/10 03:15:32 (8 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1274238932 +0000
git-parent:

[c2c5ff86b364ed9e378effca4e9532c57b650ee5]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1274238932 +0000
Message:

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)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_http.c

    rd5e874f r30339cd  
    713713  } 
    714714 
    715   /* only dispatch if the response is not complete */ 
    716   if(ctx->res.complete == noit_false) { 
     715  /* only dispatch if the response is not closed */ 
     716  if(ctx->res.closed == noit_false) { 
    717717    noitL(http_debug, "   -> dispatch(%d)\n", e->fd); 
    718718    rv = ctx->dispatcher(ctx);