]> git.ipfire.org Git - thirdparty/squid.git/commit
This change should fix bug #1837: Segfault on configuration error
authorrousskov <>
Thu, 12 Apr 2007 20:51:10 +0000 (20:51 +0000)
committerrousskov <>
Thu, 12 Apr 2007 20:51:10 +0000 (20:51 +0000)
commit5cd1125eaafd685d0978387ae3b897bf14c3d645
treee5be14c05b7943af4264c18437a5800f23c0f4a5
parent5dacdf3f23f3a51bf861698e92d0d5b806b37530
This change should fix bug #1837: Segfault on configuration error

When quitting on a fatal error, such as a configuration error, Squid may need
to write clean state/log files. Squid uses comm_ routines to do so. Thus, we
must initialize comm_ before such fatal errors are discovered.

Perhaps a better fix would be to avoid writing clean state/log files until
the old ones become dirty?
src/main.cc