randy 96/12/17 12:52:14
Modified: src CHANGES http_protocol.c Log: Improve accuracy of request duration timings by setting r->request_time in read_request_line() instead of read_request(). Reviewed by: Randy Terbush Submitted by: Dean Gaudet Revision Changes Path 1.90 +4 -0 apache/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache/src/CHANGES,v retrieving revision 1.89 retrieving revision 1.90 diff -C3 -r1.89 -r1.90 *** CHANGES 1996/12/17 20:42:37 1.89 --- CHANGES 1996/12/17 20:52:11 1.90 *************** *** 1,5 **** --- 1,9 ---- Changes with Apache 1.2b3: + *) Improve the accuracy of request duration timings by setting + r->request_time in read_request_line() instead of read_request(). + [Dean Gaudet] + *) Reset timeout while reading via get_client_block() in mod_cgi.c Fixes problem with timed out transfers of large files. [Rasmus Lerdorf] 1.84 +1 -2 apache/src/http_protocol.c Index: http_protocol.c =================================================================== RCS file: /export/home/cvs/apache/src/http_protocol.c,v retrieving revision 1.83 retrieving revision 1.84 diff -C3 -r1.83 -r1.84 *** http_protocol.c 1996/12/15 15:09:35 1.83 --- http_protocol.c 1996/12/17 20:52:12 1.84 *************** *** 518,523 **** --- 518,524 ---- if (len == (HUGE_STRING_LEN - 1)) return 0; /* Should be a 414 error status instead */ + r->request_time = time(NULL); r->the_request = pstrdup (r->pool, l); r->method = getword_white(r->pool, &ll); uri = getword_white(r->pool, &ll); *************** *** 619,626 **** { request_rec *r = (request_rec *)pcalloc (conn->pool, sizeof(request_rec)); - r->request_time = time(NULL); - r->connection = conn; r->server = conn->server; r->pool = make_sub_pool(conn->pool); --- 620,625 ----