This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shutdown sockets on exit patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]