httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Re: Browser access to Apache on W2k hangs.
Date Tue, 21 Oct 2003 12:49:41 GMT
Llelan D wrote:
> > Does it go something like this:
> > 1. Hits if(!context), gets context and continues
> > 2. Hits if(context->accept_socket == INVALID_SOCKET), and gets one
> > 3. AcceptEx() fails.
> > 4. rv == APR_FROM_OS_ERROR(WSANOTSOCK) is true, so it
> >    close the socket, and set it to INVALID_SOCKET, and continues
> > 5. Goto 2
>
> Bingo, except 5 goes back to the the top of the while loop, before 1, via
the
> continue statement.

Yes, perhaps the list was misleading. Even though it, of course, starts at
the top of the while(), I didn't think that it "hits" [1] (gets context) in
the second iteration, right?

> As I said, I compiled in some getsockopt() calls and found both sockets to
> be valid (SO_ERROR == 0) and the listener to be listening
> (SO_ACCEPTCONN == TRUE).

I guess it doesn't really matter, but I meant the actual value it held, but
nevermind.

Regards,
Robert Andersson


---------------------------------------------------------------------
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