Skip to content
This repository

A public libevent repository. The official repository is still at at git://levent.git.sourceforge.net/gitroot/levent/libevent

This branch is 0 commits ahead and 0 commits behind master

Merge pull request #132 from credil/master

ignore one more test binary
latest commit 28db827efa
Nick Mathewson nmathewson authored
Octocat-spinner-32 WIN32-Code Merge pull request #125 from azat/tree.h-drop-copy
Octocat-spinner-32 cmake Export event_extra not event_extras.
Octocat-spinner-32 compat Fix all identifiers with names beginning with underscore.
Octocat-spinner-32 include Fix duplicate paragraph in evbuffer_ptr documentation
Octocat-spinner-32 m4 Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 sample add a cast to https-client.c
Octocat-spinner-32 test Merge pull request #121 from azat/dns-regress-leaks
Octocat-spinner-32 .gitignore ignore one more test binary
Octocat-spinner-32 .travis.yml Added a Travis-CI configuration file.
Octocat-spinner-32 CMakeLists.txt Add missing headerfile for cmake
Octocat-spinner-32 ChangeLog Increment version to 2.1.4-alpha-dev
Octocat-spinner-32 ChangeLog-1.4 Try to finalize changelog situation for 2.1.1-alpha
Octocat-spinner-32 ChangeLog-2.0 Update ChangeLog-2.0
Octocat-spinner-32 Doxyfile Fix doxygen to use new macro conventions
Octocat-spinner-32 LICENSE Implement fast/precise monotonic clocks on Windows
Octocat-spinner-32 Makefile.am Increment version to 2.1.4-alpha
Octocat-spinner-32 Makefile.nmake Fix so that old nmake project still builds.
Octocat-spinner-32 README.md Bring changelog up to date for 2.1.4-alpha
Octocat-spinner-32 arc4random.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 autogen.sh Prefer autoreconf -ivf to manual autogen.sh
Octocat-spinner-32 buffer.c Avoid leaking segment mappings when offset is not a page multiple
Octocat-spinner-32 buffer_iocp.c Have all visible internal function names end with an underscore.
Octocat-spinner-32 bufferevent-internal.h Remove unneeded declaration in bufferevent-internal.h
Octocat-spinner-32 bufferevent.c Minor optimizations on bufferevent_trigger options
Octocat-spinner-32 bufferevent_async.c Initialize async bufferevent timeout CBs unconditionally
Octocat-spinner-32 bufferevent_filter.c Add an option to trigger bufferevent event callbacks
Octocat-spinner-32 bufferevent_openssl.c Check for OSX when checking for clang.
Octocat-spinner-32 bufferevent_pair.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 bufferevent_ratelim.c Pass and return const for bufferevent_get_token_bucket_cfg
Octocat-spinner-32 bufferevent_sock.c Add an option to trigger bufferevent event callbacks
Octocat-spinner-32 changelist-internal.h Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP).
Octocat-spinner-32 configure.ac Increment version to 2.1.4-alpha-dev
Octocat-spinner-32 defer-internal.h Restore our priority-inversion-prevention code with deferreds
Octocat-spinner-32 devpoll.c Have all visible internal function names end with an underscore.
Octocat-spinner-32 epoll.c Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP
Octocat-spinner-32 epoll_sub.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 epolltable-internal.h Split epoll lookup table into a separate header file
Octocat-spinner-32 evbuffer-internal.h Use finalization feature so bufferevents can avoid deadlocks
Octocat-spinner-32 evconfig-private.h.cmake Generate a dummy evconfig-private.h so things build properly.
Octocat-spinner-32 evconfig-private.h.in Clean up lingering _identifiers.
Octocat-spinner-32 evdns.3 improved nroff mdoc for the man page
Octocat-spinner-32 evdns.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 event-config.h.cmake Merge remote-tracking branch 'origin/pr/110'
Octocat-spinner-32 event-internal.h Add access to max event count stats
Octocat-spinner-32 event.3 r14931@tombo: nickm | 2007-11-17 17:21:09 -0500
Octocat-spinner-32 event.c Fix a use-after-free error on EV_CLOSURE_EVENT_FINALIZE callbacks
Octocat-spinner-32 event_iocp.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 event_rpcgen.py Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 event_tagging.c evtag: detect tags over 32-bits earlier
Octocat-spinner-32 evmap-internal.h Have all visible internal function names end with an underscore.
Octocat-spinner-32 evmap.c Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP).
Octocat-spinner-32 evport.c Have all visible internal function names end with an underscore.
Octocat-spinner-32 evrpc-internal.h Add an include to evrpc-internal to fix openbsd compilation warning
Octocat-spinner-32 evrpc.c Fix even more coverity warnings.
Octocat-spinner-32 evsignal-internal.h Add a new libevent_global_shutdown() to free all globals before exiting.
Octocat-spinner-32 evthread-internal.h use FormatMessage for winsock errors
Octocat-spinner-32 evthread.c Rename event_enable_lock_debuging() to ..._debugging()
Octocat-spinner-32 evthread_pthread.c Clean up lingering _identifiers.
Octocat-spinner-32 evthread_win32.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 evutil.c Fix ubsan warnings when parsing ipv4/ipv6 addrs
Octocat-spinner-32 evutil_rand.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 evutil_time.c Check CLOCK_MONOTONIC_* at runtime if needed.
Octocat-spinner-32 ht-internal.h Have all visible internal function names end with an underscore.
Octocat-spinner-32 http-internal.h http: implement new evhttp_connection_get_addr() api.
Octocat-spinner-32 http.c Catch over-large port numbers early in http
Octocat-spinner-32 iocp-internal.h Have all visible internal function names end with an underscore.
Octocat-spinner-32 ipv6-internal.h Convert include-guard macro convention to avoid reserved identifiers
Octocat-spinner-32 kqueue-internal.h Replace pipe-based notification with EVFILT_USER where possible
Octocat-spinner-32 kqueue.c Replace pipe-based notification with EVFILT_USER where possible
Octocat-spinner-32 libevent.pc.in Change use of AC_CHECK_LIB to AC_SEARCH_LIBS.
Octocat-spinner-32 libevent_openssl.pc.in Use correct openssl libs and includes in pkgconfig file
Octocat-spinner-32 libevent_pthreads.pc.in Add pkgconfig files for libevent_{openssl,pthreads}
Octocat-spinner-32 listener.c Merge remote-tracking branch 'origin/patches-2.0'
Octocat-spinner-32 log-internal.h Actually use the log facility for reporting evdns problems.
Octocat-spinner-32 log.c Actually use the log facility for reporting evdns problems.
Octocat-spinner-32 make-event-config.sed Generate event-config.h with a single sed script
Octocat-spinner-32 make_epoll_table.py Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP).
Octocat-spinner-32 minheap-internal.h Remove an unreachable return statement in minheap-internal.h
Octocat-spinner-32 mm-internal.h Convert include-guard macro convention to avoid reserved identifiers
Octocat-spinner-32 poll.c Split out time-related prototypes into time-internal.h
Octocat-spinner-32 ratelim-internal.h Have all visible internal function names end with an underscore.
Octocat-spinner-32 select.c Tweak the new evutil_weakrand_() code
Octocat-spinner-32 signal.c Merge remote-tracking branch 'github/20_win64_compilation' into 21_wi…
Octocat-spinner-32 strlcpy-internal.h Fix all identifiers with names beginning with underscore.
Octocat-spinner-32 strlcpy.c Fix all identifiers with names beginning with underscore.
Octocat-spinner-32 time-internal.h Simple unit tests for monotonic timers
Octocat-spinner-32 util-internal.h Add option to build shared library
Octocat-spinner-32 whatsnew-2.0.txt "buffer" spelling
Octocat-spinner-32 whatsnew-2.1.txt Add new APIs to whatsnew-2.1
Octocat-spinner-32 win32select.c Merge remote-tracking branch 'origin/patches-2.0'
README.md

