• Home
Name Date Size #Lines LOC

..--

WIN32-Code/03-May-2024-1,455928

cmake/03-May-2024-948797

compat/sys/03-May-2024-489304

include/03-May-2024-11,6423,127

m4/03-May-2024-9,4518,538

sample/03-May-2024-2,8172,052

test/03-May-2024-27,55321,128

Android.bpD03-May-20241.9 KiB8375

CMakeLists.txtD03-May-202448 KiB1,5321,286

ChangeLogD03-May-2024109.7 KiB2,0821,793

ChangeLog-1.4D03-May-202417 KiB232215

ChangeLog-2.0D03-May-202481.4 KiB1,2811,144

CleanSpec.mkD03-May-20242.2 KiB500

DoxyfileD03-May-202410 KiB258186

LICENSED03-May-20244.4 KiB10077

METADATAD03-May-2024547 2019

MODULE_LICENSE_BSD_LIKED03-May-20240

Makefile.amD03-May-20249.7 KiB345217

Makefile.inD03-May-2024162.8 KiB3,0432,689

Makefile.nmakeD03-May-20242.3 KiB8348

NOTICED03-May-20244.4 KiB10077

OWNERSD03-May-202446 21

README.mdD03-May-202410.5 KiB470389

aclocal.m4D03-May-202441.2 KiB1,1451,040

arc4random.cD03-May-202412.7 KiB551387

autogen.shD03-May-2024431 2318

buffer.cD03-May-202480.5 KiB3,4642,713

buffer_iocp.cD03-May-20248.5 KiB328231

bufferevent-internal.hD03-May-202418.9 KiB519220

bufferevent.cD03-May-202426.1 KiB1,037818

bufferevent_async.cD03-May-202418.2 KiB707535

bufferevent_filter.cD03-May-202417.6 KiB626429

bufferevent_openssl.cD03-May-202438.9 KiB1,5251,156

bufferevent_pair.cD03-May-20249.6 KiB366262

bufferevent_ratelim.cD03-May-202429.4 KiB1,090814

bufferevent_sock.cD03-May-202417.8 KiB708523

changelist-internal.hD03-May-20244.5 KiB10325

compileD03-May-20247.2 KiB349259

config.guessD03-May-202443.1 KiB1,4771,284

config.h.inD03-May-202414.3 KiB542370

config.subD03-May-202435.3 KiB1,8021,661

configureD03-May-2024527.5 KiB18,70815,632

configure.acD03-May-202423.9 KiB956858

defer-internal.hD03-May-20242.8 KiB7421

depcompD03-May-202423 KiB792502

devpoll.cD03-May-20247.7 KiB312199

epoll.cD03-May-202414.4 KiB544402

epoll_sub.cD03-May-20242.3 KiB6735

epolltable-internal.hD03-May-202440.4 KiB1,167530

evbuffer-internal.hD03-May-202412.5 KiB352159

evconfig-private.hD03-May-20241.5 KiB5729

evconfig-private.h.cmakeD03-May-20241 KiB4128

evconfig-private.h.inD03-May-20241.3 KiB5648

evdns.cD03-May-2024129.4 KiB4,8453,780

event-config.h.cmakeD03-May-202416.2 KiB508345

event-internal.hD03-May-202417 KiB489219

event.cD03-May-2024101.7 KiB4,0243,071

event_iocp.cD03-May-20247.5 KiB295224

event_rpcgen.pyD03-May-202454.5 KiB1,7321,358

event_tagging.cD03-May-202414.4 KiB610428

evmap-internal.hD03-May-20244.8 KiB11822

evmap.cD03-May-202428.3 KiB1,063781

evport.cD03-May-202411.7 KiB452251

evrpc-internal.hD03-May-20245.6 KiB20683

evrpc.cD03-May-202428.7 KiB1,172858

evsignal-internal.hD03-May-20242.6 KiB6624

evthread-internal.hD03-May-202414.3 KiB407263

evthread.cD03-May-202413.4 KiB510423

evthread_pthread.cD03-May-20244.8 KiB192146

evthread_win32.cD03-May-20248.4 KiB342272

evutil.cD03-May-202469.6 KiB2,7202,180

