]> err.no Git - varnish/commitdiff
Logging for status & response was swapped for generated errors.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 7 Sep 2006 07:50:48 +0000 (07:50 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 7 Sep 2006 07:50:48 +0000 (07:50 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@943 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_response.c

index df436b4e7e60321a9811f39de0651778b4317438..a386427249ae48d8d360766600a7ee195244cc00 100644 (file)
@@ -128,9 +128,9 @@ RES_Error(struct sess *sp, int code, const char *expl)
        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);
 }