Bugzilla – Attachment 2565 Details for
Bug 2363
With multiplexing, a forwarding is kept in the list of active forwardings even when it fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Clear failed remove forwardings in remote_forwards list for Mux mode
clear-failed-remote-forwardings.diff (text/plain), 824 bytes, created by
Yoann Ricordel
on 2015-03-10 05:03:17 AEDT
(
hide
)
Description:
Clear failed remove forwardings in remote_forwards list for Mux mode
Filename:
MIME Type:
Creator:
Yoann Ricordel
Created:
2015-03-10 05:03:17 AEDT
Size:
824 bytes
patch
obsolete
>diff --git a/mux.c b/mux.c >index f3faaee..3b2499c 100644 >--- a/mux.c >+++ b/mux.c >@@ -627,6 +627,19 @@ mux_confirm_remote_forward(int type, u_int32_t seq, void *ctxt) > else > xasprintf(&failmsg, "remote port forwarding failed for " > "listen port %d", rfwd->listen_port); >+ >+ debug2("%s: clearing registered forwarding for: listen %d, " >+ "connect %s:%d", __func__, rfwd->listen_port, >+ rfwd->connect_path ? rfwd->connect_path : >+ rfwd->connect_host, rfwd->connect_port); >+ >+ free(rfwd->listen_host); >+ free(rfwd->listen_path); >+ free(rfwd->connect_host); >+ free(rfwd->connect_path); >+ rfwd->listen_host = rfwd->connect_host = NULL; >+ rfwd->listen_path = rfwd->connect_path = NULL; >+ rfwd->listen_port = rfwd->connect_port = 0; > } > fail: > error("%s: %s", __func__, failmsg);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2363
:
2565
|
2594