]> git.ipfire.org Git - thirdparty/squid.git/commit
comm_connect_addr on failures returns Comm:OK
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 9 May 2015 11:51:06 +0000 (04:51 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 9 May 2015 11:51:06 +0000 (04:51 -0700)
commit5973b4be33ee22dc4e8bb01ecc612eb7aaef3937
treec9e0ec2602355cc229087c894118fc7349ccb3cf
parentd558133b394ea8d4e8024588eb6f82312f894373
comm_connect_addr on failures returns Comm:OK

NOTE: regression from bug 4324 patch in rev.13811

The comm_connect_addr on connect failures sets the xerrno to 0
and returns Comm::OK. This is causes problems on ConnOpener
class users which believes the connection is established and
it is ready for use.

 This is a Measurement Factory project
src/comm.cc