]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 5036: capital 'L's in logs when daemon queue overflows (#576)
authorDrDaveD <2129743+DrDaveD@users.noreply.github.com>
Thu, 2 Apr 2020 17:58:10 +0000 (17:58 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 13 Apr 2020 13:53:58 +0000 (01:53 +1200)
commit07e717b1ddd4bbf92bb24ea84a257fd265fd15a0
treede386291e0e53cad1a5552b68bdefa1f5d39c49c
parent4812a34e4226d3209cba9a03f4c30149fb1d0f32
Bug 5036: capital 'L's in logs when daemon queue overflows (#576)

Varying number of capital 'L's have been observed in access logs
written by the daemon module.  The 'L's corresponded with the
cache log message:

  "queue is too large; some log messages have been lost."

This was caused by the fact that the 'L' command byte was
buffered even when the queue was too large to accept messages.

Deferring buffering the command byte until just before the
message itself is buffered.
src/log/ModDaemon.cc