Re: i/o in trasparente proxy??

From: Tai Jin <tai@dont-contact.us>
Date: Fri, 27 Mar 1998 16:19:47 -0800

On Mar 27, 5:03pm, Duane Wessels wrote:
> On some systems, EALREADY seems harmless. We can just try again.
> However, on my HP-UX system, connections to certain IP addresses
> will forever loop with the EALREADY erorr. Select always says
> the socket is ready for writing (connecting), but connect() always
> says "operation already in progess". So for HP-UX, I have
> to make EALREADY a fatal error, otherwise the CPU utilization goes
> to 100%. I assume this is a TCP/IP implementation or compatibility
> bug with HP-UX and something else. I have applied patches from
> the HP patch site, but they didn't help.

Why are you calling connect after select returns writable status? That
will always give you an error. Once you get the writable indication,
the connection has been established and you can start sending data.

...tai

-- 
Received on Fri Mar 27 1998 - 16:21:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:28 MST