[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay

Markus Friedl markus at openbsd.org
Fri Nov 16 03:03:30 EST 2001


On Thu, Nov 15, 2001 at 10:38:27AM -0500, Ed Phillips wrote:
> > the only 'fix' for the so called hang-on-exit would be:
> 
> Only fix?

sure. or do you have non-broken code for solaris/linux?

> I'm still not understanding why sshd can't figure out when to close the
> socket that connects back to the client

hein? we are not talking about the client.

> .. is this just the open-ended
> design of the V2 protocol?  Just because there are no sshd children left
> running and no file desriptors left to process,

you are missing the point. there are FDs left.

> sshd still needs to stay
> running?

you did not read the history of this thread, nor the original patch.

when it comes to closing the connection, it's the clients job
(at least in ssh2).

-m



More information about the openssh-unix-dev mailing list