Show
Ignore:
Timestamp:
09/11/09 15:05:37 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1252681537 +0000
git-parent:

[7e47bd8ddd24e8c8c76a3f1a7ae94710d5bc4664]

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

remove some debugging, register with the eventer for sane output in the capability set, refs #171

Files:

Legend:

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

    r7e47bd8 r6688159  
    226226  struct bchain *b; 
    227227 
    228 if(req->first_input && req->first_input->size) { 
    229 noitL(noit_error, "HTTP REQ (headers): ===>%.*s<===\n", 
    230 req->first_input->size, req->first_input->buff + req->first_input->start); 
    231 } 
    232228  if(req->state != NOIT_HTTP_REQ_HEADERS) return noit_false; 
    233229  if(!req->current_input) req->current_input = req->first_input; 
     
    443439                                   in->allocd - in->size - in->start, 
    444440                                   &mask, ctx->conn.e); 
    445 noitL(noit_error, "HTTP REQ (drive read %d)\n", len); 
    446441    if(len == -1 && errno == EAGAIN) return mask; 
    447442    if(len <= 0) goto full_error; 
     
    519514      bytes_read += partial_len; 
    520515      if(buf) memcpy(buf+bytes_read, in->buff+in->start, partial_len); 
    521 noitL(noit_error, "HTTP REQ (consume) : ===>%.*s<===\n", 
    522 partial_len, in->buff+in->start); 
    523516      ctx->req.content_length_read += partial_len; 
    524517      in->start += partial_len; 
     
    550543                                      in->allocd - in->size - in->start, 
    551544                                      mask, ctx->conn.e); 
    552 noitL(noit_error, "HTTP REQ (consume read %d)\n", rlen); 
    553545      if(rlen == -1 && errno == EAGAIN) { 
    554546         /* We'd block to read more, but we have data,