Displaying 3 results from an estimated 3 matches for "client_process_net_input".
2009 Jul 07
1
Read buffer size in clientloop.c
...the write rates.
It occured to me that we talked about this already 3 years ago in a
thread about HPN-SSH, just the performance numbers were different:
http://marc.info/?l=openssh-unix-dev&m=114414372902485&w=2
So the question I have is again this:
Would it be ok to raise the buffers in client_process_net_input() and
client_process_input() to 64K, maybe only on Cygwin? Or to make the
buffer sizes a configurable option?
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
2020 Oct 14
2
Connection hang, can't stop SSH
Using OpenSSH_8.3p1 I had an open (working) connection to some other
box; after a bit of inactivity, some device in the middle seems to have
forgotten about the TCP connection (NAT) and broke it.
I've got an EscapeChar defined, though; so first I tried to send a BREAK
and, when that didn't help (TCP already gone, packets get lost!), I
tried (just out of curiosity) a Rekey.
Now I can see
2010 Jan 14
1
ssh(1) multiplexing rewrite
...ction_out();
max_fd = MAX(connection_in, connection_out);
- if (muxserver_sock != -1)
- max_fd = MAX(max_fd, muxserver_sock);
if (!compat20) {
/* enable nonblocking unless tty */
@@ -1434,12 +1430,6 @@ client_loop(int have_pty, int escape_cha
/* Buffer input from the connection. */
client_process_net_input(readset);
- /* Accept control connections. */
- if (muxserver_sock != -1 &&FD_ISSET(muxserver_sock, readset)) {
- if (muxserver_accept_control())
- quit_pending = 1;
- }
-
if (quit_pending)
break;
@@ -1841,9 +1831,8 @@ client_input_channel_req(int type, u_int
chan_rcv...