Commit 2eaa3584 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@2850 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 139db4b7
......@@ -106,7 +106,6 @@ int
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_Reinit(struct http_conn *htc)
htc->pipeline.e = NULL;
}
*htc->rxbuf.e = '\0';
i = htc_header_complete(&htc->rxbuf);
return (i);
return (HTC_Complete(htc));
}
/*--------------------------------------------------------------------
......
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