From: Amos Jeffries Date: Thu, 11 Dec 2008 23:25:17 +0000 (+1300) Subject: Author: Christos Tsantilas X-Git-Tag: SQUID_3_0_STABLE11~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2e3e7f5eddda33b79b00eac82ed95b10590c177;p=thirdparty%2Fsquid.git Author: Christos Tsantilas Bug 2545: Segmentation fault when squid with icap server use a cache peer. --- diff --git a/src/net_db.cc b/src/net_db.cc index fb8265501b..3129295055 100644 --- a/src/net_db.cc +++ b/src/net_db.cc @@ -1328,6 +1328,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