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


> 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.
>

You're right, child process shuts down parent's socket... I'll try to find
some other solution.

Sergey Okhapkin
Piscataway, NJ



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