Commit 917064e9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a minor issue in pipelining



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2850 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 62d4f2c8
...@@ -106,7 +106,6 @@ int ...@@ -106,7 +106,6 @@ int
HTC_Reinit(struct http_conn *htc) HTC_Reinit(struct http_conn *htc)
{ {
unsigned l; unsigned l;
int i;
CHECK_OBJ_NOTNULL(htc, HTTP_CONN_MAGIC); CHECK_OBJ_NOTNULL(htc, HTTP_CONN_MAGIC);
(void)WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2); (void)WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2);
...@@ -120,8 +119,7 @@ HTC_Reinit(struct http_conn *htc) ...@@ -120,8 +119,7 @@ HTC_Reinit(struct http_conn *htc)
htc->pipeline.e = NULL; htc->pipeline.e = NULL;
} }
*htc->rxbuf.e = '\0'; *htc->rxbuf.e = '\0';
i = htc_header_complete(&htc->rxbuf); return (HTC_Complete(htc));
return (i);
} }
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment