commit c20b2f1: Merge pull request #2931 from rspamd/libev-migration

GitHub noreply at github.com
Sat Jun 22 12:15:02 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-06-22 13:13:41 +0100
URL: https://github.com/rspamd/rspamd/commit/c20b2f1b973a01590855af6dd384a320ad8773e5 (HEAD -> master)

Merge pull request #2931 from rspamd/libev-migration
[Project] Migrate to libev

 CMakeLists.txt                               |   62 +-
 config.h.in                                  |    2 -
 contrib/cdb/cdb.h                            |    9 +-
 contrib/cdb/cdb_init.c                       |   47 +-
 contrib/hiredis/adapters/libev.h             |  147 +
 contrib/libev/CMakeLists.txt                 |   73 +
 contrib/libev/Changes                        |  529 +++
 contrib/libev/LICENSE                        |   37 +
 contrib/libev/config.h.in                    |  104 +
 contrib/libev/ev++.h                         |  816 ++++
 contrib/libev/ev.c                           | 5174 ++++++++++++++++++++++++++
 contrib/libev/ev.h                           |  839 +++++
 contrib/libev/ev_epoll.c                     |  285 ++
 contrib/libev/ev_kqueue.c                    |  218 ++
 contrib/libev/ev_poll.c                      |  151 +
 contrib/libev/ev_port.c                      |  189 +
 contrib/libev/ev_select.c                    |  316 ++
 contrib/libev/ev_vars.h                      |  204 +
 contrib/libev/ev_win32.c                     |  162 +
 contrib/libev/ev_wrap.h                      |  200 +
 contrib/librdns/punycode.c                   |   16 +-
 contrib/librdns/rdns_ev.h                    |    2 +-
 src/CMakeLists.txt                           |    9 +-
 src/client/rspamc.c                          |   29 +-
 src/client/rspamdclient.c                    |   16 +-
 src/client/rspamdclient.h                    |    4 +-
 src/controller.c                             |  157 +-
 src/fuzzy_storage.c                          | 1650 ++------
 src/hs_helper.c                              |   32 +-
 src/libcryptobox/curve25519/base_constants.h |    2 +-
 src/libcryptobox/curve25519/ref.c            |   16 +-
 src/libcryptobox/keypairs_cache.c            |    2 +-
 src/libserver/CMakeLists.txt                 |    2 +-
 src/libserver/{events.c => async_session.c}  |    2 +-
 src/libserver/{events.h => async_session.h}  |    6 +-
 src/libserver/dkim.h                         |    2 +-
 src/libserver/dns.c                          |   13 +-
 src/libserver/dns.h                          |    6 +-
 src/libserver/fuzzy_backend.c                |   37 +-
 src/libserver/fuzzy_backend.h                |    6 +-
 src/libserver/fuzzy_backend_redis.c          |  100 +-
 src/libserver/milter.c                       |   32 +-
 src/libserver/milter.h                       |    7 +-
 src/libserver/milter_internal.h              |    9 +-
 src/libserver/monitored.c                    |   37 +-
 src/libserver/monitored.h                    |    4 +-
 src/libserver/protocol.c                     |    9 +-
 src/libserver/protocol.h                     |    2 +-
 src/libserver/redis_pool.c                   |   38 +-
 src/libserver/redis_pool.h                   |    4 +-
 src/libserver/roll_history.c                 |   10 +-
 src/libserver/roll_history.h                 |    2 +-
 src/libserver/rspamd_control.c               |  164 +-
 src/libserver/rspamd_control.h               |    8 +-
 src/libserver/rspamd_symcache.c              |   73 +-
 src/libserver/rspamd_symcache.h              |    4 +-
 src/libserver/task.c                         |   57 +-
 src/libserver/task.h                         |   13 +-
 src/libserver/worker_util.c                  |  451 ++-
 src/libserver/worker_util.h                  |   50 +-
 src/libstat/backends/redis_backend.c         |   65 +-
 src/libstat/classifiers/bayes.c              |    2 +-
 src/libstat/classifiers/classifiers.h        |    8 +-
 src/libstat/classifiers/lua_classifier.c     |    2 +-
 src/libstat/learn_cache/redis_cache.c        |   31 +-
 src/libstat/stat_api.h                       |    4 +-
 src/libstat/stat_config.c                    |   26 +-
 src/libstat/stat_internal.h                  |    6 +-
 src/libutil/CMakeLists.txt                   |    2 +-
 src/libutil/addr.c                           |   39 +-
 src/libutil/addr.h                           |   10 +-
 src/libutil/aio_event.c                      |  508 ---
 src/libutil/aio_event.h                      |   59 -
 src/libutil/http_connection.c                |   94 +-
 src/libutil/http_connection.h                |   10 +-
 src/libutil/http_context.c                   |   52 +-
 src/libutil/http_context.h                   |    8 +-
 src/libutil/http_private.h                   |    4 +-
 src/libutil/http_router.c                    |   46 +-
 src/libutil/http_router.h                    |    7 +-
 src/libutil/libev_helper.c                   |  119 +
 src/libutil/libev_helper.h                   |   78 +
 src/libutil/map.c                            |  233 +-
 src/libutil/map.h                            |    4 +-
 src/libutil/map_private.h                    |   24 +-
 src/libutil/ssl_util.c                       |   77 +-
 src/libutil/ssl_util.h                       |    5 +-
 src/libutil/str_util.h                       |   12 +-
 src/libutil/upstream.c                       |   32 +-
 src/libutil/upstream.h                       |    2 +-
 src/libutil/util.c                           |   54 -
 src/libutil/util.h                           |   28 +-
 src/log_helper.c                             |  234 --
 src/lua/CMakeLists.txt                       |    1 -
 src/lua/lua_cdb.c                            |   11 +-
 src/lua/lua_common.c                         |    9 +-
 src/lua/lua_common.h                         |    5 +-
 src/lua/lua_config.c                         |   36 +-
 src/lua/lua_dns_resolver.c                   |    2 +-
 src/lua/lua_fann.c                           | 1032 -----
 src/lua/lua_http.c                           |   26 +-
 src/lua/lua_redis.c                          |   59 +-
 src/lua/lua_task.c                           |   20 +-
 src/lua/lua_tcp.c                            |  149 +-
 src/lua/lua_udp.c                            |   60 +-
 src/lua/lua_util.c                           |   20 +-
 src/lua/lua_worker.c                         |   40 +-
 src/lua_worker.c                             |  420 ---
 src/plugins/dkim_check.c                     |   10 +-
 src/plugins/fuzzy_check.c                    |  301 +-
 src/plugins/lua/multimap.lua                 |   22 +-
 src/plugins/lua/neural.lua                   |   14 +-
 src/plugins/spf.c                            |    6 +-
 src/plugins/surbl.c                          |    5 +-
 src/rspamadm/CMakeLists.txt                  |    4 +-
 src/rspamadm/control.c                       |   15 +-
 src/rspamadm/lua_repl.c                      |   29 +-
 src/rspamadm/rspamadm.c                      |   30 +-
 src/rspamd.c                                 |  601 ++-
 src/rspamd.h                                 |   29 +-
 src/rspamd_proxy.c                           |   87 +-
 src/worker.c                                 |  134 +-
 src/worker_private.h                         |   13 +-
 test/CMakeLists.txt                          |    1 -
 test/rspamd_async_test.c                     |   80 -
 test/rspamd_dkim_test.c                      |    6 +-
 test/rspamd_dns_test.c                       |   14 +-
 test/rspamd_http_test.c                      |    8 +-
 test/rspamd_test_suite.c                     |    7 +-
 test/rspamd_upstream_test.c                  |   25 +-
 test/tests.h                                 |    3 -
 utils/rspamd_http_bench.c                    |    8 +-
 utils/rspamd_http_server.c                   |   10 +-
 133 files changed, 11782 insertions(+), 6102 deletions(-)


More information about the Commits mailing list