即将从源代码编译 libevent,我只是注意到它似乎依赖于 OpenSSL 来加密o_O。
这听起来像臃肿。
- 提供独立于操作系统的异步 IO 抽象的库需要加密什么?
- 它如何证明对 OpenSSL 的依赖是合理的,我认为它也是大而复杂的?
libevent-2.0.21-stable/README
38 The configure script also supports the following flags:
39
40 --enable-gcc-warnings Enable extra compiler checking with GCC.
41 --disable-malloc-replacement
42 Don't let applications replace our memory
43 management functions
44 --disable-openssl Disable support for OpenSSL encryption.
45 --disable-thread-support Don't support multithreaded environments.