Displaying 1 result from an estimated 1 matches for "mux_confirm_remote_forward".
2015 Mar 09
10
[Bug 2363] New: With multiplexing, a forwarding is kept in the list of active forwardings even when it fails
...l result: the shell gets a zero exit code
* What happens:
- During the call 3), the port forwarding is requested to the
server, and the forwarding is added to the configuration (calling
add_remote_forward(&options, &fwd) at mux.c:786)
- when the forwarding fails, which we know in
mux_confirm_remote_forward(), this forwarding is not cleared from the
list
- when calling 4), some call to compare_forward(&fwd,
options.remote_forwards + i) (at mux.c:741) returns true, hence
process_mux_open_fwd() returns with success, and in the end, 0 is
returned to the shell.
* Proposed fix:
When we learn...