[Varnish] #1804: PROXYed client requests does not appear in varnishlog

Varnish varnish-bugs at varnish-cache.org
Tue Oct 27 15:28:42 CET 2015


#1804: PROXYed client requests does not appear in varnishlog
----------------------+-----------------------------------------------
 Reporter:  trygve    |       Owner:  Martin Blix Grydeland <martin@…>
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |  Resolution:  fixed
 Keywords:            |
----------------------+-----------------------------------------------
Changes (by Martin Blix Grydeland <martin@…>):

 * owner:   => Martin Blix Grydeland <martin@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [86b3f9feca54af49ce194f5d6bed9e4dcfa54971]:
 {{{
 #!CommitTicketReference repository=""
 revision="86b3f9feca54af49ce194f5d6bed9e4dcfa54971"
 Log proxy related messages on the session, not on the request.

 The proxy log records were attempted to be logged on the request' log
 buffer, which at that point in time has not yet been set up and does
 not posess a VXID. This caused VXID==0 log records to be inserted in
 the beginning of the log for the first request on the session when
 using proxy protocol, and subsequently the VSL to fail picking them
 out as valid request log transactions.

 Fix by logging the PROXY handling related messages on the session, in
 which they belong.

 Fixes: #1804
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1804#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list