]> err.no Git - varnish/commitdiff
Fix a minor issue in pipelining
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 27 Jun 2008 12:30:25 +0000 (12:30 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 27 Jun 2008 12:30:25 +0000 (12:30 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2850 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_httpconn.c

index 4078f2ec34e2b99550d06fcf48755c675849926b..16bb51211585aed00fa3c015a7cc2af7dcb93def 100644 (file)
@@ -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));
 }
 
 /*--------------------------------------------------------------------