Mailing List Archive

r943 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2006-09-07 09:50:48 +0200 (Thu, 07 Sep 2006)
New Revision: 943

Modified:
trunk/varnish-cache/bin/varnishd/cache_response.c
Log:
Logging for status & response was swapped for generated errors.


Modified: trunk/varnish-cache/bin/varnishd/cache_response.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_response.c 2006-09-07 07:33:23 UTC (rev 942)
+++ trunk/varnish-cache/bin/varnishd/cache_response.c 2006-09-07 07:50:48 UTC (rev 943)
@@ -128,9 +128,9 @@
WRK_Reset(sp->wrk, &sp->fd);
sp->wrk->acct.hdrbytes += WRK_Write(sp->wrk, vsb_data(sb), vsb_len(sb));
WRK_Flush(sp->wrk);
- VSL(SLT_TxResponse, sp->id, "%d", code);
+ VSL(SLT_TxStatus, sp->id, "%d", code);
VSL(SLT_TxProtocol, sp->id, "HTTP/1.1");
- VSL(SLT_TxStatus, sp->id, msg);
+ VSL(SLT_TxResponse, sp->id, msg);
vca_close_session(sp, expl);
vsb_delete(sb);
}