|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 16-Feb-2021 | - |
| aix/ | H | 16-Feb-2021 | - | 562 | 138 |
| android/ | H | 16-Feb-2021 | - | 549 | 146 |
| compat/sys/ | H | 16-Feb-2021 | - | 653 | 402 |
| freebsd/ | H | 16-Feb-2021 | - | 552 | 146 |
| linux/ | H | 16-Feb-2021 | - | 552 | 146 |
| m4/ | H | 16-Feb-2021 | - | 2 | 1 |
| mac/ | H | 16-Feb-2021 | - | 552 | 144 |
| nacl_nonsfi/ | H | 16-Feb-2021 | - | 628 | 149 |
| sample/ | H | 16-Feb-2021 | - | 292 | 205 |
| solaris/ | H | 16-Feb-2021 | - | 552 | 156 |
| test/ | H | 16-Feb-2021 | - | 5,393 | 3,919 |
| BUILD.gn | H A D | 03-May-2022 | 1.8 KiB | 88 | 82 |
| Doxyfile | H A D | 16-Feb-2021 | 8.9 KiB | 231 | 161 |
| LICENSE | H A D | 16-Feb-2021 | 2.3 KiB | 54 | 43 |
| Makefile.am | H A D | 16-Feb-2021 | 5.3 KiB | 153 | 76 |
| Makefile.nmake | H A D | 16-Feb-2021 | 1.1 KiB | 49 | 27 |
| README | H A D | 16-Feb-2021 | 1 KiB | 58 | 44 |
| README.chromium | H A D | 16-Feb-2021 | 2 KiB | 41 | 38 |
| autogen.sh | H A D | 16-Feb-2021 | 286 | 16 | 13 |
| buffer.c | H A D | 16-Feb-2021 | 11.9 KiB | 555 | 384 |
| chromium.patch | H A D | 16-Feb-2021 | 5.6 KiB | 227 | 196 |
| configure.in | H A D | 16-Feb-2021 | 10.4 KiB | 422 | 365 |
| devpoll.c | H A D | 16-Feb-2021 | 9.9 KiB | 418 | 286 |
| epoll.c | H A D | 16-Feb-2021 | 8.8 KiB | 378 | 272 |
| epoll_sub.c | H A D | 16-Feb-2021 | 1.9 KiB | 53 | 21 |
| evbuffer.c | H A D | 16-Feb-2021 | 10.7 KiB | 456 | 288 |
| evdns.3 | H A D | 16-Feb-2021 | 11.3 KiB | 323 | 322 |
| evdns.c | H A D | 16-Feb-2021 | 84.4 KiB | 3,193 | 2,491 |
| evdns.h | H A D | 16-Feb-2021 | 18.5 KiB | 529 | 96 |
| event-config.h | H A D | 03-May-2022 | 963 | 25 | 17 |
| event-internal.h | H A D | 03-May-2022 | 3.5 KiB | 104 | 56 |
| event.3 | H A D | 16-Feb-2021 | 17.3 KiB | 625 | 624 |
| event.c | H A D | 03-May-2022 | 21.8 KiB | 1,005 | 705 |
| event.h | H A D | 03-May-2022 | 38.2 KiB | 1,214 | 256 |
| event_rpcgen.py | H A D | 16-Feb-2021 | 44.4 KiB | 1,424 | 1,141 |
| event_tagging.c | H A D | 16-Feb-2021 | 9.5 KiB | 444 | 306 |
| evhttp.h | H A D | 16-Feb-2021 | 11.5 KiB | 376 | 115 |
| evport.c | H A D | 16-Feb-2021 | 12.7 KiB | 520 | 289 |
| evrpc-internal.h | H A D | 16-Feb-2021 | 2.8 KiB | 88 | 32 |
| evrpc.c | H A D | 16-Feb-2021 | 15.9 KiB | 658 | 440 |
| evrpc.h | H A D | 16-Feb-2021 | 16 KiB | 487 | 167 |
| evsignal.h | H A D | 16-Feb-2021 | 2.1 KiB | 53 | 23 |
| evutil.c | H A D | 16-Feb-2021 | 6.9 KiB | 285 | 224 |
| evutil.h | H A D | 16-Feb-2021 | 5.4 KiB | 187 | 130 |
| http-internal.h | H A D | 16-Feb-2021 | 4.2 KiB | 154 | 93 |
| http.c | H A D | 16-Feb-2021 | 67.8 KiB | 2,886 | 2,103 |
| kqueue.c | H A D | 03-May-2022 | 10.7 KiB | 450 | 314 |
| log.c | H A D | 16-Feb-2021 | 4.2 KiB | 188 | 126 |
| log.h | H A D | 16-Feb-2021 | 2.1 KiB | 52 | 20 |
| min_heap.h | H A D | 16-Feb-2021 | 5.4 KiB | 150 | 106 |
| poll.c | H A D | 16-Feb-2021 | 9 KiB | 380 | 284 |
| select.c | H A D | 16-Feb-2021 | 8.9 KiB | 365 | 270 |
| signal.c | H A D | 16-Feb-2021 | 9.5 KiB | 378 | 277 |
| stamp-h.in | H A D | 16-Feb-2021 | 10 | 2 | 1 |
| strlcpy-internal.h | H A D | 16-Feb-2021 | 348 | 24 | 17 |
| strlcpy.c | H A D | 16-Feb-2021 | 2.5 KiB | 77 | 33 |
README
1To build libevent, type
2
3$ ./configure && make
4
5 (If you got libevent from the subversion repository, you will
6 first need to run the included "autogen.sh" script in order to
7 generate the configure script.)
8
9Install as root via
10
11# make install
12
13You can run the regression tests by
14
15$ make verify
16
17Before, reporting any problems, please run the regression tests.
18
19To enable the low-level tracing build the library as:
20
21CFLAGS=-DUSE_DEBUG ./configure [...]
22
23Acknowledgements:
24-----------------
25
26The following people have helped with suggestions, ideas, code or
27fixing bugs:
28
29 Alejo
30 Weston Andros Adamson
31 William Ahern
32 Stas Bekman
33 Andrew Danforth
34 Mike Davis
35 Shie Erlich
36 Alexander von Gernler
37 Artur Grabowski
38 Aaron Hopkins
39 Claudio Jeker
40 Scott Lamb
41 Adam Langley
42 Philip Lewis
43 David Libenzi
44 Nick Mathewson
45 Andrey Matveev
46 Richard Nyberg
47 Jon Oberheide
48 Phil Oleson
49 Dave Pacheco
50 Tassilo von Parseval
51 Pierre Phaneuf
52 Jon Poland
53 Bert JW Regeer
54 Dug Song
55 Taral
56
57If I have forgotten your name, please contact me.
58
README.chromium
1Name: libevent
2URL: http://libevent.org/
3Version: 1.4.15
4License: BSD
5Security Critical: yes
6
7Local Modifications:
8Rather than use libevent's own build system, we just build a Chrome
9static library using GYP.
10
111) Run configure and "make event-config.h" on Linux, FreeBSD, Solaris,
12 and Mac and copy config.h and event-config.h to linux/, freebsd/,
13 solaris/, and mac/ respectively.
142) Add libevent.gyp.
153) chromium.patch is applied to make the following changes:
16 - Allow libevent to be used without being installed by changing <...>
17 #includes to "...".
18 - Fix a race condition in event_del.
19 - Optimistically assume CLOCK_MONOTONIC is available and fallback if it
20 fails, rather than explicitly testing for it.
21 - Remove an unneeded variable that causes a -Werror build failure.
22 - Add an #ifndef to fix a preprocessor redefined -Werror build failure.
23 - Revert the patch from http://sourceforge.net/p/levent/bugs/223/ that
24 introduces use-after-free memory corruption when an event callback frees
25 the struct event memory.
26 - Remove deprecated global variables, event_sigcb and event_gotsig
27 (essentially unused) that trigger tsan errors. (crbug/605894)
284) The directories WIN32-Code and WIN32-Prj are not included.
295) The configs for android were copied from Linux's which were very close to
30 android one with the exception of HAVE_FD_MASK and HAVE_STRLCPY.
316) Add files to support building with the PNaCl toolchain. Added
32 libevent_nacl_nonsfi.gyp for build rule. nacl_nonsfi/config.h and
33 nacl_nonsfi/event-config.h are derived from linux/ counterparts.
34 nacl_nonsfi/random.c is also added to provide the random() function,
35 which is missing in the newlib-based PNaCl toolchain.
367) Stub out signal.c for nacl_helper_nonsfi. socketpair() will be prohibited
37 by sandbox in nacl_helper_nonsfi.
388) Remove an unnecessary workaround for OS X 10.4 from kqueue.c. It was causing
39 problems on macOS Sierra.
409) Change buffer.c to not redefine _GNU_SOURCE.
41