httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] cgid on hp-ux - read hangs because shutdown doesn't close
Date Thu, 06 Mar 2003 16:19:39 GMT

On Thu, 6 Mar 2003, Gary Feldman wrote:
> The problem is that the underlying cgi hangs on a read
> from stdin when there is actually no data left to be read.
> I can reduce this to a simple discrepency between HP-UX
> and other platforms, Linux being my example.  On Linux,
> when the socket shutdown(sd, 1) is done by the sender, the
> read on the socket returns with eof.  On HP-UX, this
> doesn't happen until the socket is actually closed.
>
> My code happens to be based on 2.0.40, though I've looked
> at the changes in 2.0.44 and they don't seem relevant
> (the changes are there to catch EINTR, but I don't see
> any way to trigger that).
>
> Any advice would be appreciated.

Sounds like an issue you should bring up on the dev@httpd.apache.org list,
rather than the users list.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message