evutil_rand.cD03-May-20245.2 KiB207144

evutil_time.cD03-May-202416.7 KiB580346

ht-internal.hD03-May-202428.5 KiB488394

http-internal.hD03-May-20245.8 KiB207117

http.cD03-May-2024122.7 KiB5,1183,820

install-shD03-May-202415 KiB519337

iocp-internal.hD03-May-20247.8 KiB21681

ipv6-internal.hD03-May-20242.5 KiB8437

kqueue-internal.hD03-May-20241.9 KiB405

kqueue.cD03-May-202414.6 KiB578384

libevent.pc.inD03-May-2024317 1713

libevent_core.pc.inD03-May-2024281 1713

libevent_extra.pc.inD03-May-2024284 1713

libevent_openssl.pc.inD03-May-2024372 1713

libevent_pthreads.pc.inD03-May-2024384 1713

listener.cD03-May-202421.1 KiB900736

log-internal.hD03-May-20243.3 KiB9556

log.cD03-May-20245.3 KiB245172

ltmain.shD03-May-2024323.4 KiB11,3708,157

make-event-config.sedD03-May-2024731 2823

minheap-internal.hD03-May-20246.9 KiB193143

missingD03-May-20246.7 KiB216143

mm-internal.hD03-May-20243.4 KiB9333

openssl-compat.hD03-May-20241.3 KiB4533

poll.cD03-May-20248 KiB342242

post_update.shD03-May-2024373 115

ratelim-internal.hD03-May-20244 KiB10641

select.cD03-May-20248.5 KiB347230

signal.cD03-May-202412.2 KiB482348

strlcpy-internal.hD03-May-2024418 2518

strlcpy.cD03-May-20242.5 KiB7632

test-driverD03-May-20244.5 KiB14987

time-internal.hD03-May-20243.1 KiB10256

util-internal.hD03-May-202417.3 KiB552363

whatsnew-2.0.txtD03-May-202425.7 KiB610450

whatsnew-2.1.txtD03-May-202432.6 KiB769578

win32select.cD03-May-202410.4 KiB391301

README.md

