SSH -R problem

Corinna Vinschen cygwin-patches@cygwin.com
Thu May 2 09:50:00 GMT 2002


On Thu, May 02, 2002 at 11:48:10AM -0400, Pierre A. Humblet wrote:
> Although what you propose is better than nothing, I would not do
> anything until we really understand what's going on.

Ok with me.

> Win98/ME
> 1) CLOSE_WAIT / WSAENOBUFS
>    Application level fix:  fcntl("close on fork")
>    Cygwin level fix:       Corinna's socket/pid bookkeeping
> 
> 2) ssh -R / persisting listen sockets 
>    Application level fix: make socket blocking before close
>    Cygwin level fix:      make socket blocking before close
> 
> 3) Unexpected ssh exit
>    Application level fix:  fcntl("close on fork")
>    Cygwin level fix: (???) do not duplicate "listen" sockets after 
>                            an accept() has succeeded
> 
> 4) Jonathan Kamens, with extra read() hanging while waiting for EOF
>    Application level fix:  shutdown()
>    Cygwin level fix:       Corinna's socket/pid bookkeeping
> 
> NT
> 1) Jonathan Kamens / linger on close hack
>    Application level fix:  shutdown()
>    Cygwin level fix:       Corinna's socket/pid bookkeeping

Thanks for that summary.  It's very helpful.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list