search for: chan_ibuf_empty

Displaying 3 results from an estimated 3 matches for "chan_ibuf_empty".

2002 Feb 05
0
New forkoff() and chan_wont_read/write() API
...5 Feb 2002 11:25:25 -0500 willian (OpenSSH/i/40_nchan.c 1.1.1.4 644) @@ -66,10 +66,12 @@ /* events concerning the INPUT from socket for channel (istate) */ chan_event_fn *chan_rcvd_oclose = NULL; chan_event_fn *chan_read_failed = NULL; +chan_event_fn *chan_wont_read = NULL; chan_event_fn *chan_ibuf_empty = NULL; /* events concerning the OUTPUT from channel for socket (ostate) */ chan_event_fn *chan_rcvd_ieof = NULL; chan_event_fn *chan_write_failed = NULL; +chan_event_fn *chan_wont_write = NULL; chan_event_fn *chan_obuf_empty = NULL; /* * ACTIONS: should never update the channel sta...
2007 Mar 23
7
4.6p1 chan_read_failed error
The 4.6p1 sshd is logging this error during remote commands or file transfers: error: channel 0: chan_read_failed for istate 3 Platform is Solaris 8, 4.6p1 + OpenSSL 0.9.8d. The commands and transfers work correctly, so the error message appears to be spurious. The error message does not appear when processing logins. Otherwise 4.6p1 is running without any apparent problems. This error
2010 Jan 14
1
ssh(1) multiplexing rewrite
...eadset, fd_set *writeset) +{ + if (c->istate == CHAN_INPUT_OPEN && + buffer_check_alloc(&c->input, CHAN_RBUF)) + FD_SET(c->rfd, readset); + if (c->istate == CHAN_INPUT_WAIT_DRAIN) { + /* clear buffer immediately - partial packet */ + buffer_clear(&c->input); + chan_ibuf_empty(c); + } + if (c->ostate == CHAN_OUTPUT_OPEN || + c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { + if (buffer_len(&c->output) > 0) + FD_SET(c->wfd, writeset); + else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) + chan_obuf_empty(c); + } +} + /* try to decode a socks4 header */...