]> err.no Git - varnish/commitdiff
Placed a new sbuf_clear at a more strategic place. It got cluttered when a host left...
authorandersb <andersb@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 3 Aug 2006 23:42:47 +0000 (23:42 +0000)
committerandersb <andersb@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 3 Aug 2006 23:42:47 +0000 (23:42 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@626 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishncsa/varnishncsa.c

index ba22f93b47b4b7bc6d8422f0bdf74a0331f8ef1e..fcd86e71dbd25c16ae38174e28824568596f432a 100644 (file)
@@ -120,6 +120,8 @@ extended_log_format(unsigned char *p, char *w_opt)
                //
                // Have to gather together data in SLT_RxRequest, SLT_RxURL, SLT_RxProtocol
                // to build the request, so I use a sbuf.
+               
+               sbuf_clear(ob[u]);
        
                if (p[1] >= 4 && !strncasecmp((void *)&p[4], "HEAD",4)){
                        sbuf_bcat(ob[u], p + 4, strlen(p + 4));