]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3130: helpers are crashing too rapidly
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Oct 2012 02:18:50 +0000 (14:18 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Oct 2012 02:18:50 +0000 (14:18 +1200)
commit72e820efb8128e5249fbc41b4d9e11c1affc06ae
treeea6d3ec717066fd2fd812a9d3a84d2af86e30313
parent1f7ba0b4867d6b5a5c42e7925eb6df51fa89f08f
Bug 3130: helpers are crashing too rapidly

As discussed quite many months ago. This reduces the FATAL when helpers
crash/exit to a critical level ERROR have responded with useful reply to
at least one lookup.

The result is that Squid can now cope with helpers written in languages
which cannot loop infinitely. For example; PHP helpers often exit after
a timeout, broken scripts written to respond and exit immediately,
and helpers which encounter some permissions error and respond only with
"ERR" or "BH" results before aborting.
src/helper.cc