1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

relay/api: add automatic reconnection to remote (closes #2166)

New options:

- remote option "autoreconnect_delay"
- relay.api.remote_autoreconnect_delay_growing
- relay.api.remote_autoreconnect_delay_max
This commit is contained in:
Sébastien Helleu
2024-08-11 12:18:28 +02:00
parent fc6811341a
commit a317c785fb
26 changed files with 789 additions and 80 deletions
@@ -56,11 +56,11 @@ TEST_GROUP(RelayRemoteNetworkWithRemote)
/* create two relay remotes */
ptr_relay_remote = relay_remote_new ("remote",
"http://localhost:9000",
"off", NULL, "on",
NULL, "off", NULL, "on",
"secret", "secretbase32");
ptr_relay_remote2 = relay_remote_new ("remote2",
"https://localhost:9001/",
"off", "my_proxy", "off",
"30", "off", "my_proxy", "off",
"secret", "secretbase32");
}