Changeset aa2a26950f252650791db1d942c440543fdd3992

Show
Ignore:
Timestamp:
07/10/12 15:19:03 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1341933543 -0400
git-parent:

[5aafe929cf70ac47fd158efa700b0c5c45cd5abb]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1341933543 -0400
Message:

add accessor for response bytes_written

Files:

Legend:

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

    r5aafe92 raa2a269  
    269269noit_boolean noit_http_response_complete(noit_http_response *res) { 
    270270  return res->complete; 
     271} 
     272size_t noit_http_response_bytes_written(noit_http_response *res) { 
     273  return res->bytes_written; 
    271274} 
    272275 
  • src/noit_http.h

    r5aafe92 raa2a269  
    139139API_EXPORT(noit_boolean) 
    140140  noit_http_response_complete(noit_http_response *); 
     141API_EXPORT(size_t) 
     142  noit_http_response_bytes_written(noit_http_response *); 
    141143 
    142144API_EXPORT(void)