Commit a15219cd authored by Anders Berg's avatar Anders Berg

Placed a new sbuf_clear at a more strategic place. It got cluttered when a...

Placed a new sbuf_clear at a more strategic place. It got cluttered when a host left without SessionClose of SessionReuse.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@626 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6102c13e
......@@ -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));
......
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