r126 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Thu Apr 6 11:08:13 CEST 2006
Author: phk
Date: 2006-04-06 11:08:13 +0200 (Thu, 06 Apr 2006)
New Revision: 126
Modified:
trunk/varnish-cache/bin/varnishd/cache_httpd.c
Log:
Don't log the terminating NUL on response proto field.
Modified: trunk/varnish-cache/bin/varnishd/cache_httpd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_httpd.c 2006-04-06 08:18:53 UTC (rev 125)
+++ trunk/varnish-cache/bin/varnishd/cache_httpd.c 2006-04-06 09:08:13 UTC (rev 126)
@@ -67,8 +67,8 @@
p = sp->rcv;
while (!isspace(*p))
p++;
+ VSLR(SLT_Protocol, sp->fd, sp->http.proto, p);
*p++ = '\0';
- VSLR(SLT_Protocol, sp->fd, sp->http.proto, p);
/* Next find the status */
while (isspace(*p))
@@ -166,6 +166,7 @@
break;
}
sp->hdr_end = ++p - sp->rcv;
+
event_del(sp->rd_e);
sp->sesscb(sp);
}
@@ -217,5 +218,4 @@
#undef HTTPH
sbuf_cat(sb, "\r\n");
sbuf_finish(sb);
-
}
More information about the varnish-commit
mailing list