From: Amos Jeffries Date: Thu, 11 Dec 2008 22:49:52 +0000 (+1300) Subject: Author: Christos Tsantilas X-Git-Tag: SQUID_3_2_0_1~1298 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d98acc00b291ae4ebbf030b7a5682932c3dfb65;p=thirdparty%2Fsquid.git Author: Christos Tsantilas Bug 2545: Segmentation fault when squid with icap server use a cache peer. --- diff --git a/src/icmp/net_db.cc b/src/icmp/net_db.cc index 12928a8e1c..301ed4881a 100644 --- a/src/icmp/net_db.cc +++ b/src/icmp/net_db.cc @@ -1341,6 +1341,8 @@ netdbExchangeStart(void *data) if (p->login) xstrncpy(ex->r->login, p->login, MAX_LOGIN_SZ); + urlCanonical(ex->r); + FwdState::fwdStart(-1, ex->e, ex->r); #endif