Re: /bzr/squid3/trunk/ r8912: Attempted fix for FreeBSD run-time socket error "(22) Invalid Object" on connects

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Thu, 03 Apr 2008 10:02:30 -0600

On Thu, 2008-04-03 at 08:56 -0600, Alex Rousskov wrote:

> I am not sure at all, but it feels like you are missing some #includes
> in the test cases.

Adding #include <netinet/in.h> to test cases would give you:

> configure:23105: checking for ss_len field in struct sockaddr_storage
> configure:23159: result: yes
> configure:23175: checking for sin_len field in struct sockaddr_in
> configure:23229: result: yes
> configure:23245: checking for sin6_len field in struct sockaddr_in6
> configure:23299: result: yes

but the problem remains even with those fixed ./configure results:

> 2008/04/03 09:57:59.122| ConnectSateData::connect: to 10.0.0.104:1344
> 2008/04/03 09:57:59.122| comm_connect_addr: connecting socket 8 to 10.0.0.104:1344 (want family: 2)
> 2008/04/03 09:57:59.122| comm_connect_addr: sock=8, addrinfo( , family=2, addrlen=128 )
> 2008/04/03 09:57:59.122| connect FD 8: (-1) (22) Invalid argument
> 2008/04/03 09:57:59.122| connecting to: 10.0.0.104:1344
> 2008/04/03 09:57:59.122| ConnectStateData::connect: FD 8: * - try again
> 2008/04/03 09:57:59.122| ConnectStateData::connect: FD 8: * - ERR tried too many times already.
> 2008/04/03 09:57:59.122| commConnectCallback: FD 8

HTH,

Alex.
Received on Thu Apr 03 2008 - 10:02:38 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT