Browse Source

looks like these do need to be enabled, hanging on pending sessions:

debug: pending: session: 0x4181d180, handle: 0x0
debug: selecting: inbound , read: sockfd: 1, popfd: 1, write: sockfd: 0
debug: select: 1, read: sockfd: 1, popfd: 0, write: sockfd: 0
debug: pending: session: 0x4181d180, handle: 0x0
debug: selecting: inbound , read: sockfd: 1, popfd: 1, write: sockfd: 0
remotes/client/ssh-main
John-Mark Gurney 3 years ago
parent
commit
6850ed2c2d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      ggatessh/ggatessh.c

+ 3
- 3
ggatessh/ggatessh.c View File

@@ -817,13 +817,13 @@ procreq:
if (gsc_pending != NULL) {
/* we are creating a new session */
if (gsc_pending->sc_session == NULL) {
//didwork = 1;
*didworkp = 1;
gsc_pending->sc_session =
libssh2_sftp_init(session);
}

if (gsc_pending->sc_session != NULL) {
//didwork = 1;
*didworkp = 1;
gsc_pending->sc_handle = libssh2_sftp_open(
gsc_pending->sc_session, "fstest/data.img",
get_open_flags(), 0);
@@ -839,7 +839,7 @@ procreq:
TAILQ_INSERT_HEAD(&session_cache, gsc_pending,
sc_next);
gsc_pending = NULL;
//didwork = 1;
*didworkp = 1;
goto procreq;
}
}


Loading…
Cancel
Save