You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2002/04/17 07:07:08 UTC

[PATCH] Maybe a fix for WSADuplicate failures?

I was reading this error from the umpteenth news poster about 2.0.35 Win2000
failure...

I have the same problem in installing Apache 2.0.35 on WIndows XP:
[Tue Apr 16 20:39:08 2002] [notice] Parent: Created child process 2628
[Tue Apr 16 20:39:08 2002] [notice] Child 2628: Child process is
running
[Tue Apr 16 20:39:09 2002] [crit] (32538)An operation was attempted on
something that is not a socket.  : Parent: WSADuplicateSocket failed
for socket 3308280.
Check the FAQ.

It occured to me that maybe - if we maintain the handle identity - it might
overcome the "Not a socket" error.

Attached is a patch that doesn't change the socket HANDLE.  Any
objections to at least attempting this? 

Re: [PATCH] Maybe a fix for WSADuplicate failures?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
At 07:51 AM 4/17/2002, Bill Stoddard wrote:
>I have my doubts about this but I don't have a better suggestion... If you 
>have tested
>this on Win2k/NT, lets give it a shot...

Well... early reports indicate some success.  Go figure.  I'll continue to 
watch for
feedback from testers.



> > I was reading this error from the umpteenth news poster about 2.0.35 
> Win2000
> > failure...
> >
> > I have the same problem in installing Apache 2.0.35 on WIndows XP:
> > [Tue Apr 16 20:39:08 2002] [notice] Parent: Created child process 2628
> > [Tue Apr 16 20:39:08 2002] [notice] Child 2628: Child process is
> > running
> > [Tue Apr 16 20:39:09 2002] [crit] (32538)An operation was attempted on
> > something that is not a socket.  : Parent: WSADuplicateSocket failed
> > for socket 3308280.
> > Check the FAQ.
> >
> > It occured to me that maybe - if we maintain the handle identity - it might
> > overcome the "Not a socket" error.
> >
> > Attached is a patch that doesn't change the socket HANDLE.  Any
> > objections to at least attempting this?
>
>
>--------------------------------------------------------------------------------
>
>
> >



Re: [PATCH] Maybe a fix for WSADuplicate failures?

Posted by Bill Stoddard <bi...@wstoddard.com>.
I have my doubts about this but I don't have a better suggestion... If you have tested
this on Win2k/NT, lets give it a shot...

Bill

> I was reading this error from the umpteenth news poster about 2.0.35 Win2000
> failure...
>
> I have the same problem in installing Apache 2.0.35 on WIndows XP:
> [Tue Apr 16 20:39:08 2002] [notice] Parent: Created child process 2628
> [Tue Apr 16 20:39:08 2002] [notice] Child 2628: Child process is
> running
> [Tue Apr 16 20:39:09 2002] [crit] (32538)An operation was attempted on
> something that is not a socket.  : Parent: WSADuplicateSocket failed
> for socket 3308280.
> Check the FAQ.
>
> It occured to me that maybe - if we maintain the handle identity - it might
> overcome the "Not a socket" error.
>
> Attached is a patch that doesn't change the socket HANDLE.  Any
> objections to at least attempting this?


--------------------------------------------------------------------------------


>