mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
fix #641
Track the address family of the last failed connection attempt (either immediately or during TLS handshake), then disprefer that address family during reconnection.
This commit is contained in:
parent
50f8791f1e
commit
7d44964dcd
3 changed files with 15 additions and 3 deletions
|
|
@ -168,6 +168,7 @@ server_connect_copy_skeleton(SERVER_CONNECT_REC *src, int connect_info)
|
|||
server_connect_ref(dest);
|
||||
dest->type = module_get_uniq_id("SERVER CONNECT", 0);
|
||||
dest->reconnection = src->reconnection;
|
||||
dest->last_failed_family = src->last_failed_family;
|
||||
dest->proxy = g_strdup(src->proxy);
|
||||
dest->proxy_port = src->proxy_port;
|
||||
dest->proxy_string = g_strdup(src->proxy_string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue