]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: a little debugging in the main mux process for status
authordjm@openbsd.org <djm@openbsd.org>
Fri, 30 Apr 2021 04:29:53 +0000 (04:29 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 30 Apr 2021 04:32:18 +0000 (14:32 +1000)
confirmation failures in multiplexed sessions

OpenBSD-Commit-ID: 6e27b87c95176107597035424e1439c3232bcb49

clientloop.c

index cb3ff8645274a4bee56f91bb957841264023a8bf..7c91104f1c2635a68d9fb896f99ea6bf40c2c783 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.359 2021/03/19 02:22:34 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.360 2021/04/30 04:29:53 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -696,6 +696,8 @@ client_status_confirm(struct ssh *ssh, int type, Channel *c, void *ctx)
                 * their stderr.
                 */
                if (tochan) {
+                       debug3_f("channel %d: mux request: %s", c->self,
+                           cr->request_type);
                        if ((r = sshbuf_put(c->extended, errmsg,
                            strlen(errmsg))) != 0)
                                fatal_fr(r, "sshbuf_put");