[tolj@wapme-systems.de: Re: Problem with accept?!! (was: Re: apache cygwin package hangs when MaxRequestsPerChild reached!)]

Christopher Faylor cgf@redhat.com
Mon Jun 2 18:36:00 GMT 2003

On Mon, Jun 02, 2003 at 07:55:50PM +0200, Corinna Vinschen wrote:
>On Mon, Jun 02, 2003 at 01:18:25PM +0200, Corinna Vinschen wrote:
>>     Duplicated sockets all share the same event handler.
>> [...]
>> As a starting point I'm now throwing some fuel in here:  What about
>> running accept and connect in another thread which can be terminated
>> using TerminateThread if a signal arrives?
>I've applied a patch which implements blocking accept and connect now
>using threads.  All my tests worked (ssh, ftp, telnet rlogin, rsh,
>fake server and client to test interrupting the blocking calls) but
>nevertheless I'd appreciate if somebody takes a heart and gives that
>stuff also a thorough testing.
>Chris, could you trigger a new snapshot?  I'd like to have Stipe and
>friends testing this with apache.

I've triggered a new snapshot but I noticed that you are using the same
technique that I'm using for pipes which is known to leak memory, if not
resources.  I hope the cure here isn't worse than the disease.


More information about the Cygwin-developers mailing list