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

Varnish varnish-bugs at varnish-cache.org
Thu Jan 14 15:15:15 CET 2016


#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:            |
----------------------+-----------------------------------------------

Comment (by Lasse Karstensen <lkarsten@…>):

 In [6b2cc56eb26da79c08c16dea5e897be3dd34fa05]:
 {{{
 #!CommitTicketReference repository=""
 revision="6b2cc56eb26da79c08c16dea5e897be3dd34fa05"
 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:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list