0. BUILDING AND INSTALLATION (Briefly)

Autoconf

 $ ./configure
 $ make
 $ make verify   # (optional)
 $ sudo make install

CMake (Windows)

Install CMake: http://www.cmake.org

 $ md build && cd build
 $ cmake -G "Visual Studio 10" ..   # Or whatever generator you want to use cmake --help for a list.
 $ start libevent.sln

CMake (Unix)

 $ mkdir build && cd build
 $ cmake ..     # Default to Unix Makefiles.
 $ make
 $ make verify  # (optional)

1. BUILDING AND INSTALLATION (In Depth)

Autoconf

To build libevent, type

 $ ./configure && make

(If you got libevent from the git repository, you will first need to run the included "autogen.sh" script in order to generate the configure script.)

You can run the regression tests by running

 $ make verify

Install as root via

 $ make install

Before reporting any problems, please run the regression tests.

To enable the low-level tracing build the library as:

 $ CFLAGS=-DUSE_DEBUG ./configure [...]

Standard configure flags should work. In particular, see:

--disable-shared Only build static libraries --prefix Install all files relative to this directory.

The configure script also supports the following flags:

--enable-gcc-warnings Enable extra compiler checking with GCC. --disable-malloc-replacement Don't let applications replace our memory management functions --disable-openssl Disable support for OpenSSL encryption. --disable-thread-support Don't support multithreaded environments.

