r2850 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Fri Jun 27 14:30:26 CEST 2008
Author: phk
Date: 2008-06-27 14:30:25 +0200 (Fri, 27 Jun 2008)
New Revision: 2850
Modified:
trunk/varnish-cache/bin/varnishd/cache_httpconn.c
Log:
Fix a minor issue in pipelining
Modified: trunk/varnish-cache/bin/varnishd/cache_httpconn.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_httpconn.c 2008-06-27 11:33:29 UTC (rev 2849)
+++ trunk/varnish-cache/bin/varnishd/cache_httpconn.c 2008-06-27 12:30:25 UTC (rev 2850)
@@ -106,7 +106,6 @@
HTC_Reinit(struct http_conn *htc)
{
unsigned l;
- int i;
CHECK_OBJ_NOTNULL(htc, HTTP_CONN_MAGIC);
(void)WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2);
@@ -120,8 +119,7 @@
htc->pipeline.e = NULL;
}
*htc->rxbuf.e = '\0';
- i = htc_header_complete(&htc->rxbuf);
- return (i);
+ return (HTC_Complete(htc));
}
/*--------------------------------------------------------------------
More information about the varnish-commit
mailing list