You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2018/05/07 21:17:24 UTC

[2/2] mesos git commit: Re-enable epoll support for libevent.

Re-enable epoll support for libevent.

Epoll support was disabled due to some undocumented "issues". Since
the original author is not responsive and a lot of libevent / SSL
issues have been fixed, we can try re-enabling epoll support.

Should this be an issue, epoll can be disabled once again using the
EVENT_NOEPOLL environment variable.

Review: https://reviews.apache.org/r/66977


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0262b41f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0262b41f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0262b41f

Branch: refs/heads/master
Commit: 0262b41f8e3b40c63c1de42d556241f889320e7d
Parents: 36522a2
Author: Benjamin Mahler <bm...@apache.org>
Authored: Sun May 6 18:09:02 2018 -0700
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Mon May 7 14:17:16 2018 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/libevent.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0262b41f/3rdparty/libprocess/src/libevent.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/libevent.cpp b/3rdparty/libprocess/src/libevent.cpp
index eb3998c..20fc99c 100644
--- a/3rdparty/libprocess/src/libevent.cpp
+++ b/3rdparty/libprocess/src/libevent.cpp
@@ -203,12 +203,7 @@ void EventLoop::initialize()
   // when the implementation settles and after we gain confidence.
   event_enable_debug_mode();
 
-  // TODO(jmlvanre): Allow support for 'epoll' once SSL related
-  // issues are resolved.
-  struct event_config* config = event_config_new();
-  event_config_avoid_method(config, "epoll");
-
-  base = event_base_new_with_config(config);
+  base = event_base_new();
 
   if (base == nullptr) {
     LOG(FATAL) << "Failed to initialize, event_base_new";