a little debugging in the main mux process for status confirmation
authordjm <djm@openbsd.org>
Fri, 30 Apr 2021 04:29:53 +0000 (04:29 +0000)
committerdjm <djm@openbsd.org>
Fri, 30 Apr 2021 04:29:53 +0000 (04:29 +0000)
failures in multiplexed sessions

usr.bin/ssh/clientloop.c

index 9fcf12e..68e03b5 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
@@ -688,6 +688,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");