search for: mux_client_read_packet

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

2010 Jan 14
1
ssh(1) multiplexing rewrite
...: + continue; + default: + oerrno = errno; + buffer_free(&queue); + errno = oerrno; + return -1; + } + } + if (len == 0) { + buffer_free(&queue); + errno = EPIPE; + return -1; + } + have += (u_int)len; + } + buffer_free(&queue); + return 0; +} + +static int +mux_client_read_packet(int fd, Buffer *m) +{ + Buffer queue; + u_int need, have; + void *ptr; + int oerrno; + + buffer_init(&queue); + if (mux_client_read(fd, &queue, 4) != 0) { + if ((oerrno = errno) == EPIPE) + debug3("%s: read header failed: %s", __func__, strerror(errno)); + errno = oerrno; + re...
2016 Sep 08
3
[Bug 2612] New: Sporadically need to press <ENTER> for multiplexed connection to finish
...ent_request_session: entering debug3: mux_client_request_alive: entering debug3: mux_client_request_alive: done pid = 5485 debug3: mux_client_request_session: session request sent debug1: mux_client_request_session: master session id: 3 <Have to hit ENTER here> debug3: mux_client_read_packet: read header failed: Broken pipe debug2: Received exit status from master 0 I checked out the code (commit 775f8a23f2353f5869003c57a213d14b28e0736e) and, after adding some additional log messages to mux.c, I notice the flow was blocking in mux_client_read(), in the call to poll(): 1428 st...
2016 Aug 17
4
[Portable OpenSSH] hang up during login after OpenSSH 7.3 upgrade
...debug2: channel 1: gc: user detached debug2: channel 1: is dead (local) debug2: channel 1: garbage collecting debug1: channel 1: free: mux-control, nchannels 2 debug3: channel 1: status: The following connections are open: debug2: set_control_persist_exit_time: schedule exit in 60 seconds debug3: mux_client_read_packet: read header failed: Broken pipe debug2: Received exit status from master 0 Asking ssh to stop the mux process: ssh -v -v -v -v -v -v -v username at 10.196.37.55 -O stop OpenSSH_7.2p2, OpenSSL 1.0.2h 3 May 2016 debug1: Reading configuration data /home/mrkiko/.ssh/config debug1: /home/mrkiko/.ssh/c...