diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-29 18:06:25 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-29 18:06:25 +0000 |
commit | 49df9c2db6ec9b211cbcc651c98024a702f7d25b (patch) | |
tree | 97ef9d796079d5fbee6c0426e16a7161215da4c5 /src/http_proxy.c | |
parent | d80d4e366703ed35b87c30e554781058b296095b (diff) | |
download | rspamd-49df9c2db6ec9b211cbcc651c98024a702f7d25b.tar.gz rspamd-49df9c2db6ec9b211cbcc651c98024a702f7d25b.zip |
Add documentation for all workers' options
Diffstat (limited to 'src/http_proxy.c')
-rw-r--r-- | src/http_proxy.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/http_proxy.c b/src/http_proxy.c index 42677b193..b112063e2 100644 --- a/src/http_proxy.c +++ b/src/http_proxy.c @@ -211,7 +211,7 @@ init_http_proxy (struct rspamd_config *cfg) G_STRUCT_OFFSET (struct http_proxy_ctx, timeout), RSPAMD_CL_FLAG_TIME_FLOAT, - NULL); + "IO timeout"); rspamd_rcl_register_worker_option (cfg, type, "rotate", @@ -220,7 +220,8 @@ init_http_proxy (struct rspamd_config *cfg) G_STRUCT_OFFSET (struct http_proxy_ctx, rotate_tm), RSPAMD_CL_FLAG_TIME_FLOAT, - NULL); + "Rotation keys time, default: " + G_STRINGIFY (DEFAULT_ROTATION_TIME) " seconds"); rspamd_rcl_register_worker_option (cfg, type, "keypair", @@ -229,7 +230,7 @@ init_http_proxy (struct rspamd_config *cfg) G_STRUCT_OFFSET (struct http_proxy_ctx, key), 0, - NULL); + "Server's keypair"); rspamd_rcl_register_worker_option (cfg, type, "upstream", @@ -237,7 +238,7 @@ init_http_proxy (struct rspamd_config *cfg) ctx, 0, 0, - NULL); + "List of upstreams"); return ctx; } |