diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-12-24 15:14:56 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-12-24 16:45:57 +0100 |
commit | 498194f6fc39ce96f17f5002aab7b0aa0a5e6f67 (patch) | |
tree | 80b2d9c1ec6b43fe86aacdf8e0e93c07232966a0 /src/plugins/relay/relay-config.h | |
parent | d5c391b1ee57730ed6f94c3d7ee5661ceaff35f5 (diff) | |
download | weechat-498194f6fc39ce96f17f5002aab7b0aa0a5e6f67.zip |
relay: add zstd compression in weechat protocol
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).
Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
Diffstat (limited to 'src/plugins/relay/relay-config.h')
-rw-r--r-- | src/plugins/relay/relay-config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-config.h b/src/plugins/relay/relay-config.h index d5b9c9372..41d970bf3 100644 --- a/src/plugins/relay/relay-config.h +++ b/src/plugins/relay/relay-config.h @@ -42,7 +42,7 @@ extern struct t_config_option *relay_config_network_allowed_ips; extern struct t_config_option *relay_config_network_auth_timeout; extern struct t_config_option *relay_config_network_bind_address; extern struct t_config_option *relay_config_network_clients_purge_delay; -extern struct t_config_option *relay_config_network_compression_level; +extern struct t_config_option *relay_config_network_compression; extern struct t_config_option *relay_config_network_ipv6; extern struct t_config_option *relay_config_network_max_clients; extern struct t_config_option *relay_config_network_nonce_size; |