Changeset 4875b632fd0965e70971bc95ac74d34e16efbce7

Show
Ignore:
Timestamp:
05/22/10 19:01:16 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1274554876 +0000
git-parent:

[55b34718cb0e6012c3fd901d6184423acd5f07f4]

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

make sure we can't close an fd without calling drive.. this removes one from write and makes the one in complete_request inaccessible by making the function static, refs #281

Files:

Legend:

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

    rfa84adf r4875b63  
    269269    /* socket error */ 
    270270    noit_http_log_request(ctx); 
    271     ctx->conn.e->opset->close(ctx->conn.e->fd, mask, ctx->conn.e); 
    272     ctx->conn.e = NULL; 
     271    *mask |= EVENTER_EXCEPTION; 
    273272    return -1; 
    274273  } 
     
    491490  return noit_false; 
    492491} 
    493 int 
     492static int 
    494493noit_http_complete_request(noit_http_session_ctx *ctx, int mask) { 
    495494  struct bchain *in;