CMake (Windows)

(Note that autoconf is currently the most mature and supported build enviroment for libevent; the cmake instructions here are new and experimental, though they should be solid. We hope that cmake will still be supported in future versions of Libevent, and will try to make sure that happens.)

First of all install http://www.cmake.org.

To build libevent using Microsoft Visual studio open the "Visual Studio Command prompt" and type:

$ cd <libevent source dir>
$ mkdir build && cd build
$ cmake -G "Visual Studio 10" ..   # Or whatever generator you want to use cmake --help for a list.
$ start libevent.sln

In the above, the ".." refers to the dir containing the Libevent source code. You can build multiple versions (with different compile time settings) from the same source tree by creating other build directories.

It is highly recommended to build "out of source" when using CMake instead of "in source" like the normal behaviour of autoconf for this reason.

The "NMake Makefiles" CMake generator can be used to build entirely via the command line.

To get a list of settings available for the project you can type:

$ cmake -LH ..

GUI

CMake also provides a GUI that lets you specify the source directory and output (binary) directory that the build should be placed in.

OpenSSL support

To build Libevent with OpenSSL support you will need to have OpenSSL binaries available when building, these can be found here: http://www.openssl.org/related/binaries.html

2. USEFUL LINKS:

For the latest released version of Libevent, see the official website at http://libevent.org/ .

There's a pretty good work-in-progress manual up at http://www.wangafu.net/~nickm/libevent-book/ .

For the latest development versions of Libevent, access our Git repository via

$ git clone git://levent.git.sourceforge.net/gitroot/levent/libevent

You can browse the git repository online at:

http://levent.git.sourceforge.net/git/gitweb-index.cgi

https://github.com/libevent/Libevent

To report bugs, request features, or submit patches to Libevent, use the Sourceforge trackers at

https://sourceforge.net/tracker/?group_id=50884

There's also a libevent-users mailing list for talking about Libevent use and development:

http://archives.seul.org/libevent/users/

3. ACKNOWLEDGMENTS

