Commit 93beff3b authored by Maxim Ignatenko's avatar Maxim Ignatenko Committed by Sergey Lyubka

Use select() by default everywhere

    PUBLISHED_FROM=474789b0d7f5076434e5c15c079306243f3a8d81
parent 22f8d86b
......@@ -44,10 +44,12 @@
#define MG_INTERNAL static
#endif
#if !defined(MG_MGR_EV_MGR) && defined(__linux__)
#define MG_MGR_EV_MGR 1 /* epoll() */
#endif
#if !defined(MG_MGR_EV_MGR)
/*
* Switches between different methods of handling sockets. Supported values:
* 0 - select()
* 1 - epoll() (Linux only)
*/
#define MG_MGR_EV_MGR 0 /* select() */
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment