]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 2222 part 2: ipv4 client trying to view an ipv6 website crashes FreeBSD squid
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 8 May 2008 03:47:53 +0000 (15:47 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 8 May 2008 03:47:53 +0000 (15:47 +1200)
commit9d92af86a056437fc92c13b968f9beaa0a09aede
tree239c272c50d31348084581a7c015949355c6e415
parentf8f9eafb9142a1b33721b4b59fafcc0f0d9e288c
Bug 2222 part 2: ipv4 client trying to view an ipv6 website crashes FreeBSD squid

This one:
 - omits the v6-specific socket options on new addrinfo
 - correctly counts the failed connection
 - Resets the socket when a protocol error is found
 - retries without any delay
lib/IPAddress.cc
src/comm.cc
src/comm.h