[Varnish] #1462: ReqURL is emitted twice
Varnish
varnish-bugs at varnish-cache.org
Mon Oct 13 14:14:46 CEST 2014
#1462: ReqURL is emitted twice
--------------------+-----------------------------------------------
Reporter: scoof | Owner: Martin Blix Grydeland <martin@…>
Type: defect | Status: reopened
Priority: normal | Milestone: Varnish 4.0-TP2
Component: build | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------------------------------
Changes (by lkarsten):
* status: closed => reopened
* resolution: fixed =>
Comment:
This new behaviour makes varnishncsa log the wrong value for synth-ed
responses.
Observed behaviour: For the following varnishlog entry, varnishncsa logs
799 as the response status.
Expected result: log the 200 response status set in vcl_synth.
{{{
* << Request >> 5434
- Begin req 164125 rxreq
- Timestamp Start: 1413201790.974362 0.000000 0.000000
- Timestamp Req: 1413201790.974362 0.000000 0.000000
- ReqStart 2001:16d8:ee00:1c1::2 57184
- ReqMethod GET
- ReqURL /rtstatus.json
- ReqProtocol HTTP/1.1
[..]
- Debug "VCL_error(799, OK)"
- VCL_return synth
- ReqUnset Accept-Encoding: gzip,deflate,sdch
- ReqHeader Accept-Encoding: gzip
- VCL_call HASH
- VCL_return lookup
- Timestamp Process: 1413201790.974451 0.000089 0.000089
- RespHeader Date: Mon, 13 Oct 2014 12:03:10 GMT
- RespHeader Server: Varnish
- RespHeader X-Varnish: 5434
- RespProtocol HTTP/1.1
- RespStatus 799
- RespReason Unknown HTTP Status
- RespReason OK
- VCL_call SYNTH
- RespStatus 200
- RespReason OK
- VCL_return deliver
[..]
}}}
{{{
2001:16d8:ee00:1c1::2 - - [13/Oct/2014:14:12:56 +0200] "GET
http://hyse.org/rtstatus.json HTTP/1.1" 799 29345
"http://hyse.org/rtstatus" "Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36"
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1462#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list