The following people have helped with suggestions, ideas, code or fixing bugs:

  • Samy Al Bahra
  • Antony Antony
  • Jacob Appelbaum
  • Arno Bakker
  • Weston Andros Adamson
  • William Ahern
  • Ivan Andropov
  • Sergey Avseyev
  • Avi Bab
  • Joachim Bauch
  • Andrey Belobrov
  • Gilad Benjamini
  • Stas Bekman
  • Denis Bilenko
  • Julien Blache
  • Kevin Bowling
  • Tomash Brechko
  • Kelly Brock
  • Ralph Castain
  • Adrian Chadd
  • Lawnstein Chan
  • Shuo Chen
  • Ka-Hing Cheung
  • Andrew Cox
  • Paul Croome
  • George Danchev
  • Andrew Danforth
  • Ed Day
  • Christopher Davis
  • Mike Davis
  • Frank Denis
  • Antony Dovgal
  • Mihai Draghicioiu
  • Alexander Drozdov
  • Mark Ellzey
  • Shie Erlich
  • Leonid Evdokimov
  • Juan Pablo Fernandez
  • Christophe Fillot
  • Mike Frysinger
  • Remi Gacogne
  • Artem Germanov
  • Alexander von Gernler
  • Diego Giagio
  • Artur Grabowski
  • Diwaker Gupta
  • Kuldeep Gupta
  • Sebastian Hahn
  • Dave Hart
  • Greg Hazel
  • Nicholas Heath
  • Michael Herf
  • Sebastian Hahn
  • Savg He
  • Mark Heily
  • Maxime Henrion
  • Michael Herf
  • Greg Hewgill
  • Andrew Hochhaus
  • Aaron Hopkins
  • Tani Hosokawa
  • Jamie Iles
  • Xiuqiang Jiang
  • Claudio Jeker
  • Evan Jones
  • Marcin Juszkiewicz
  • George Kadianakis
  • Makoto Kato
  • Phua Keat
  • Azat Khuzhin
  • Alexander Klauer
  • Kevin Ko
  • Brian Koehmstedt
  • Marko Kreen
  • Ondřej Kuzník
  • Valery Kyholodov
  • Ross Lagerwall
  • Scott Lamb
  • Christopher Layne
  • Adam Langley
  • Graham Leggett
  • Volker Lendecke
  • Philip Lewis
  • Zhou Li
  • David Libenzi
  • Yan Lin
  • Moshe Litvin
  • Simon Liu
  • Mitchell Livingston
  • Hagne Mahre
  • Lubomir Marinov
  • Abilio Marques
  • Nicolas Martyanoff
  • Abel Mathew
  • Nick Mathewson
  • James Mansion
  • Nicholas Marriott
  • Andrey Matveev
  • Caitlin Mercer
  • Dagobert Michelsen
  • Andrea Montefusco
  • Mansour Moufid
  • Mina Naguib
  • Felix Nawothnig
  • Trond Norbye
  • Linus Nordberg
  • Richard Nyberg
  • Jon Oberheide
  • John Ohl
  • Phil Oleson
  • Alexey Ozeritsky
  • Dave Pacheco
  • Derrick Pallas
  • Tassilo von Parseval
  • Catalin Patulea
  • Patrick Pelletier
  • Simon Perreault
  • Dan Petro
  • Pierre Phaneuf
  • Amarin Phaosawasdi
  • Ryan Phillips
  • Dimitre Piskyulev
  • Pavel Plesov
  • Jon Poland
  • Roman Puls
  • Nate R
  • Robert Ransom
  • Balint Reczey
  • Bert JW Regeer
  • Nate Rosenblum
  • Peter Rosin
  • Maseeb Abdul Qadir
  • Wang Qin
  • Alex S
  • Gyepi Sam
  • Hanna Schroeter
  • Ralf Schmitt
  • Mike Smellie
  • Steve Snyder
  • Nir Soffer
  • Dug Song
  • Dongsheng Song
  • Hannes Sowa
  • Joakim Soderberg
  • Joseph Spadavecchia
  • Kevin Springborn
  • Harlan Stenn
  • Andrew Sweeney
  • Ferenc Szalai
  • Brodie Thiesfield
  • Jason Toffaletti
  • Brian Utterback
  • Gisle Vanem
  • Bas Verhoeven
  • Constantine Verutin
  • Colin Watt
  • Zack Weinberg
  • Jardel Weyrich
  • Jay R. Wren
  • Zack Weinberg
  • Mobai Zhang
  • Alejo
  • Alex
  • Taral
  • propanbutan
  • masksqwe
  • mmadia
  • yangacer

If we have forgotten your name, please contact us.

Something went wrong with that request. Please try again.