Changeset 5aafe929cf70ac47fd158efa700b0c5c45cd5abb

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

[f0c1fee64ea84cdbde9fadce76a39f50b94b2649]

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

add accessor for request start_time

Files:

Legend:

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

    rf0c1fee r5aafe92  
    235235eventer_t noit_http_connection_event(noit_http_connection *conn) { 
    236236  return conn->e; 
     237} 
     238void noit_http_request_start_time(noit_http_request *req, struct timeval *t) { 
     239  memcpy(t, &req->start_time, sizeof(*t)); 
    237240} 
    238241const char *noit_http_request_uri_str(noit_http_request *req) { 
  • src/noit_http.h

    rf0c1fee r5aafe92  
    118118  noit_http_connection_event(noit_http_connection *); 
    119119 
     120API_EXPORT(void) 
     121  noit_http_request_start_time(noit_http_request *, struct timeval *); 
    120122API_EXPORT(const char *) 
    121123  noit_http_request_uri_str(noit_http_request *);