aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-20 16:59:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-20 20:45:22 +0000
commitdc09c49cad817ea3ef9616a7e40f920aff63b1a7 (patch)
tree6cced82647ca4077f7a53dd7c37fd065d9d5f133 /src/worker_private.h
parent647adeec7fedbac5c39731a67f2b284b2d93090c (diff)
downloadrspamd-dc09c49cad817ea3ef9616a7e40f920aff63b1a7.tar.gz
rspamd-dc09c49cad817ea3ef9616a7e40f920aff63b1a7.zip
[Feature] Allow to require encryption when accepting connections
Diffstat (limited to 'src/worker_private.h')
-rw-r--r--src/worker_private.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/worker_private.h b/src/worker_private.h
index fe4a6c4b3..f07a95b41 100644
--- a/src/worker_private.h
+++ b/src/worker_private.h
@@ -40,12 +40,8 @@ struct rspamd_worker_ctx {
struct timeval io_tv;
/* Detect whether this worker is mime worker */
gboolean is_mime;
- /* HTTP worker */
- gboolean is_http;
- /* JSON output */
- gboolean is_json;
- /* Allow learning through worker */
- gboolean allow_learn;
+ /* Allow encrypted requests only using network */
+ gboolean encrypted_only;
/* Limit of tasks */
guint32 max_tasks;
/* Maximum time for task processing */