libevent/libevent.changes

1299 lines
64 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Mon Feb 20 14:13:21 UTC 2017 - ddiss@suse.com
- Update to 2.1.8 stable
+ Fix _FILE_OFFSET_BITS redinition (solaris/autotools) (336f3b11 Azat
Khuzhin)
+ util-internal: fix __func__ redefinition (netbsd) (253e7fa9 Azat Khuzhin)
+ Fix signedness differ for iov_base (solaris) (2c62062e Azat Khuzhin)
+ evutil_time: include <unistd.h> when there is only sleep()/usleep()
(3e75194c Azat Khuzhin)
+ http: fix formatter for pritnf for req->ntoread (osx) (1cbf26f6 Azat
Khuzhin)
+ Merge branch 'automake-tests-parallel-v4' (*includes ci bits also*)
(59e217df Azat Khuzhin)
+ vagrant/netbsd: missing libtool (9c9be399 Azat Khuzhin)
+ vagrant/netbsd: more reliable way of installing packages (36da6877 Azat
Khuzhin)
+ vagrant/osx: use make instead of gmake (there is no gmake) (f7c70aef Azat
Khuzhin)
+ vagrant: add centos box (ca591c5b Azat Khuzhin)
+ test/dns: replace servname since solaris does not have "http" (d6bafbbe
Azat Khuzhin)
+ test/thread: netbsd is too slow, increase timeout for conditions_simple
(3c7422fc Azat Khuzhin)
+ test/dns: run async resolving after sync one (to avoid timeouts) (07862531
Azat Khuzhin)
+ test/http: turn off some tests that based on backlog filling (falky)
(26f416c1 Azat Khuzhin)
+ Merge branch 'openssl-filter-fixes-v4' (83e0f43b Azat Khuzhin)
+ Merge branch 'date-rfc1123' (68def435,4798de6c,4545807d Azat Khuzhin)
+ Merge branch 'be-openssl-fd-reset-fix-v2' (86fa0070,32adf434 Azat Khuzhin)
+ Merge branch 'openssl-1.1-init-fixes-v2' (18a161f0 Azat Khuzhin)
+ Fix incorrect MIME type (23f9a20e johnsonlee)
+ Update README.md (3821cca1 Breaker)
- Add libevent-2.1.8-stable.tar.gz.asc tarball GPG signature
+ Replace keyring with Azat Khuzhin's public key
-------------------------------------------------------------------
Fri Nov 25 13:32:16 UTC 2016 - ddiss@suse.com
- Update to 2.1.7 rc
+ Use coveralls.io via travis (9ac000c Azat Khuzhin)
+ travis-ci: use container-based infrastructure (7e12e96 Azat Khuzhin)
+ travis-ci/osx: fix compiling/linking openssl libraries (9d2f8d4 Azat
Khuzhin)
+ travis-ci: use gcc-5 (fixes osx|gcc failures) (d7ceae5 Azat Khuzhin)
+ Testing with vagrant for 6 OS and cmake+autoconf (9585338 Azat Khuzhin)
+ travis-ci/osx: install lcov (e4e099b Azat Khuzhin)
+ Fix cmake -DEVENT__COVERAGE=ON (40fbffc Azat Khuzhin)
+ autogen.sh: learn about gmake (9376ac4 Azat Khuzhin)
+ autogen.sh: remove all autoconf/automake caches, if any (69cce25 Azat
Khuzhin)
+ cmake: fix finding python2, and check that it is really 2 (3453c08 Azat
Khuzhin)
+ cmake: fix CheckFunctionExistsEx/CheckPrototypeDefinition (CMP0054)
(43b69b2 Azat Khuzhin)
+ cmake: cleanup (dc624ad Zonr Chang)
+ cmake/win32: fix running regress, but fixing finding python2 interpreter
(bcb990a Azat Khuzhin)
+ cmake: use PYTHON_EXECUTABLE to find python2 (a4d044c Azat Khuzhin)
+ Merge branch 'force-disable-clockgettime' (83c7cdf Azat Khuzhin)
+ use ev_uint16_t instead of unsigned short for port (e983712 Thomas
Bernard)
+ Merge branch 'contrib-guide-v2' (b9c5077 Azat Khuzhin)
+ poll: Prevent libevent from spinning if POLLNVAL occurs (675974c Tim
Hentenaar)
+ test/regress: cover a polling of invalid fd (cb0df5c Tim Hentenaar)
+ Make it build using OpenSSL 1.1.0 (3e9e0a0 Kurt Roeckx)
+ Don't call BIO_number_{read|written} on NULL BIOs. (6702da1 Adam Langley)
+ Switch from a 512 to 2048-bit RSA key. (f9803a6 Adam Langley)
+ Ignore temporary configure files (8fb08ae Azat Khuzhin)
+ README.md: fix typo: ar -> are (2361616 Simone Basso)
+ be: just a simple mistake, reinclude the <errno.h> (7521664 Seven)
-------------------------------------------------------------------
Wed Jul 6 13:23:28 UTC 2016 - ddiss@suse.com
- Fix pkg-config/pkgconfig BuildRequires for Fedora.
-------------------------------------------------------------------
Sat Mar 14 09:10:46 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Add gpg signature
- Enable tests that do not require network connection
-------------------------------------------------------------------
Sun Feb 22 15:47:36 UTC 2015 - benoit.monin@gmx.fr
- update to 2.0.22:
* Avoid integer overflow bugs in evbuffer_add() and related
functions. See CVE-2014-6272 advisory for more information
* fix #73 and fix http_connection_fail_test to catch it
* Avoid racy bufferevent activation
* Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled
* Fix missing AC_PROG_SED on older Autoconfs
* Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
* Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for
autmake 1.13 compat
* Rename configure.in to configure.ac to appease newer autoconfs
* Avoid using top_srcdir in TESTS: new automakes do not like this
* Use windows vsnprintf fixup logic on all windows environments
* Fix a compiler warning when checking for arc4random_buf linker
breakage
* Fix another arc4random_buf-related warning
* Add -Qunused-arguments for clang on macos
* Avoid leaking fds on evconnlistener with no callback set
* Avoid double-close on getsockname error in
evutil_ersatz_socketpair
* Fix a locking error in bufferevent_socket_get_dns_error
* libevent/win32_dealloc() : fix sizeof(pointer) vs
sizeof(*pointer)
* bufferevent_pair: don't call downcast(NULL)
* Consistently check for failure from evbuffer_pullup()
* Fix race caused by event_active
* Avoid redundant invocations of init_extension_functions for
IOCP
* Typo fixes from Linus Nordberg
* Add a few files created by "make verify" to .gitignore
* regress_buffer: fix 'memcmp' compare size
* Fix bufferevent setwatermark suspend_read
* Fix evbuffer_peek() with len==-1 and start_at non-NULL
* Checking request nameserver for NULL, before using it
* Fix SEGFAULT after evdns_base_resume if no nameservers
installed
* Fix a crash in evdns related to shutting down evdns
* Check does arch have the epoll_create and __NR_epoll_wait
syscalls
* Avoid other RNG initialization FS reads when urandom file is
specified
* When we seed from /proc/sys/kernel/random/uuid, count it as
success
* Document that arc4random is not a great cryptographic PRNG
* Add evutil_secure_rng_set_urandom_device_file
* Really remove RNG seeds from the stack
* Fix a mistake in evbuffer_remove() arguments in example http
server code
* Fix a typo in a comment in buffer.h
* Clarify event_base_loop exit conditions
* Use FindClose for handle from FindFirstFile in http-server.c
* Fix a typo in a doxygen comment
- update source URL
-------------------------------------------------------------------
Fri Jan 9 18:01:22 UTC 2015 - ddiss@suse.com
- Update to 2.1.5 beta
+ Avoid integer overflow bugs in evbuffer_add() and related
functions. See CVE-2014-6272 advisory for more information.
+ Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT
+ Fix use-after-free error in EV_CLOSURE_EVENT callback (3cc0eac John Ohl)
+ Fix race caused by event_active (3c7d6fc vjpai)
+ Fix evbuffer_peek() with len==-1 and start_at non-NULL. (ba59923)
+ Consistently check for failure from evbuffer_pullup() (60f8f72)
+ Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)
+ be async: avoid double close() (f133b86 Azat Khuzhin)
+ Fix issue #127, double free for filterevents that use
BEV_OPT_CLOSE_ON_FREE (2c82aa0 John Ohl)
+ make bufferevent_getwatermark api more robust (a21e510 ufo2243)
+ [Bugfix] fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
+ bufferevent_openssl: reset fd_is_set when setfd with -1 is called
(3da84c2 Azat Khuzhin)
+ Fix compilation for older OpenSSL versions. (5c7282f Joakim Soderberg)
+ Add evhttp_connection_set_family() to set addrinfo->family for
DNS requests (12c29b0 Azat Khuzhin)
+ Implement interface that provides the ability to have an outbound
evhttp_connection free itself once all requests have completed
(2b9ec4c,10fe4f John Ohl)
+ Implement new/free for struct evutil_monotonic_timer and export
monotonic time functions (f2645f8 Andrea Shepard)
+ Load hosts file on Windows. (a0b247c Vilmos Nebehaj)
+ Don't truncate hosts file path on Windows. (d0dc861 Vilmos Nebehaj)
+ Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)
+ evdns: avoid read-after-free in evdns_request_timeout_callback()
(61262a0 Azat Khuzhin)
+ Correctly handle allocation failures in evdns_getaddrinfo (6a53d15)
+ evdns: fix EVDNS_BASE_DISABLE_WHEN_INACTIVE in case
retransmit/retry (74d0eee Azat Khuzhin)
+ evdns: add retry/reissue tests for
EVDNS_BASE_DISABLE_WHEN_INACTIVE (3ca9d43 Azat Khuzhin)
+ evdns: fail ns after we are failing/retrasmitting request
(97c750d Azat Khuzhin)
+ http: reset connection before installing retry timer (fix http
retries handling) (bc79cc5 Azat Khuzhin)
+ regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress}
tests (2fdc5f2 Azat Khuzhin)
+ test: add family argument for http_connection_test_() (177b8a7
Azat Khuzhin)
+ test: add regress for evhttp_connection_set_family() with AF_INET
and AF_UNSPEC (42aefeb Azat Khuzhin)
+ test/http: add regress test for set family to AF_INET6 (3fbf3cc
Azat Khuzhin)
+ Update to a more recent tinytest_macros. (8da5a18)
+ test/regress: add simplestsignal: to track reorder bugs
separately (b897bef Azat Khuzhin)
+ test/evbuffer_peek: add regress in case we have first buffer
greater (e2d139d Azat Khuzhin)
+ More evbuffer_peek() test cases (154006a)
+ use correct tt macro for pointer compare (08c88ea)
+ regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
+ Fix a use-after-free in unit tests. CID 752027 (3739057)
+ Fix a dead-code warning in unit tests. CID 1193548 (c119f24)
+ Use evutil_weakrand() in unit tests. (a677b72, 364c110)
+ Use a more precise calculation for max in time-ratelim.c (ca5b5c7)
+ Make a buffer larger in the tests to avoid a scary
evbuffer_copyout_from() (fb57b8b)
+ Fix several memory leaks in the unit tests. (89c1a3b)
+ Add test for evhttp_connection_free_on_completion (b0e9924 John Ohl)
+ Fix annoying heisenbug in test-time.c (cb73704)
+ Make http-server.c output into good html5 (6d72bdc)
+ Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
+ https-client: add -retries argument, for connection retries
(d9da844 Azat Khuzhin)
+ Add missing headerfile for cmake (15d90cc Trond Norbye)
+ ignore one more test binary (b6593aa Michael Richardson)
+ ignore config.cache/test-driver files (c83f333 Mike Frysinger)
+ add a --disable-samples configure flag (0c492b3 Mike Frysinger)
+ Add a few files created by "make verify" to .gitignore. (1a8295a
Pierre Phaneuf)
+ updates in cmake build (27bd9fa Sergey Nikulov)
+ Fix cmake error when the Module path has more than one entry.
(befbd13 Acer Yang)
+ Fix CMake shared library build (e69d910 Nobuaki Sukegawa)
+ Fix warnings when compiling with clang 3.5 (f5b4765 John Ohl)
+ Fix mixed declarations and code (forbidden by ISO C90) (8afbdbc
Thomas Bernard)
+ tree.h: drop duplicated content of tree.h (6193187 Azat Khuzhin)
+ evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
(610410b,ad0493e,fea86a6,d83b337,5ca9e97 Azat Khuzhin)
+ [Bugfix] fix grammer error (3a4d249 ufo2243)
+ Change return type of evutil_load_windows_system_library_ to
HMODULE (f691389)
+ Fix a c90 warning (76643dd)
+ Fix a typo in a doxygen comment. Reported by äå. (be1aeff)
+ remove trailing comma from enum (b361b8a Jean-Philippe Ouellet)
+ Handle ENOTCAPABLE from FreeBSD - this is returned if an event in
the changelist is for an FD that has been closed. (6fd7394 Adrian
Chadd)
-------------------------------------------------------------------
Tue Oct 21 13:19:13 UTC 2014 - ddiss@suse.com
- Fix build on non-SUSE rpm based platforms.
-------------------------------------------------------------------
Tue Oct 21 12:49:07 UTC 2014 - ddiss@suse.com
- Update to 2.1.4 alpha
+ Added event_base_get_num_events() (0fa107d Mobai Zhang)
+ New event_base_active_by_fd API (865a142 Greg Hazel, 5c9da9a, 87fa2b0)
+ Add event_base_active_by_signal by analogy (4865943)
+ Add access to max event count stats (5173bef, efbd3dc, 26230a2
Andrew Sweeney)
+ Implemented EV_CLOSED event for epoll backend
(EPOLLRDHUP). (b1b69ac Diego Giagio, 53d2793, 43ffcf6, dfe1e52
Marcin Juszkiewicz, ff26633 Joakim Soderberg, 3908a5e)
+ Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
+ Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
+ Pass and return const for bufferevent_get_token_bucket_cfg (1c77fbb
Mark Ellzey)
+ Add watermark introspection (4ce242b Ondřej Kuzník)
+ Add an option to trigger bufferevent I/O callbacks (61ee18b Ondřej Kuzník)
+ Add an option to trigger bufferevent event callbacks (a7384c7
Ondřej Kuzník)
+ Clarifications in response to merge req. comments (bd41947 Ondřej
Kuzník)
+ Minor optimizations on bufferevent_trigger options (a3172a4)
+ Add evhttp_connection_get_server(). (a7f82a3 Maxime Henrion)
+ add a http default content type option (5a5acd9 Nicolas Martyanoff)
+ http: implement new evhttp_connection_get_addr() api. (0c7f040 Azat
Khuzhin)
+ Add a variant of evhttp_send_reply_chunk() with a callback on
evhttp_write_buffer() (8d8decf Julien BLACHE)
+ Allow registering callback for parsing HTTP headers (b0bd7fe Balint Reczey)
+ Provide on request complete callback facility (b083ca0 Andrew Sweeney)
+ evhttp_request_set_on_complete_cb to be more specific about what
the function actually does and usage (da86dda Andrew Sweeney)
+ Update unit test to make sure that the callback happens after the
+utput data is written (b85f398 Andrew Sweeney)
+ bug fix for issues #293 evdns_base_load_hosts doesn't remove
+utdated addresses (954d2f9, f03d353, 45eba6f Kuldeep Gupta)
+ Initial CMake commit. (e415196 Joakim Soderberg)
+ Add all tests and benchmarks to CMake project. (e9fc014 Joakim Soderberg)
+ More work on adding tests to CMake project (99c1dc3 Joakim Soderberg)
+ Generate a dummy evconfig-private.h so things build
properly. (ce14def Joakim Soderberg)
+ Link libm on unix platforms. (58fcd42 Joakim Soderberg)
+ Added some GCC specific options. (19222e5 Joakim Soderberg)
+ Use evutil_closesocket instead. (dbf2b51 Joakim Soderberg)
+ Add copyright and licensing files for CMake modules. (c259d53
Joakim Soderberg)
+ Only include WIN32 getopt where it is used. (9bbce0b Joakim Soderberg)
+ Fix bench_cascade program on Windows. (78da644 Joakim Soderberg)
+ Don't segfault on no found event backend. (8f2af50 Joakim Soderberg)
+ Only test the event backends available on the system. (7ea4159
Joakim Soderberg)
+ Added a "make verify" target. (e053c4f Joakim Soderberg)
+ Fix the make "verify" target on Windows. (67e5d74 Joakim Soderberg)
+ Get rid of deprecation warnings for OpenSSL on OSX 10.7+ (69c3516
Joakim Söderberg)
+ Fix kqueue support. (a831f2f Joakim Söderberg)
+ Added a test for testing if kqueue works with pipes. (2799b35
Joakim Söderberg)
+ Change the BSD license from 4 to 3-clause. (86df3ed Joakim Soderberg)
+ Minimum required python version is 2.4. (968e97b Joakim Soderberg)
+ Get rid of unknown pragma warnings. (0ef1d04 Joakim Soderberg)
+ Add a "make verify_coverage" target generation coverage
info. (f2483f8 Joakim Soderberg)
+ Fix the "make verify" target on NetBSD (4ac086a Joakim Soderberg)
+ Only look for ZLib when it is used (if tests are
included). (f780593 Joakim Soderberg)
+ Added EVENT__ENABLE_GCC_WARNINGS, turns all warnings into
errors. (dd413bd Joakim Soderberg)
+ Add CMake config and install targets. (f3446ed Joakim Soderberg)
+ Fix typo (4b754df Joakim Soderberg)
+ Some work on making it possible to simply do add_subdirectory() on
the project. (49ab363 Joakim Soderberg)
+ Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG (fd42e70 Joakim Soderberg)
+ Fix so that old nmake project still builds. (24d6466 Joakim
Soderberg)
+ Rename README to README.md and use markdown to format. (d2bc39a
Joakim Soderberg)
+ Update README with CMake build instructions. (604b8cc Joakim Soderberg)
+ Clean up the README some. (8d4cb35 JoakimSoderberg)
+ Forgotten headers for old nmake project compatability. (8697b99
Joakim Soderberg)
+ Change all uses of WIN32 to _WIN32 (4e14395 Joakim Söderberg)
+ Fix include bug. (2024467 Joakim Söderberg)
+ Check if we're on OSX before disabling deprecation in le-proxy
(8b40a5b Joakim Söderberg)
+ Fix broken autotools build. (ae1bd82 Joakim Söderberg)
+ Disclaimerize cmake a little in the README (d03b5bf)
+ Fix CMake compile when OpenSSL is disabled. (e423d42 Joakim
Söderberg)
+ CMake: Get rid of python not found warning when regress tests
turned off. (d38d798 Joakim Söderberg)
+ Fix https-client compilation on Windows. (d7be788 Joakim Soderberg)
+ Guard against EVENT_NOWIN32 being set during testing. (f1715b4
Joakim Soderberg)
+ Check for OSX when checking for clang. (e212c54 Joakim Soderberg)
+ Added a Travis-CI configuration file. (8c0f0a9 Joakim Soderberg)
+ Added -Qunused-arguments for clang on macosx (ed99d92 Trond Norbye)
+ Rename event_extras to event_extra (a0dd5df Trond Norbye)
+ Add option to build shared library (4545fa9 Trond Norbye)
+ Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)
+ Add cmake-related files to .gitignore (e061321 Trond Norbye)
+ Export event_extra not event_extras. (2b41bcf Joakim Söderberg)
+ If evsel->del() fails, don't leave the evmap in an inconsistent
state (9b5a527 Maxime Henrion)
+ Move event_debug_note_teardown_ before mm_free. (69b5c64)
+ Check CLOCK_MONOTONIC_* at runtime if needed. (911abf3)
+ Fix reinit of fds with EV_WRITE but not EV_READ. (ebfd8a8 maksqwe)
+ Tweaked callbacks to prevent race condition
(https://github.com/libevent/libevent/issues/104) (40830f1, 2ea15ed
John Ohl)
+ Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE
case (9805972)
+ Fix a double close() bug in evhttp when the underlying bufferevent uses
BEV_OPT_CLOSE_ON_FREE. (31db8a0 Maxime Henrion)
+ Fix an unlikely but possible error case for http connections (f22049e)
+ Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
+ Use windows vsnprintf fixup logic on all windows environments (e826f19)
+ libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
(b8f5980 Frank Denis)
+ When we seed from /proc/sys/kernel/random/uuid, count it as success
(e35b540)
+ We should return after arc4random_buf() (1ea1f26 Makoto Kato)
+ Avoid other RNG initialization FS reads when urandom file is
specified (9695e9c)
+ Really remove RNG seeds from the stack (f5ced88)
+ Fix another arc4random_buf-related warning (e64a2b0)
+ Initialize async bufferevent timeout CBs unconditionally (af9b2a7)
+ Checking request nameserver for NULL, before using it. (5c710c0
Belobrov Andrey)
+ Fix SEGFAULT after evdns_base_resume if no nameservers
installed. (14971a8 Azat Khuzhin)
+ Actually use the log facility for reporting evdns problems. (e1766a1)
+ Fix SEGFAULT after evdns_base_resume if no nameservers
installed. (f8d7df8 Azat Khuzhin)
+ fix for ServFail from RIPE Atlas release (62f596b Antony Antony)
+ Fix test compilation with nmake: add the gdi.lib dependency (5ba8ab7)
+ Whoops. It is gdi.lib, not gdi32.lib. (github issue #61) (8ab612e)
+ Don't use return since return type is void and build error occurs
using clang (838161d Makoto Kato)
+ Use void casts to suppress some "unchecked return value" warns (7080d55)
+ rpcgen: Generate regress.gen.[c,h] in build rather than src dir
(243386c Ross Lagerwall)
+ Fix a compiler warning when checking for arc4random_buf linker
breakage. (5cb3865)
+ Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
(239d834)
+ Fix a c90 warning (c207682)
+ Fix consts in WIN32-Code/getopt*.[ch] (57abb35)
+ Missed lock acquire/release in event_base_cancel_single_callback_()
(d3d999a Azat Khuzhin)
+ Fix locking in bufferevent_get_options_(). (dbc9cd4 Maxime Henrion)
+ Avoid leaking segment mappings when offset is not a page multiple (d409514)
+ Add tests for evdns_base_resume(). (1cd9ff5 Azat Khuzhin)
+ Fix dns/leak_resume_send_err test. (7e876df Azat Khuzhin)
+ Add checks for evhttp_connection_get_server() in unit
tests. (fbc323b Maxime Henrion)
+ Fix a (failure-only) null dereference in the unit tests (1104d0b)
+ Fix a logic error in test_evbuffer_freeze (7765884)
+ Add missing check to test_evbuffer_file_segment_add_cleanup_cb (eba4506)
+ Fix some crash-on-fail cases in DNS regression tests (87cd6f0)
+ DNS tests: add a missing check (f314900)
+ Finalize tests: add a missing check (82b6956)
+ test_evutil_rtrim: add another missing check. (e193c95)
+ regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
(611e28b Azat Khuzhin)
+ regress_http: add tests for evhttp_connection_get_addr() (4dd500c
Azat Khuzhin)
+ Update to the latest version of tinytest (7a80476)
+ Heap-allocate zlib data structure in regress_zlib tests (4947c18)
+ Avoid redundant syscall to make a nonblocking socket nonblocking
(42c03da Maxime Henrion)
+ Avoid redundant syscall if making a socket cloexec twice (1f29b18)
+ Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
+ Document that arc4random is not a great cryptographic PRNG. (6e49696)
+ Small doxygen tweaks (6e67b51)
+ Try another doxygen tweak (ccf432b)
+ Clarify event_base_loop exit conditions (031a803)
+ Fix a typo (be7bf2c Ondřej Kuzník)
+ Document deferred eventcb behaviour (13a9a02 Ondřej Kuzník)
+ Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
+ Fix duplicate paragraph in evbuffer_ptr documentation (58408ee)
+ Fix a pile of coverity warnings in the unit tests (867f401)
+ Fix coverity warnings in benchmark tools. (ff7f739)
+ Whoops; fix compilation in bench.c (544cf88)
+ Remove spurious checks in evrpc.c error cases (coverity) (991b362)
+ Fix a couple of compilation warnings in regress_http.c (860767e)
+ Fix even more coverity warnings. (d240328)
+ Stop checking for inet_aton; we don't use it. (f665d5c)
+ Add an include to evrpc-internal to fix openbsd compilation warning
(5e161c6)
+ Remove an unreachable return statement in minheap-internal.h (e639a9e)
+ Refactor evmap_{io,signal}_active_() to tolerate bad inputs (974c60e)
+ Fix needless bufferevent includes in evdns.c (254c04e)
+ Fix a couple of "#ifdef WIN32" instances (88ecda3)
+ Remove unneeded declaration in bufferevent-internal.h (4c8ebcd)
+ le-proxy: Fail more gracefully if opening listener fails (44b2491)
+ http-server: drop uri_root from base_url in http-server. (6171e1c Azat Khuzhin)
+ https-client: POST supported, args supported (c5887f7 Alexey Ozeritsky)
+ https-client: code cleanup (29af65e Alexey Ozeritsky)
+ https-client: Small tweaks to https-client.c (90786eb)
+ https-client: Set hostname for SNI extension (by f69m) (d1976f8)
+ https-client: add a cast to https-client.c (462e6b6)
- Update to 2.1.3 alpha
+ Implement event_finalize() and related functions to avoid certain
deadlocks (8eedeab)
+ Use finalization feature so bufferevents can avoid deadlocks (02fbf68)
+ Always run pending finalizers when event_base_free() is called (e9ebef8)
+ Remove bufferevent_del_generic_timeout_cbs as now unused (4ea4c6a)
+ More documentation for finalization feature (a800b91)
+ Make the event_finalize* functions return an error code (5d11f4f)
+ Mark the finalize stuff as experiemental in case it needs to
change (23e2e29)
+ evdns: New flag to make evdns not prevent the event loop from
exiting (6b7fa62 Azat Khuzhin)
+ Make event_remove_timer behave correctly with persistent timers (5623e80)
+ Unit test for event_remove_timer with EV_PERSIST. (96150dd)
+ Double-check next timeout when adding events (9443868 Nate Rosenblum)
+ event_base_update_cache_time should be a no-op if the loop isn't
running (5e6fa2a)
+ fix #73 and fix http_connection_fail_test to catch it (b618204 Greg Hazel)
+ Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
+ Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
+ Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
(74d4c44 Kevin Bowling)
+ Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake
1.13 compat (817ea36)
+ Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
+ Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
+ Avoid leaking fds on evconnlistener with no callback set (69db261)
+ Avoid double-close on getsockname error in evutil_ersatz_socketpair
(0a822a6)
+ Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
+ Fix a mistake in evbuffer_remove() arguments in example http server code
(c322c20 Gyepi Sam)
+ Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
+ minor documentation typos (809586a Patrick Pelletier)
+ Fix cut-and-paste err in whatsnew-2.1 (49905ac)
+ Fix comment to refer to sample/include.am correctly (9e8cdf3 Sebastian
Hahn)
+ Fix typo : Dispatching instead of Dispaching (0c2bacc Volker Lendecke)
+ fix some hinky indentation in evhttp_make_request (80e220e Patrick
Pelletier)
+ "buffer" spelling (a452811 Patrick Pelletier)
+ Specify return behavior in header for evbuffer_pullup() in corner case
(cf8d1cd Dan Petro)
+ Clarify an important point about event_base_foreach_event() (920a5e6)
+ avoid valgrind false positive by zeroing epoll_event (1258614 Patrick
Pelletier)
+ Fix harmless clang enum warning (b452a43 Sebastian Hahn)
+ remove all exes on "make clean", not just regress.exe (974bfa0 Patrick
Pelletier)
+ Make --disable-libevent-regress work again (787fd74)
+ Do not build strlcpy.c when it will have no code. (4914620)
+ When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it (bf7a0ff)
+ Preliminary changes for Minix3. (0dda56a Nicholas Heath)
+ Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13
compat (bf278b)
+ Avoid using $(top_srcdir) in TESTS. (2863c83)
+ build test/test-script.sh on systems with a less-featureful $< (f935e21)
+ Implement EVUTIL_ERR_IS_EAGAIN on windows. (42aaf4d)
+ Fix ipv6 support for http. When URL contain domain, not IP
address. (71e709c Azat Khuzhin)
+ uri decode: fix for warning "use of uninitialised value" (64b6ece Azat
Khuzhin)
+ uri decode: changed the test for the existence of the next character
(e1903e3 Azat Khuzhin)
+ Move prototype of evhttp_decode_uri_internal() to http-internal.h
(de8101a Azat Khuzhin)
+ Test: decoding just part of string with evhttp_decode_uri_internal()
(1367653 Azat Khuzhin)
+ Add new error_cb for actual reporting of HTTP request errors. (7b07719
Azat Khuzhin)
+ Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test() (862c217
Azat Khuzhin)
+ Drop extra header http_struct.h from regress_http.c (54cc800 Azat Khuzhin)
+ Add regress test ipv6_for_domain. (9ec88bd Azat Khuzhin)
+ Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug
mode (2fad0f3)
+ Add a test with an active_later event at event_base_free time. (1c3147f)
+ Make all tests pass under EVENT_DEBUG_MODE=1 (b1b054f)
+ Add some verbose notes to bufferevent unit tests (9d893c9)
+ New test for active_later->active transition on event_active (a153874)
+ New tests for event_base_foreach_event() (0b096ef)
+ Unit tests for event_base_gettimeofday_cached() and
event_base_update_cache_time() (30ea291)
+ A test for event_get_assignment() (f09629e)
+ More unit tests for initializing common timeouts. (d596739)
+ Fix a bug in the new main/event_foreach test (702c9aa)
+ use FormatMessage for winsock errors (0c6ec5d, 2078e9b, 4ccdd53, c9ad3af
Patrick Pelletier)
+ a program to print out the error strings for winsock errors (7296512
Patrick Pelletier)
+ Fix a warning introduced in 0c6ec5d8 (eeb700c)
+ Fix another warning introduced in 0c6ec5d8 (ed26561)
+ Add sample/https-client.c, an example of stacking evhttp as a client on
top of bufferevent_ssl. (be46c99 Catalin Patulea)
+ use ${OPENSSL_LIBS} instead of -lssl -lcrypto (bf31fa5 Patrick Pelletier)
+ https-client was putting newlines at 256-byte boundaries (42d7441 Patrick
Pelletier)
+ better handling of OpenSSL errors (5754d96 Patrick Pelletier)
+ use Debian's default root certificate location (aacd674 Patrick Pelletier)
+ use iSECPartners code to validate hostname in certificate (64d9f16
Patrick Pelletier)
+ avoid sign mismatch warning in openssl_hostname_validation.c (6021cb5
Patrick Pelletier)
+ pull in wildcard matching code from cURL (4db9da6 Patrick Pelletier)
+ Another tweak to https-client.c (95acdaa)
+ Remove http_struct.h usage in sample/https-client.c (8a90a85)
- Update to 2.1.2 alpha
+ Replace pipe-based notification with EVFILT_USER where possible. This
should make multithreaded programs on OSX and *BSD alert the main thread a
little faster. (53a07fe)
+ Make th_base_lock nonrecursive. (9cd5acb)
+ New event_get_priority() function to return an event's priority (f90e255)
+ Add a bufferevent_get_priority() function (bd39554)
+ Add an event_base_loopcontinue() to tell Libevent to rescan for more
events right away (7d6aa5e)
+ Add a new callback to get called on evbuffer_file_segment free
(e9f8feb yangacer, 64051b9)
+ Expose event_base_foreach_event() as a public API. (84fd6d7 Roman
Puls, 232055e, ffe1643)
+ Add an event_remove_timer() to remove timer on an event without
deleting it (e3b2e08)
+ Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible
semantics (9dee36b)
+ Rename event_enable_lock_debuging() to ..._debugging(). (The old name
should still work.) (07e132e)
+ Add missing implementation for event_enable_debug_logging (3b3e21d)
+ Use mach_absolute_time() for monotonic clock support on OSX. (b8fd6f9)
+ Do not track use_monotonic field when is no monotonic clock (cb653a0)
+ EVENT_BASE_FLAG_PRECISE_TIMER indicates we want fine timer precision
(ddd69d3)
+ On Linux, use CLOCK_MONOTONIC_COARSE by default (55780a7)
+ Implement a GetTickCount-based monotonic timer for Windows (d5e1d5a)
+ Refactor monotonic timer handling into a new type and set of
functions; add a gettimeofday-based ratcheting implementation (f5e4eb0)
+ Add EVENT_PRECISE_TIMER environment var for selecting precise-but-slow
timer (a2598ec)
+ Implement fast/precise monotonic clocks on Windows (2c47045)
+ Simple unit tests for monotonic timers (630f077)
+ Improve the monotonic-time unit test: make it check the step size (7428c78)
+ When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
precision (26c7582)
+ Split out time-related evutil functions into a new evutil_time.c (c419485)
+ Split out time-related prototypes into time-internal.h (71bca50)
+ Add evutil_time.obj to Makefile.nmake (0ba0683)
+ Avoid giving a spurious warning when timerfd support is unavailable
(1aaf9f0 Dave Hart)
+ Make test_evutil_monotonic a little more tolerant (def3b83)
+ Avoid unused-var warning on systems with clock_gettime but without
CLOCK_MONOTONIC_COARSE (9be5468)
+ Free dangling event_once objects on event_base_free() (c17dd59)
+ Add a unit test in which an event is created with event_base_once()
but never fires (4343edf)
+ Simplify test.sh code significantly. (9b856fd Ross Lagerwall)
+ Make all tests that hit the network disabled by default (f2cea87)
+ Avoid a resource leak on error in http client benchmark (ea92fba)
+ Update to latest tinytest (911b4f0349377) (ef7c4f7)
+ Avoid (unlikely) overflow in bench_httpclient.c (5671033)
+ Shave 700 msec off the persistent_timeout_jump test (21205b8)
+ Check return value of write() in regress.c (c8009d2)
+ Make load-dependent monotonic timer tests off-by-default (2b6fe8b)
+ Add deferred_cb_skew to list of timing-dependent tests (34c8f31)
+ Avoid test -e; older shs don't have one. (f1bd938)
+ Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
+ Fix a couple of compile warnings in the unit tests (5a9a014)
+ Change evutil_weakrand_() to avoid platform random() (e86af4b Nicholas
Marriott, 3aa4415)
+ Refactor the callback part of an event into its own event_callback
type (cba59e5)
+ Add "active later" event_callbacks to supersede deferred (745a63d)
+ event_base_assert_ok: check value of event_active_count for
correctness (fec8bae)
+ Replace deferred_cbs with event_callback-based implementation. (ae2b84b)
+ Replace more deferred_cb names with event_callback (a4079aa)
+ Give event_base_process_active a single exit path (581b5be)
+ Restore our priority-inversion-prevention code with deferreds (c0e425a)
+ Refactor event_persist_closure: raise and extract some common logic
(bec22b4)
+ Remove the unused bits from EVLIST_ALL (9889a3d)
+ Split long lists in Makefile.am into one-item-per-line (2711cda)
+ Remove unnecessary code in configure.in. (e65914f Ross Lagerwall)
+ attempt to support OpenSSL in Makefile.nmake (eba0eb2 Patrick Pelletier)
+ Use newer syntax for autoconf/automake init (7d60ba8)
+ Enable silent build rules by default. Override with V=1 (7b18e5c)
+ Switch to non-recursive makefiles (7092f3b)
+ Rename subordinate Makefile.ams to include.am (6cdfeeb)
+ Make quiet build even quieter (371a123)
+ New --quiet option for event_rpcgen.py (aa59c1e)
+ Be quiet when making regress.gen.[ch] (607a8ff)
+ Fix handling of no-python case for nonrecursive make (1e3123d)
+ We now require automake 1.9 or later. Modernize! (b7f6e89)
+ Rename configure.in to configure.ac. (b3fea67 Ross Lagerwall)
+ Use correct openssl libs and includes in pkgconfig file (d70af27)
+ Use the same CFLAGS for openssl when building unit tests as with
libevent (1d9d511)
+ Note that make_base_notifiable should not be necessary (26ee5f9)
+ Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs (371efeb)
+ Add caveat to docs about bufferevent_free() with data in outbuf (6fab9ee)
+ Make it more clear that NOLOCK means "I promise, no multithreading"
(9444524)
+ Fix a comment in test-fdleak after 077c7e949. (3881d8f Ross Lagerwall)
+ Make the Makefile.nmake warning slightly less dire (e7bf4c8)
+ Fix typo : events instead of evets (05f1aca Azat Khuzhin)
+ Additional comments about OPENSSL_DIR variable, prompted by Dave Hart
(6bde2ef Patrick Pelletier)
+ ignore LWS after field-content in headers (370a2c0 Artem Germanov)
+ Clean up rtrim implementation (aa59d80)
+ Remove trailing tabs in HTTP headers as well. (ac42519)
+ Remove internal ws from multiline http headers correctly (c6ff381)
+ Move evutil_rtrim_lws_ to evutil.c where it belongs (61b93af)
+ add evhttp_request_get_response_code_line (4f4d0c9 Jay R. Wren)
+ Use EVUTIL_SOCKET_ERROR() wrapper to save/restore errno in
evhttp_connection_fail_ (7afbd60)
+ preserve errno in evhttp_connection_fail_ for inspection by the
callback (36d0ee5 Patrick Pelletier)
+ Correctly handle running on a system where accept4 doesn't work. (9fbfe9b)
+ Avoid double-free on error in evbuffer_add_file. Found by
coverity. (6a81b1f)
+ Fix another possible uninitialized read in dns regression tests. Found
by coverity. (13525c5)
+ Add checks for functions in test-ratelim.c; found by Coverity (aa501e1)
+ Avoid memory leak in test_event_calloc unit test; found by coverity
(92817a1)
+ Fix a shadowed variable in addfile_test_readcb; found by coverity
(225344c)
+ Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by
coverity (6487f63)
+ Prevent reference leak of bufferevent if getaddrinfo fails. (b757786
Joachim Bauch)
+ Make event_base_getnpriorities work with old "implicit base" code
(c46cb9c)
+ Simplify and correct evutil_open_closeonexec_ (0de587f)
+ Fix event_dlist definition when sys/queue not included (81b6209
Derrick Pallas)
- Update to 2.1.1 alpha
+ Replace several TAILQ users with LIST. LIST can be a little faster than
TAILQ for cases where we don't need queue-like behavior. (f9db33d,
6494772, d313c29, 974d004)
+ Disabled code to optimize the case where we reinsert an existing
timeout (e47042f, 09cbc3d)
+ Remove a needless base-notify when rescheduling the first timeout (77a96fd)
+ Save a needless comparison when removing/adjusting timeouts (dd5189b)
+ Possible optimization: split event_queue_insert/remove into
separate functions. needs testing (efc4dc5)
+ Make event_count maintenance branchless at the expense of an
extra shift. Needs benchmarking (d1cee3b)
+ In the 2.1 branch, let's try out lazy gettimeofday/clock_gettime
comparison (2a83ecc)
+ Optimization in event_process_active(): ignore maxcb & endtime
for highest priority events. (a9866aa Alexander Drozdov)
+ Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)
+ Remove the eventqueue list and the ev_next pointers. (604569b 066775e)
+ Roughly 20% speed increase when line-draining a buffer using
EVBUFFER_EOL_CRLF (5dde0f0 Mina Naguib)
+ Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF (7b9d139)
+ Fix a bug in the improved EOL_CRLF code (d927965)
+ Remove a needless branch in evbuffer_drain() (d19a326)
+ Infrastructure for using faster/fewer syscalls when creating
sockets (a1c042b)
+ Minimize syscalls during socket creation in listener.c (7e9e289)
+ Use a wrapper function to create the notification
pipe/socketpair/eventfd (ca76cd9)
+ Use pipes for telling signals to main thread when possible (a35f396)
+ Save syscalls when constructing listener sockets for evhttp (af6c9d8)
+ Save some syscalls when creating evdns sockets (713e570)
+ Save some syscalls when constructing a socket for a bufferevent (33fca62)
+ Prefer epoll_create1 on Linuxen that have it (bac906c)
+ Use current event set rather than current pending change when
deciding whether to no-op a del (04ba27e Mike Smellie)
+ Replace big chain of if/thens in epoll.c with a table lookup (8c83eb6)
+ Clean up error handling in epoll_apply_one_change() a little (2d55a19)
+ evport: use evmap_io to track fdinfo status. Should save time and
RAM. (4687ce4)
+ evport: Remove a linear search over recent events when
reactivating them (0f77efe)
+ evport: Use portev_user to remember fdinfo struct (276ec0e)
+ evport: don't scan more events in ed_pending than needed (849a5cf)
+ evport: Remove artificial low limit on max events per getn call (c04d927)
+ Reenable main/many_events_slow_add for evport in 2.1 (e903db3)
+ Use GetSystemTimeAsFileTime to implement gettimeofday on
win32. It's faster and more accurate than our old
approach. (b8b8aa5)
+ Add event_enable_debug_logging() to control use of debug logs (e30a82f)
+ Add event_config function to limit time/callbacks between calls
to dispatch (fd4de1e, 9fa56bd, a37a0c0, 3c63edd)
+ New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no
events are pending (084e68f)
+ Add event_base_get_npriorities() function. (ee3a4ee Alexander Drozdov)
+ Make evbase_priority_init() and evbase_get_npriorities()
threadsafe (3c55b5e)
+ New event_base_update_cache_time() to set cached_tv to current
time (212533e Abel Mathew)
+ Add event_self_cbarg() to be used in conjunction with
event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c,
33e43ef)
+ Add a new libevent_global_shutdown() to free all globals before
exiting. (041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)
+ Use getifaddrs to detect our interfaces if possible (7085a45)
+ Add event_base_get_running_event() to get the event* whose cb we
are in (c5732fd, 13dad99)
+ Implement --enable-gcc-hardening configure option (7550267 Sebastian Hahn)
+ Add evbuffer_add_file_segment() so one fd can be used efficiently
in more than one evbuffer_add_file at a time (e72afae, c2d9884,
3f405d2, 0aad014)
+ Fix windows file segment mappings (8254de7)
+ Allow evbuffer_ptr_set to yield a point just after the end of the
buffer. (e6fe1da)
+ Allow evbuffer_ptr to point to position 0 in an empty evbuffer
(7aeb2fd Nir Soffer)
+ Set the special "not found" evbuffer_ptr consistently. (e3e97ae Nir Soffer)
+ support adding buffers to other buffers non-destructively
(9d7368a Joachim Bauch)
+ prevent nested multicast references, reworked locking (26041a8
Joachim Bauch)
+ New EVBUFFER_EOL_NUL to read NUL-terminated strings from an
evbuffer (d7a8b36 Andrea Montefusco, 54142c9)
+ Make evbuffer_file_segment_types adaptable (c6bbbf1)
+ Added evbuffer_add_iovec and unit tests. (aaec5ac Mark Ellzey, 27b5398)
+ Add evbuffer_copyout_from to copy data from the middle of a
buffer (27e2225)
+ Allow users to set allow_dirty_shutdown (099d27d Catalin Patulea)
+ Tweak allow_dirty_shutdown documentation (a44cd2b)
+ Fix two issues in the allow_dirty_shutdown code. (f3b89de)
+ Add a bufferevent_getcb() to find a bufferevent's current
callbacks (a650394)
+ bufferevent: Add functions to set/get max_single_read/write
values. (998c813 Alexander Drozdov)
+ bev_ssl: Be more specific in event callbacks. evhttp in particular gets
confused without at least one of BEV_EVENT_{READING|WRITING}. (f7eb69a
Catalin Patulea)
+ Support TCP_DEFER_ACCEPT sockopts for listeners (5880e4a Mark Ellzey,
a270728)
+ Add another caveat to the TCP_DEFER_ACCEPT documentation (a270728)
+ Allow evconnlistener to be created in disabled state. (9593a33
Alexander Drozdov)
+ The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener
sockets too (4970329)
+ Add new evhttp_{connection_}set_timeout_tv() functions to set
finger-grained http timeouts (6350e6c Constantine Verutin)
+ Performance tweak to evhttp_parse_request_line. (aee1a97 Mark Ellzey)
+ Add missing break to evhttp_parse_request_line (0fcc536)
+ Add evhttp callback for bufferevent creation; this lets evhttp
support SSL. (8d3a850)
+ Remove calls to deprecated bufferevent functions from evhttp.c (4d63758)
+ evhttp: Add evhttp_foreach_bound_socket. (a2c48e3 Samy Al Bahra)
+ Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on
patches for correctness and robustness. (1fa7dbe Kevin Bowling)
+ Filter '# define' statements from autoconf and generate
event-private.h (321b558 Kevin Bowling)
+ Remove internal usage of _GNU_SOURCE (3b26541 Kevin Bowling)
+ Eliminate a couple more manual internal _GNU_SOURCE defines (c51ef93
Kevin Bowling)
+ Add AC_GNU_SOURCE to the fallback case. (ea8fa4c Kevin Bowling)
+ Use a Configuration Header Template for evconfig-private.h (868f888
Kevin Bowling)
+ Fix a comment warning and add evconfig-private.h to .gitignore
(f6d66bc Kevin Bowling)
+ Include evconfig-private.h in internal files for great good. (0915ca0
Kevin Bowling)
+ Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
(ad03952 Kevin Bowling)
+ Prefer the ./configure evconfig-private.h in MinGW, just in
case. (f964b72 Kevin Bowling)
+ Shell hack for weird mkdir -p commands (fd7b5a8 Kevin Bowling)
+ Add evconfig-private to remaining files (ded0a09 Kevin Bowling)
+ Allow use of --enable-silent-rules for quieter compilation with
automake 1.11 (f1f8514 Dave Hart)
+ Use "_WIN32", not WIN32: it's standard and we don't need to fake it
(9f560b)
+ In configure, test for _WIN32 not WIN32. (85078b1 Peter Rosin)
+ Do not define WIN32 in Makefile.nmake (d41f3ea Peter Rosin)
+ Provide the autoconf m4 macros for the new OpenSSL via pkg-config
stuff. (674dc3d Harlan Stenn)
+ Use pkg-config (if available) to handle OpenSSL. (1c63860 Harlan Stenn)
+ We need AM_CPPFLAGS when compiling bufferevent_openssl.c (6d2613b
Harlan Stenn)
+ Fix OSX build: $(OPENSSL_INCS) needs to be after
$(AM_CPPFLAGS). (46f1769 Zack Weinberg)
+ Make gcc warnings on by default, and --enable-gcc-warnings only add
-Werror (d46517e Sebastian Hahn)
+ Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in (88a30ad)
+ Move libevent 1.x headers to include/, to put all public headers in
+ne place. (bbea8d6)
+ Put #ifdef around some files to support alternate build
systems. (76d4c92 Ross Lagerwall)
+ Also make win32select.c conditional for IDE users (bf2c5a7)
+ Add a magic number to debug_locks to better catch lock-coding
errors. (b4a29c0 Dave Hart)
+ munge the debug_lock signature before freeing it: it might help us
catch use-after-free (f28084d)
+ Added --enable-event-debugging in configure (bc7b4e4, a9c2c9a Mark Ellzey)
+ Debug addition for printing usec on TIMEOUT debugging. (ac43ce0 Mark Ellzey)
+ Added usec debug in another area for debug (3baab0d Mark Ellzey)
+ added timeout debug logs to include event ptr. (4b7d298 Mark Ellzey)
+ more event dbg updates (6727543 Mark Ellzey)
+ Clarify event_enable_debug_logging a little (6207826)
+ Make --enable-verbose-debug option match its help text (10c3450)
+ Add argument checks to some memory functions in `event.c'. (c8953d1
Mansour Moufid)
+ More abstraction in test.sh (cd74c4e)
+ Add failing test for evbuffer_search_range. (8e26154 Nir Soffer)
+ Tweaks to return types with end-of-buf ptrs (9ab8ab8)
+ Add an (internal) usleep function for use by unit tests (f25d9d3)
+ Synchronize with upstream tinytest (6c81be7)
+ Make test-changelist faster (7622d26)
+ Reduce the timeout in the main/fork test. (ab14f7c)
+ New evhttp function to adjust initial retry timeout (350a3c4)
+ Make regression tests run over 3x faster. (67a1763)
+ Use test_timeval_diff_eq more consistently (b77b43f)
+ Allow more slop in deferred_cb_skew test; freebsd needs it (b9f7e5f)
+ When including an -internal.h header outside the main tree, do so
early (95e2455)
+ Add a new test: test-fdleak which tests for fd leaks by creating many
sockets. (2ef9278 Ross Lagerwall, f7af194, 1c4288f, etc)
+ Add a unit test for event_base_dump_events() (7afe48a, 8d08cce)
+ Test more bufferevent_ratelim features (c24f91a)
+ Improve evbuffer_ptr documentation (261ba63)
+ added comments to describe refcounting of multicast chains (ba24f61
Joachim Bauch)
+ Add doxygen for event_base_dump_events (cad5753)
+ Use "unlimited select" on OSX so that we can have more than
FD_SETSIZE fds (1fb5cc6)
+ Use SIG_IGN instead of a do-nothing handler for signal events with
kqueue (148458e Zack Weinberg)
+ event_rpcgen.py now prints status information to stdout and errors to
stderr. (ffb0ba0 Ross Lagerwall)
+ Make event_reinit() more robust and maintainable (272033e)
+ Restore fast-path event_reinit() for slower backends (2c4b5de)
+ Check changelist as part of checking representational integrity (39b3f38)
+ Fix a compile warning in event_reinit (e4a56ed Sebastian Hahn)
+ Refactor the functions that run over every event. (c89b4e6)
+ Remove the last vestiges of _EVENT_USE_EVENTLIST (a3cec90)
+ Make event-config.h depend on Makefile.am (2958a5c)
+ Don't do clang version detection when disabling some flags (083296b
Sebastian Hahn)
+ Check for NULL return on win32 mm_calloc, and set ENOMEM. (af7ba69)
+ Convert event-config.h macros to avoid reserved identifiers (68120d9)
+ Generate event-config.h using the correct macros. (f82c57e)
+ Convert include-guard macro convention to avoid reserved identifiers
(3f8c7cd)
+ Make event_rpcgen.py output conform to identifier conventions (372bff1)
+ Stop referring to an obsolete include guard in bench_http.h (5c0f7e0)
+ Make the generated event-config.h use correct include guards (639383a)
+ Fix all identifiers with names beginning with underscore. (cb9da0b)
+ Make event_rpcgen.py output conform to identifier conventions, more
(bcefd24)
+ Fix some problems introduced by automated identifier cleanup script
(c963534)
+ Have all visible internal function names end with an underscore. (8ac3c4c)
+ Apply the naming convention to our EVUTIL_IS* functions (c7848fa)
+ Clean up lingering _identifiers. (946b584)
+ Fix doxygen to use new macro conventions (da455e9)
+ Do not use system EAI/AI values if we are not using the system
getaddrinfo. (7bcac07)
-------------------------------------------------------------------
Sat Jun 29 12:36:28 UTC 2013 - i@marguerite.su
- update to 2.0.21
* see ChangeLog for details.
-------------------------------------------------------------------
Fri Nov 16 21:24:42 UTC 2012 - andreas.stieger@gmx.de
- update to 2.0.20
* core: Make event_pending() threadsafe
* evhttp: Fix a memory leak on error in evhttp_uriencode
* evbuffer: Avoid possible needless call to writev
* evdns: memset sockaddr_in before using it
* evhttp: Check more setsockopt return values when binding sockets
* evdns: Avoid segfault on weird timeout during name lookup
* bufferevent_ssl: Correctly invoke callbacks when a SSL
bufferevent reads some and then blocks
-------------------------------------------------------------------
Mon Jul 30 22:21:50 UTC 2012 - crrodriguez@opensuse.org
- Libevent 2.0.19
* Fix periodic timeout behavior when time jumps forwar
* Avoid certain priority inversions
* More evdns improvements
* lots of other bugfixes, see NEWS for details.
- Provide openssl support.
-------------------------------------------------------------------
Wed Feb 1 01:13:02 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Use "pkgconfig" BR so that the package also works on Redhats.
-------------------------------------------------------------------
Wed Aug 3 13:59:36 UTC 2011 - friseer@gmx.de
- spec mods
o libsoname macro
o name macro
- added baselibs.conf
- rpmlint
o fix self obsoletes
-------------------------------------------------------------------
Mon Mar 22 11:51:31 UTC 2011 - dimstar@opensuse.org
- Drop autoreconf call from build section. We do not carry any
patches at this time.
-------------------------------------------------------------------
Mon Mar 21 23:02:31 UTC 2011 - dimstar@opensuse.org
- Update to version 2.0.10:
+ Bugfixes:
- Minor fix for IOCP shutdown handling fix
- Correctly notify the main thread when activating an event
from a subthread
- Reject overlong http requests early when Expect:100-continue
is set
- EVUTIL_ASSERT: Use sizeof() to avoid "unused variable"
warnings with -DNDEBUG.
+ Code cleanups:
- bufferevent-internal.h: Use the new event2/util.h header,
not evutil.h
- Use relative includes instead of system includes consistently
- Make whitespace more consistent
- For all changes between 1.4.14 and 2.0.10, see ChangeLog.
- BuildRequire pkg-config, for proper pkgconfig() provides.
- Change library soname to libevent-2_0-5
-------------------------------------------------------------------
Mon Jun 21 14:41:53 UTC 2010 - alexandre@exatati.com.br
- Spec file cleaned with spec-cleaner;
- Changes in 1.4.14b-stable
o Set the VERSION_INFO correctly for 1.4.14
- Changes in 1.4.14-stable
o Add a .gitignore file for the 1.4 branch. (d014edb)
o Backport evbuffer_readln(). (b04cc60 Nicholas Marriott)
o Make the evbuffer_readln backport follow the current API (c545485)
o Valgrind fix: Clear struct kevent before checking for OSX bug. (5713d5d William Ahern)
o Fix a crash when reading badly formatted resolve.conf (5b10d00 Yasuoka Masahiko)
o Fix memory-leak of signal handler array with kqueue. [backport] (01f3775)
o Update sample/signal-test.c to use newer APIs and not leak. (891765c Evan Jones)
o Correct all versions in 1.4 branch (ac0d213)
o Make evutil_make_socket_nonblocking() leave any other flags alone. (81c26ba Jardel Weyrich)
o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking(). (5f2e250 Jardel Weyrich)
o Correct a debug message in evhttp_parse_request_line (35df59e)
o Merge branch 'readln-backport' into patches-1.4 (8771d5b)
o Do not send an HTTP error when we've already closed or responded. (4fd2dd9 Pavel Plesov)
o Re-add event_siglcb; some old code _was_ still using it. :( (bd03d06)
o Make Libevent 1.4 build on win32 with Unicode enabled. (bce58d6 Brodie Thiesfield)
o Distribute nmake makefile for 1.4 (20d706d)
o do not fail while sending on http connections the client closed. (5c8b446)
o make evhttp_send() safe against terminated connections, too (01ea0c5)
o Fix a free(NULL) in min_heap.h (2458934)
o Fix memory leak when setting up priorities; reported by Alexander Drozdov (cb1a722)
o Clean up properly when adding a signal handler fails. (ae6ece0 Gilad Benjamini)
o Do not abort HTTP requests missing a reason string. (29d7b32 Pierre Phaneuf)
o Fix compile warning in http.c (906d573)
o Define _REENTRANT as needed on Solaris, elsewhere (6cbea13)
- Changes in 1.4.13-stable:
o If the kernel tells us that there are a negative number of bytes to read from a socket, do not believe it. Fixes bug 2841177; found by Alexander Pronchenkov.
o Do not allocate the maximum event queue and fd array for the epoll backend at startup. Instead, start out accepting 32 events at a time, and double the queue's size when it seems that the OS is generating events faster than we're requesting them. Saves up to 512K per epoll-based event_base. Resolves bug 2839240.
o Fix compilation on Android, which forgot to define fd_mask in its sys/select.h
o Do not drop data from evbuffer when out of memory; reported by Jacek Masiulaniec
o Rename our replacement compat/sys/_time.h header to avoid build a conflict on HPUX; reported by Kathryn Hogg.
o Build kqueue.c correctly on GNU/kFreeBSD platforms. Patch pulled upstream from Debian.
o Fix a problem with excessive memory allocation when using multiple event priorities.
o When running set[ug]id, don't check the environment. Based on a patch from OpenBSD.
-------------------------------------------------------------------
Wed Oct 28 17:39:29 UTC 2009 - crrodriguez@opensuse.org
- libevent-devel Requires glibc-devel
-------------------------------------------------------------------
Thu Aug 27 15:21:57 CEST 2009 - meissner@suse.de
- Changes in 1.4.12-stable:
o Try to contain degree of failure when running on a win32 version so
heavily firewalled that we can't fake a socketpair.
o Fix an obscure timing-dependent, allocator-dependent crash in the evdns code.
o Use __VA_ARGS__ syntax for varargs macros in event_rpcgen when compiler
is not GCC.
o Activate fd events in a pseudorandom order with O(N) backends, so
that we don't systematically favor low fds (select) or earlier-added fds
(poll, win32).
o Fix another pair of fencepost bugs in epoll.c. [Patch from Adam Langley.]
o Do not break evdns connections to nameservers when our IP changes.
o Set truncated flag correctly in evdns server replies.
o Disable strict aliasing with GCC: our code is not compliant with it.
- Changes in 1.4.11-stable:
o Fix a bug when removing a timeout from the heap. [Patch from Marko Kreen]
o Remove the limit on size of HTTP headers by removing static buffers.
o Fix a nasty dangling pointer bug in epoll.c that could occur after
epoll_recalc(). [Patch from Kevin Springborn]
o Distribute Win32-Code/event-config.h, not ./event-config.h
- Changes in 1.4.10-stable:
o clean up buffered http connection data on reset; reported by Brian O'Kelley
o bug fix and potential race condition in signal handling; from Alexander Drozdov
o rename the Solaris event ports backend to evport
o support compilation on Haiku
o fix signal processing when a signal callback delivers a signal; from Alexander Drozdov
o const-ify some arguments to evdns functions.
o off-by-one error in epoll_recalc; reported by Victor Goya
o include Doxyfile in tar ball; from Jeff Garzik
o correctly parse queries with encoded \r, \n or + characters
-------------------------------------------------------------------
Mon Mar 16 16:48:18 CET 2009 - meissner@suse.de
- updated to 1.4.9-stable:
o event_add would not return error for some backends; from Dean McNamee
o Clear the timer cache on entering the event loop; reported by Victor Chang
o Only bind the socket on connect when a local address has been provided;
reported by Alejo Sanchez
o Allow setting of local port for evhttp connections to support millions
of connections from a single system; from Richard J ones.
o Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
o Fix a typo in setting the global event base; reported by lance.
o Fix a memory leak when reading multi-line headers
o Fix a memory leak by not running explicit close detection for server connections
- updated to 1.4.8-stable:
o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov.
o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.
o Do not remove Accept-Encoding header
- updated to 1.4.7-stable:
o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
- updated to 1.4.6-stable:
o evutil.h now includes <stdarg.h> directly
o switch all uses of [v]snprintf over to evutil
o Correct handling of trailing headers in chunked replies; from Scott Lamb.
o Support multi-line HTTP headers; based on a patch from Moshe Litvin
o Reject negative Content-Length headers; anonymous bug report
o Detect CLOCK_MONOTONIC at runtime for evdns; anonymous bug report
o Fix a bug where deleting signals with the kqueue backend would cause subsequent adds to fail
o Support multiple events listening on the same signal; make signals
regular events that go on the same event queue; problem
report by Alexander Drozdov.
o Deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley.
o Fix a bug in which the DNS server would incorrectly set the type of a cname reply to a.
o Fix a bug where setting the timeout on a bufferevent would take not effect if the event was already pending.
o Fix a memory leak when using signals for some event bases; reported by Alexander Drozdov.
o Add libevent.vcproj file to distribution to help with Windows build.
o Fix a problem with epoll() and reinit; problem report by Alexander Drozdov.
o Fix off-by-one errors in devpoll; from Ian Bell
o Make event_add not change any state if it fails; reported by Ian Bell.
o Do not warn on accept when errno is either EAGAIN or EINTR
-------------------------------------------------------------------
Tue Sep 16 17:54:14 CEST 2008 - mrueckert@suse.de
- split out devel and shared library package.
- drop static libs
-------------------------------------------------------------------
Thu Jul 3 11:57:22 CEST 2008 - meissner@suse.de
- upgraded to version 1.4.5-stable:
o Fix connection keep-alive behavior for HTTP/1.0
o Fix use of freed memory in event_reinit; pointed out by Peter Postma
o Constify struct timeval * where possible; pointed out by Forest
Wilkinson
o allow min_heap_erase to be called on removed members; from liusifan.
o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT. Retain
INPUT/OUTPUT aliases on on-win32 platforms for backwards compatibility.
o Do not use SO_REUSEADDR when connecting
o Fix Windows build
o Fix a bug in event_rpcgen when generated fixed-sized entries
- upgraded to version 1.4.4-stable:
o Correct the documentation on buffer printf functions.
o Don't warn on unimplemented epoll_create(): this isn't a problem,
just a reason to fall back to poll or select.
o Correctly handle timeouts larger than 35 minutes on Linux with epoll.c.
This is probably a kernel defect, but we'll have to support old kernels
anyway even if it gets fixed.
o Fix a potential stack corruption bug in tagging on 64-bit CPUs.
o expose bufferevent_setwatermark via header files and fix high watermark
on read
o fix a bug in bufferevent read water marks and add a test for them
o introduce bufferevent_setcb and bufferevent_setfd to allow better
manipulation of bufferevents
o use libevent's internal timercmp on all platforms, to avoid bugs on
old platforms where timercmp(a,b,<=) is buggy.
o reduce system calls for getting current time by caching it.
o fix evhttp_bind_socket() so that multiple sockets can be bound by
the same http server.
o Build test directory correctly with CPPFLAGS set.
o Fix build under Visual C++ 2005.
o Expose evhttp_accept_socket() API.
o Merge windows gettimeofday() replacement into a new
evutil_gettimeofday() function.
o Fix autoconf script behavior on IRIX.
o Make sure winsock2.h include always comes before windows.h include.
-------------------------------------------------------------------
Tue Apr 8 09:04:44 CEST 2008 - meissner@suse.de
- upgraded to version 1.4.3stable
* include Content-Length in reply for HTTP/1.0 requests with keep-alive
* Patch from Tani Hosokawa: make some functions in http.c threadsafe.
* Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
* make event_rpcgen.py generate code include event-config.h; reported by Sam Banks.
* make event methods static so that they are not exported; from Andrei Nigmatulin
* make RPC replies use application/octet-stream as mime type
* do not delete uninitialized timeout event in evdns
-------------------------------------------------------------------
Fri Mar 28 13:47:32 CET 2008 - meissner@suse.de
- upgraded to version 1.4.2rc
* make Solaris event subsystems more reliable; from W.C.A. Wijngaards
* event_base_get_method(); from Springande Ulv
* fix HTTP/1.1 chunk formatting; from "propanbutan"
* allow 64-bit content lengths; from Scott Lamb
* and more...
- upgraded to version 1.4.1beta
* fixed some memory leaks and other misc cleanup; from Christopher Layne, Scott Lamb and Charles Kerr
* introduced event_reinit to deal with fork()
* improved efficiency of generated RPC structure
* performance improvements to Win32 backend
* and many more...
- upgraded to version 1.4.0beta
* a new RPC subsytem for writing distributed clients and servers
* almost everything is documented via Doxygen now
* many fixes and improvements to evdns and evhttp
* libevent now builds two additional libraries: libevent_core (containing only the event core) and libevent_extras (contained evdns, evhttp and evrpc)
* performance improvements due to using a heap instead of red-black trees for timeouts
* Solaris' event ports are better supported
-------------------------------------------------------------------
Thu Dec 27 06:09:22 CET 2007 - crrodriguez@suse.de
- fix library-without-ldconfig-* errors
- version 1.3e
* Add a "Date" header to HTTP responses when it's missing, as required by HTTP 1.1. Original Patch from Ralph Moritz.
* Fix a memory leak in which failed HTTP connections whould not free the request object.
* Fix a memory leak in the DNS server.
* Handle NULL timeouts correctly on Solaris; from Trond Norbye
* Recalculate pending events properly when reallocating event array on Solaris; from Trond Norbye
-------------------------------------------------------------------
Mon Mar 5 14:00:29 CET 2007 - meissner@suse.de
- upgraded to 1.3b:
+ signals now useable in multithreaded apps.
-------------------------------------------------------------------
Tue Feb 20 13:17:44 CET 2007 - meissner@suse.de
- Updated to 1.3a.
+ Small bug and performances fixes to evhttp layer.
+ DNS Server from Adam Langley and Nick Mathewson
+ Chunked transfer encoding for HTTP/1.1 from Dug Song.
+ DNS DDoS fix; bug report from Jon Oberheide.
+ Various small improvements.
-------------------------------------------------------------------
Sun Nov 12 19:04:24 CET 2006 - lmuelle@suse.de
- Update to version 1.2.
+ Support for non-blocking DNS resolution.
+ Support for lightweight HTTP clients and servers.
-------------------------------------------------------------------
Wed Jan 25 21:37:27 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon May 30 12:05:26 CEST 2005 - okir@suse.de
- Initial packaging