- djm@cvs.openbsd.org 2013/04/05 00:58:51
[mux.c] cleanup mux-created channels that are in SSH_CHANNEL_OPENING state too (in addition to ones already in OPEN); bz#2079, ok dtucker@
This commit is contained in:
parent
9f12b5dcd5
commit
172859cff7
|
@ -32,6 +32,10 @@
|
|||
[pathnames.h]
|
||||
use the existing _PATH_SSH_USER_RC define to construct the other
|
||||
pathnames; bz#2077, ok dtucker@ (no binary change)
|
||||
- djm@cvs.openbsd.org 2013/04/05 00:58:51
|
||||
[mux.c]
|
||||
cleanup mux-created channels that are in SSH_CHANNEL_OPENING state too
|
||||
(in addition to ones already in OPEN); bz#2079, ok dtucker@
|
||||
|
||||
20130418
|
||||
- (djm) [config.guess config.sub] Update to last versions before they switch
|
||||
|
|
5
mux.c
5
mux.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: mux.c,v 1.38 2013/01/02 00:32:07 djm Exp $ */
|
||||
/* $OpenBSD: mux.c,v 1.39 2013/04/05 00:58:51 djm Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
|
||||
*
|
||||
|
@ -219,7 +219,8 @@ mux_master_control_cleanup_cb(int cid, void *unused)
|
|||
__func__, c->self, c->remote_id);
|
||||
c->remote_id = -1;
|
||||
sc->ctl_chan = -1;
|
||||
if (sc->type != SSH_CHANNEL_OPEN) {
|
||||
if (sc->type != SSH_CHANNEL_OPEN &&
|
||||
sc->type != SSH_CHANNEL_OPENING) {
|
||||
debug2("%s: channel %d: not open", __func__, sc->self);
|
||||
chan_mark_dead(sc);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue