Displaying 2 results from an estimated 2 matches for "fd_se".
Did you mean:
fd_set
2006 Apr 22
2
bug & patch in ServerAliveInterval (openssh 4.3-p2)
...is the patch:
diff -rNu openssh-4.3p2/clientloop.c openssh-4.3p2-alive-fixed/clientloop.c
--- openssh-4.3p2/clientloop.c 2005-12-31 07:22:32.000000000 +0200
+++ openssh-4.3p2-alive-fixed/clientloop.c 2006-04-22 19:32:17.000000000 +0300
@@ -456,7 +456,7 @@
client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
int *maxfdp, u_int *nallocp, int rekeying)
{
- struct timeval tv, *tvp;
+ static struct timeval tv, *tvp;
int ret;
/* Add any selections by the channel mechanism. */
@@ -508,12 +508,16 @@
if (options.server_alive_inte...
2010 Jan 14
1
ssh(1) multiplexing rewrite
...buffer_len(&c->input),
c->ostate, buffer_len(&c->output),
- c->rfd, c->wfd, c->ctl_fd);
+ c->rfd, c->wfd, c->ctl_chan);
buffer_append(&buffer, buf, strlen(buf));
continue;
default:
@@ -834,9 +839,6 @@ channel_pre_open(Channel *c, fd_set *rea
FD_SET(c->efd, readset);
}
/* XXX: What about efd? races? */
- if (compat20 && c->ctl_fd != -1 &&
- c->istate == CHAN_INPUT_OPEN && c->ostate == CHAN_OUTPUT_OPEN)
- FD_SET(c->ctl_fd, readset);
}
/* ARGSUSED */
@@ -981,6 +983,26 @@ channe...