diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-14 12:39:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-14 12:39:56 +0100 |
commit | 8fd0795feffdde4dd3a9f2fbe8c6ba517be370bf (patch) | |
tree | f03452c979e1f630137d83340fbfb1a6d185c5fb /src/lua_worker.c | |
parent | 1453b09a9885edc0a8aa99d728c01bc96db5bb86 (diff) | |
download | rspamd-8fd0795feffdde4dd3a9f2fbe8c6ba517be370bf.tar.gz rspamd-8fd0795feffdde4dd3a9f2fbe8c6ba517be370bf.zip |
[Feature] Rework listening system to allow multiple socket types per worker
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r-- | src/lua_worker.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c index 87f597e28..df6970efa 100644 --- a/src/lua_worker.c +++ b/src/lua_worker.c @@ -39,12 +39,12 @@ gpointer init_lua_worker (struct rspamd_config *cfg); void start_lua_worker (struct rspamd_worker *worker); worker_t lua_worker = { - "lua", /* Name */ - init_lua_worker, /* Init function */ - start_lua_worker, /* Start function */ + "lua", /* Name */ + init_lua_worker, /* Init function */ + start_lua_worker, /* Start function */ RSPAMD_WORKER_HAS_SOCKET | RSPAMD_WORKER_KILLABLE, - SOCK_STREAM, /* TCP socket */ - RSPAMD_WORKER_VER /* Version info */ + RSPAMD_WORKER_SOCKET_TCP, /* TCP socket */ + RSPAMD_WORKER_VER /* Version info */ }; static const guint64 rspamd_lua_ctx_magic = 0x8055e2652aacf96eULL; |