From 49df9c2db6ec9b211cbcc651c98024a702f7d25b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 29 Dec 2015 18:06:25 +0000 Subject: Add documentation for all workers' options --- src/http_proxy.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/http_proxy.c') 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; } -- cgit v1.2.3