[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    r902 - trunk/varnish-cache/bin/varnishd
From:       phk () projects ! linpro ! no (phk at projects ! linpro ! no)
Date:       2006-08-23 7:29:29
Message-ID: 20060823072929.129C31EC979 () projects ! linpro ! no
[Download RAW message or body]

Author: phk
Date: 2006-08-23 09:29:28 +0200 (Wed, 23 Aug 2006)
New Revision: 902

Modified:
   trunk/varnish-cache/bin/varnishd/cache_response.c
Log:
Fill shmem log with the reply


Modified: trunk/varnish-cache/bin/varnishd/cache_response.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_response.c	2006-08-23 07:22:28 UTC (rev 901)
+++ trunk/varnish-cache/bin/varnishd/cache_response.c	2006-08-23 07:29:28 UTC (rev 902)
@@ -124,7 +124,10 @@
 	WRK_Reset(sp->wrk, &sp->fd);
 	WRK_Write(sp->wrk, vsb_data(sb), vsb_len(sb));
 	WRK_Flush(sp->wrk);
-	vca_close_session(sp, msg);
+	VSL(SLT_TxResponse, sp->id, "%d", code);
+	VSL(SLT_TxProtocol, sp->id, "HTTP/1.1");
+	VSL(SLT_TxStatus, sp->id, msg);
+	vca_close_session(sp, expl);
 	vsb_delete(sb);
 }
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic