]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug #212: variable %i always 0.0.0.0
authorserassio <>
Fri, 25 Aug 2006 21:22:34 +0000 (21:22 +0000)
committerserassio <>
Fri, 25 Aug 2006 21:22:34 +0000 (21:22 +0000)
commit2cc81f1f75499bfbcef471fbb58f8ef796ad211b
tree542c2a027810d806bd107cd48f64277d161ce0e0
parent63a0e6b75acf6db1b1885ecaab5e376c9714543f
Bug #212: variable %i always 0.0.0.0

This patch extends errorCon() with a request_t argument, pulling some of the common
details of the request:

  ->request
  ->src_addr

Also cleaned all the duplicated related code.

Some of the 2.6 failing cases was already fixed in 3.0 using
clientBuildError(), but there are many other failing cases now fixed by this
patch.
13 files changed:
src/cache_manager.cc
src/client_side_reply.cc
src/errorpage.cc
src/errorpage.h
src/forward.cc
src/ftp.cc
src/gopher.cc
src/http.cc
src/internal.cc
src/tunnel.cc
src/urn.cc
src/wais.cc
src/whois.cc