]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix SEGFAULT parsing malformed adaptation service configuration
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Jun 2016 09:09:57 +0000 (21:09 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Jun 2016 09:09:57 +0000 (21:09 +1200)
commitc120c307e0a1dc2ab8cd0137b49ec57228d03f9f
tree89ac25b95be713b3cc21b736350f55855bf70e99
parentebf76e07ea8e1faae4932ccd032645c3b6e41fda
Fix SEGFAULT parsing malformed adaptation service configuration

icap_service or ecap_service directives with missing field values need to
abort cleanly with an error.

Also, fix config parsing error messages in adaptation service parse to
use "ERROR:" prefix consistent with squid.conf general behaviour.
src/adaptation/ServiceConfig.cc