1<p align="center">
2  <img src="https://strcpy.net/libevent3.png" alt="libevent logo"/>
3</p>
4
5
6
7[![Appveyor Win32 Build Status](https://ci.appveyor.com/api/projects/status/ng3jg0uhy44mp7ik?svg=true)](https://ci.appveyor.com/project/libevent/libevent)
8[![Travis Build Status](https://travis-ci.org/libevent/libevent.svg?branch=master)](https://travis-ci.org/libevent/libevent)
9[![Coverage Status](https://coveralls.io/repos/github/libevent/libevent/badge.svg)](https://coveralls.io/github/libevent/libevent)
10[![Join the chat at https://gitter.im/libevent/libevent](https://badges.gitter.im/libevent/libevent.svg)](https://gitter.im/libevent/libevent?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
12
13
14# 0. BUILDING AND INSTALLATION (Briefly)
15
16## Autoconf
17
18     $ ./configure
19     $ make
20     $ make verify   # (optional)
21     $ sudo make install
22
23## CMake (General)
24
25
26The following Libevent specific CMake variables are as follows (the values being
27the default).
28
29```
30# Type of the library to build (SHARED or STATIC)
31# Default is: SHARED for MSVC, otherwise BOTH
32EVENT__LIBRARY_TYPE:STRING=DEFAULT
33
34# Installation directory for CMake files
35EVENT_INSTALL_CMAKE_DIR:PATH=lib/cmake/libevent
36
37# Enable running gcov to get a test coverage report (only works with
38# GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Debug as well.
39EVENT__COVERAGE:BOOL=OFF
40
41# Defines if Libevent should build without the benchmark executables
42EVENT__DISABLE_BENCHMARK:BOOL=OFF
43
44# Define if Libevent should build without support for a debug mode
45EVENT__DISABLE_DEBUG_MODE:BOOL=OFF
46
47# Define if Libevent should not allow replacing the mm functions
48EVENT__DISABLE_MM_REPLACEMENT:BOOL=OFF
49
50# Define if Libevent should build without support for OpenSSL encryption
51EVENT__DISABLE_OPENSSL:BOOL=OFF
52
53# Disable the regress tests
54EVENT__DISABLE_REGRESS:BOOL=OFF
55
56# Disable sample files
57EVENT__DISABLE_SAMPLES:BOOL=OFF
58
59# If tests should be compiled or not
60EVENT__DISABLE_TESTS:BOOL=OFF
61
62# Define if Libevent should not be compiled with thread support
63EVENT__DISABLE_THREAD_SUPPORT:BOOL=OFF
64
65# Enables verbose debugging
66EVENT__ENABLE_VERBOSE_DEBUG:BOOL=OFF
67
68# When cross compiling, forces running a test program that verifies that Kqueue
69# works with pipes. Note that this requires you to manually run the test program
70# on the the cross compilation target to verify that it works. See CMake
71# documentation for try_run for more details
72EVENT__FORCE_KQUEUE_CHECK:BOOL=OFF
73```
74
75__More variables can be found by running `cmake -LAH <sourcedir_path>`__
76
77
78## CMake (Windows)
79
80Install CMake: <https://www.cmake.org>
81
82
83     $ md build && cd build
84     $ cmake -G "Visual Studio 10" ..   # Or whatever generator you want to use cmake --help for a list.
85     $ start libevent.sln
86
87## CMake (Unix)
88
89     $ mkdir build && cd build
90     $ cmake ..     # Default to Unix Makefiles.
91     $ make
92     $ make verify  # (optional)
93
94
95# 1. BUILDING AND INSTALLATION (In Depth)
96
97## Autoconf
98
99To build Libevent, type
100
101     $ ./configure && make
102
103
104 (If you got Libevent from the git repository, you will
105  first need to run the included "autogen.sh" script in order to
106  generate the configure script.)
107
108You can run the regression tests by running
109
110     $ make verify
111
112Install as root via
113
114     $ make install
115
116Before reporting any problems, please run the regression tests.
117
118To enable low-level tracing, build the library as:
119
120     $ CFLAGS=-DUSE_DEBUG ./configure [...]
121
122Standard configure flags should work.  In particular, see:
123
124     --disable-shared          Only build static libraries.
125     --prefix                  Install all files relative to this directory.
126
127
128The configure script also supports the following flags:
129
130     --enable-gcc-warnings     Enable extra compiler checking with GCC.
131     --disable-malloc-replacement
132                               Don't let applications replace our memory
133                               management functions.
134     --disable-openssl         Disable support for OpenSSL encryption.
135     --disable-thread-support  Don't support multithreaded environments.
136
137## CMake (Windows)
138
139(Note that autoconf is currently the most mature and supported build
140environment for Libevent; the CMake instructions here are new and
141experimental, though they _should_ be solid.  We hope that CMake will
142still be supported in future versions of Libevent, and will try to
143make sure that happens.)
144
145First of all install <https://www.cmake.org>.
146
147To build Libevent using Microsoft Visual studio open the "Visual Studio Command prompt" and type:
148
149```
150$ cd <libevent source dir>
151$ mkdir build && cd build
152$ cmake -G "Visual Studio 10" ..   # Or whatever generator you want to use cmake --help for a list.
153$ start libevent.sln
154```
155
156In the above, the ".." refers to the dir containing the Libevent source code.
157You can build multiple versions (with different compile time settings) from the same source tree
158by creating other build directories.
159
160It is highly recommended to build "out of source" when using
161CMake instead of "in source" like the normal behaviour of autoconf for this reason.
162
163The "NMake Makefiles" CMake generator can be used to build entirely via the command line.
164
165To get a list of settings available for the project you can type:
166
167```
168$ cmake -LH ..
169```
170
171### GUI
172
173CMake also provides a GUI that lets you specify the source directory and output (binary) directory
174that the build should be placed in.
175
176# 2. USEFUL LINKS:
177
178For the latest released version of Libevent, see the official website at
179<http://libevent.org/> .
180
181There's a pretty good work-in-progress manual up at
182   <http://www.wangafu.net/~nickm/libevent-book/> .
183
184For the latest development versions of Libevent, access our Git repository
185via
186
187```
188$ git clone https://github.com/libevent/libevent.git
189```
190
191You can browse the git repository online at:
192
193<https://github.com/libevent/libevent>
194
195To report bugs, issues, or ask for new features:
196
197__Patches__: https://github.com/libevent/libevent/pulls
198> OK, those are not really _patches_. You fork, modify, and hit the "Create Pull Request" button.
199> You can still submit normal git patches via the mailing list.
200
201__Bugs, Features [RFC], and Issues__: https://github.com/libevent/libevent/issues
202> Or you can do it via the mailing list.
203
204There's also a libevent-users mailing list for talking about Libevent
205use and development:
206
207<http://archives.seul.org/libevent/users/>
208
209# 3. ACKNOWLEDGMENTS
210
211The following people have helped with suggestions, ideas, code or
212fixing bugs:
213
214 * Samy Al Bahra
215 * Antony Antony
216 * Jacob Appelbaum
217 * Arno Bakker
218 * Weston Andros Adamson
219 * William Ahern
220 * Ivan Andropov
221 * Sergey Avseyev
222 * Avi Bab
223 * Joachim Bauch
224 * Andrey Belobrov
225 * Gilad Benjamini
226 * Stas Bekman
227 * Denis Bilenko
228 * Julien Blache
229 * Kevin Bowling
230 * Tomash Brechko
231 * Kelly Brock
232 * Ralph Castain
233 * Adrian Chadd
234 * Lawnstein Chan
235 * Shuo Chen
236 * Ka-Hing Cheung
237 * Andrew Cox
238 * Paul Croome
239 * George Danchev
240 * Andrew Danforth
241 * Ed Day
242 * Christopher Davis
243 * Mike Davis
244 * Frank Denis
245 * Antony Dovgal
246 * Mihai Draghicioiu
247 * Alexander Drozdov
248 * Mark Ellzey
249 * Shie Erlich
250 * Leonid Evdokimov
251 * Juan Pablo Fernandez
252 * Christophe Fillot
253 * Mike Frysinger
254 * Remi Gacogne
255 * Artem Germanov
256 * Alexander von Gernler
257 * Diego Giagio
258 * Artur Grabowski
259 * Diwaker Gupta
260 * Kuldeep Gupta
261 * Sebastian Hahn
262 * Dave Hart
263 * Greg Hazel
264 * Nicholas Heath
265 * Michael Herf
266 * Savg He
267 * Mark Heily
268 * Maxime Henrion
269 * Michael Herf
270 * Greg Hewgill
271 * Andrew Hochhaus
272 * Aaron Hopkins
273 * Tani Hosokawa
274 * Jamie Iles
275 * Xiuqiang Jiang
276 * Claudio Jeker
277 * Evan Jones
278 * Marcin Juszkiewicz
279 * George Kadianakis
280 * Makoto Kato
281 * Phua Keat
282 * Azat Khuzhin
283 * Alexander Klauer
284 * Kevin Ko
285 * Brian Koehmstedt
286 * Marko Kreen
287 * Ondřej Kuzník
288 * Valery Kyholodov
289 * Ross Lagerwall
290 * Scott Lamb
291 * Christopher Layne
292 * Adam Langley
293 * Graham Leggett
294 * Volker Lendecke
295 * Philip Lewis
296 * Zhou Li
297 * David Libenzi
298 * Yan Lin
299 * Moshe Litvin
300 * Simon Liu
301 * Mitchell Livingston
302 * Hagne Mahre
303 * Lubomir Marinov
304 * Abilio Marques
305 * Nicolas Martyanoff
306 * Abel Mathew
307 * Nick Mathewson
308 * James Mansion
309 * Nicholas Marriott
310 * Andrey Matveev
311 * Caitlin Mercer
312 * Dagobert Michelsen
313 * Andrea Montefusco
314 * Mansour Moufid
315 * Mina Naguib
316 * Felix Nawothnig
317 * Trond Norbye
318 * Linus Nordberg
319 * Richard Nyberg
320 * Jon Oberheide
321 * John Ohl
322 * Phil Oleson
323 * Alexey Ozeritsky
324 * Dave Pacheco
325 * Derrick Pallas
326 * Tassilo von Parseval
327 * Catalin Patulea
328 * Patrick Pelletier
329 * Simon Perreault
330 * Dan Petro
331 * Pierre Phaneuf
332 * Amarin Phaosawasdi
333 * Ryan Phillips
334 * Dimitre Piskyulev
335 * Pavel Plesov
336 * Jon Poland
337 * Roman Puls
338 * Nate R
339 * Robert Ransom
340 * Balint Reczey
341 * Bert JW Regeer
342 * Nate Rosenblum
343 * Peter Rosin
344 * Maseeb Abdul Qadir
345 * Wang Qin
346 * Alex S
347 * Gyepi Sam
348 * Hanna Schroeter
349 * Ralf Schmitt
350 * Mike Smellie
351 * Steve Snyder
352 * Nir Soffer
353 * Dug Song
354 * Dongsheng Song
355 * Hannes Sowa
356 * Joakim Soderberg
357 * Joseph Spadavecchia
358 * Kevin Springborn
359 * Harlan Stenn
360 * Andrew Sweeney
361 * Ferenc Szalai
362 * Brodie Thiesfield
363 * Jason Toffaletti
364 * Brian Utterback
365 * Gisle Vanem
366 * Bas Verhoeven
367 * Constantine Verutin
368 * Colin Watt
369 * Zack Weinberg
370 * Jardel Weyrich
371 * Jay R. Wren
372 * Zack Weinberg
373 * Mobai Zhang
374 * Alejo
375 * Alex
376 * Taral
377 * propanbutan
378 * masksqwe
379 * mmadia
380 * yangacer
381 * Andrey Skriabin
382 * basavesh.as
383 * billsegall
384 * Bill Vaughan
385 * Christopher Wiley
386 * David Paschich
387 * Ed Schouten
388 * Eduardo Panisset
389 * Jan Heylen
390 * jer-gentoo
391 * Joakim Söderberg
392 * kirillDanshin
393 * lzmths
394 * Marcus Sundberg
395 * Mark Mentovai
396 * Mattes D
397 * Matyas Dolak
398 * Neeraj Badlani
399 * Nick Mathewson
400 * Rainer Keller
401 * Seungmo Koo
402 * Thomas Bernard
403 * Xiao Bao Clark
404 * zeliard
405 * Zonr Chang
406 * Kurt Roeckx
407 * Seven
408 * Simone Basso
409 * Vlad Shcherban
410 * Tim Hentenaar
411 * Breaker
412 * johnsonlee
413 * Philip Prindeville
414 * Vis Virial
415 * Andreas Gustafsson
416 * Andrey Okoshkin
417 * an-tao
418 * baixiangcpp
419 * Bernard Spil
420 * Bogdan Harjoc
421 * Carlo Marcelo Arenas Belón
422 * David Benjamin
423 * David Disseldorp
424 * Dmitry Alimov
425 * Dominic Chen
426 * dpayne
427 * ejurgensen
428 * Fredrik Strupe
429 * Gonçalo Ribeiro
430 * James Synge
431 * Jan Beich
432 * Jesse Fang
433 * Jiri Luznicky
434 * José Luis Millán
435 * Kiyoshi Aman
436 * Leo Zhang
437 * lightningkay
438 * Luke Dashjr
439 * Marcin Szewczyk
440 * Maximilian Brunner
441 * Maya Rashish
442 * Murat Demirten
443 * Nathan French
444 * Nikolay Edigaryev
445 * Philip Herron
446 * Redfoxmoon
447 * stenn
448 * SuckShit
449 * The Gitter Badger
450 * tim-le
451 * Vincent JARDIN
452 * Xiang Zhang
453 * Xiaozhou Liu
454 * yongqing.jiao
455 * Enji Cooper
456 * linxiaohui
457 * Seong-Joong Kim
458 * Tobias Stoeckmann
459 * Yury Korzhetsky
460 * zhuizhuhaomeng
461 * Pierce Lopez
462 * yuangongji
463 * Keith Smiley
464 * jeremyerb
465 * Fabrice Fontaine
466 * wenyg
467
468
469If we have forgotten your name, please contact us.
470