diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-03-24 16:36:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-03-24 16:36:43 +0000 |
commit | 4610fcee939fb6646703285d2da3b47a111d58eb (patch) | |
tree | 6b01864ccea44b37e6efc2553691b9e9dc6a1fa8 /src/libserver/cfg_utils.c | |
parent | 47ecc8cf045b157ed8b7f9cc74ba08516ccc6164 (diff) | |
download | rspamd-4610fcee939fb6646703285d2da3b47a111d58eb.tar.gz rspamd-4610fcee939fb6646703285d2da3b47a111d58eb.zip |
[Feature] Update libev to 4.33
Changelog: http://cvs.schmorp.de/libev/Changes?pathrev=rel-4_33
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 7a5da9807..7e04adb97 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -2631,6 +2631,14 @@ rspamd_config_ev_backend_to_string (int ev_backend, gboolean *effective) } if (ev_backend & EVBACKEND_EPOLL) { + if (ev_backend & EVBACKEND_IOURING) { + SET_EFFECTIVE (TRUE); + return "epoll+io_uring"; + } + if (ev_backend & EVBACKEND_LINUXAIO) { + SET_EFFECTIVE (TRUE); + return "epoll+aio"; + } SET_EFFECTIVE (TRUE); return "epoll"; } |