This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: shutdown sockets on exit patch
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: Sergey Okhapkin <sos at prospect dot com dot ru>
- Cc: cygwin-patches at sourceware dot cygnus dot com
- Date: Tue, 27 Nov 2001 19:30:31 +0100
- Subject: Re: shutdown sockets on exit patch
- References: <001b01c1776b$0ad3c020$02af6080@cc.telcordia.com>
On Tue, Nov 27, 2001 at 12:43:36PM -0500, Sergey Okhapkin wrote:
> Hi!
>
> The patch attached implements gracefull socket shutdown on application exit.
> Rexecd from inetutils package do not print an annoying message now. Corinna,
> I didn't test the fix with rshd, test it please!
I tried it. Rexecd, rshd, sshd (and scp) seem to work fine but the
following new errors occur now:
- Calling `dir' in an ftp connection to the Windows box works but
after finishing the connection is closed and the message
"421 Service not available, remote server has closed connection."
is printed.
- Connecting from the Windows box to a host using ssh with X11
forwarding activated fails with error
"Write failed: errno ESHUTDOWN triggered"
This is probably due to the child processes calling shutdown on the
socket on exit.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.