[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay
Markus Friedl
markus at openbsd.org
Thu Nov 15 00:49:05 EST 2001
why do you repeat posting this broken patch to the list?
calling shutdown is wrong.
On Wed, Nov 14, 2001 at 12:31:43AM -0000, John Bowman wrote:
> diff -ur openssh-3.0p1/session.c openssh-3.0p1J/session.c
> --- openssh-3.0p1/session.c Sun Oct 28 04:34:53 2001
> +++ openssh-3.0p1J/session.c Tue Nov 13 15:55:52 2001
> @@ -1919,6 +1919,9 @@
> */
> if (c->ostate != CHAN_OUTPUT_CLOSED)
> chan_write_failed(c);
> + if (c->istate == CHAN_INPUT_OPEN && compat20) {
> + chan_shutdown_read(c);
> + }
> s->chanid = -1;
> }
More information about the openssh-unix-dev
mailing list