Mailing List Archive

Re: #1028: varnishncsa crashes on %m format with invalid requests
#1028: varnishncsa crashes on %m format with invalid requests
-------------------------+--------------------------------------------------
Reporter: ljorg | Owner: scoof
Type: defect | Status: new
Priority: high | Milestone:
Component: varnishncsa | Version: 3.0.0
Severity: major | Keywords:
-------------------------+--------------------------------------------------

Comment(by ljorg):

Thank you for your reply. %r doesn't pan out here, it seems to confuse our
log analyzer. I'll hold on to the crashing setup (gives a bunch of 2
minute holes in the logging, but otherwise works) until varnishncsa is
fixed for %m

My quotes are escaped correctly, I hope. I showed how varnishncsa is
_running_ in the original post. It's started from an init script with this
option string:

{{{ DAEMON_OPTS="-a -w $logfile -D -P $pidfile -F '%h %l %u %t \"%m %U
%H\" %s %b \"%{Referer}i\" \"%{User-agent}i\"'" }}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1028: varnishncsa crashes on %m format with invalid requests [ In reply to ]
#1028: varnishncsa crashes on %m format with invalid requests
-------------------------+--------------------------------------------------
Reporter: ljorg | Owner: scoof
Type: defect | Status: closed
Priority: high | Milestone:
Component: varnishncsa | Version: 3.0.0
Severity: major | Resolution: fixed
Keywords: |
-------------------------+--------------------------------------------------
Changes (by Andreas Plesner Jacobsen <apj@…>):

* status: new => closed
* resolution: => fixed


Comment:

(In [7a0dc3f78987b37edc927c231a42879915e9f2ac]) Add default values for
some fields when logging imcomplete records.
Allow %r format to log incomplete records too.
Update docs to reflect new defaults

Fixes #1028

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs