You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mt...@apache.org on 2004/10/31 17:21:20 UTC
cvs commit: httpd-2.0/modules/proxy proxy_http.c
mturk 2004/10/31 08:21:20
Modified: modules/proxy proxy_http.c
Log:
Remove double calculation of tranfered bytes to backend.
Revision Changes Path
1.201 +0 -1 httpd-2.0/modules/proxy/proxy_http.c
Index: proxy_http.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -r1.200 -r1.201
--- proxy_http.c 26 Sep 2004 06:56:24 -0000 1.200
+++ proxy_http.c 31 Oct 2004 16:21:19 -0000 1.201
@@ -487,7 +487,6 @@
apr_brigade_length(header_brigade, 0, &transfered);
if (transfered != -1)
conn->worker->s->transfered += transfered;
- conn->worker->s->transfered += transfered;
if (send_chunks) {
status = ap_pass_brigade(origin->output_filters, header_brigade);