]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug fixes: Multiple bugs in IdleConnList
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 1 Jul 2011 19:30:23 +0000 (22:30 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 1 Jul 2011 19:30:23 +0000 (22:30 +0300)
commit8ea9f7796fbaf5414c5cd7051d2c5e07833ae161
treeb5ee9bd9bc13f20564fdaf87c75388ab2918b14d
parente074e5be72ba6ae3435d4dd259cd49b249984346
Bug fixes: Multiple bugs in IdleConnList

- Inside IdleConnList::removeAt method the last element of the
  IdleConnList::theList_ array initialized with random memory
- Inside IdleConnList::removeAt method if the IdleConnList::parent_ is NULL
  (ICAP connections pools) the size_ of the array is not decreased after
  element removed
- Inside IdleConnList::closeN method, it removes always all elements from the
  list except the first one
src/pconn.cc