This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: SSH -R problem
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.