Show
Ignore:
Timestamp:
01/26/09 00:34:35 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1232930075 +0000
git-parent:

[c7df82abd064c1843945283eceffb7eb63a27dcd]

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

make http flush fail when things go south, refs #71

Files:

Legend:

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

    r2d89607 rbe05f9f  
    188188noit_http_request_finalize(noit_http_request *req, noit_boolean *err) { 
    189189  int start; 
    190   const char *mstr, *last_name
     190  const char *mstr, *last_name = NULL
    191191  struct bchain *b; 
    192192 
     
    725725    eventer_update(ctx->conn.e, mask); 
    726726  } 
    727   return noit_true; 
     727  /* If the write fails completely, the event will be closed, freed and NULL */ 
     728  return ctx->conn.e ? noit_true : noit_false; 
    728729} 
    729730noit_boolean