Skip to content

@azat azat released this Jul 5, 2020 · 727 commits to master since this release

This release contains only bug fixes.

Please note, that you should use dist archives, i.e. libevent-2.1.11-stable.tar.gz, not the sources generated by github automatically

Assets 4

@azat azat released this Aug 1, 2019 · 727 commits to master since this release

This release contains one ABI breakage fix (that had been introduced in
2.1.10, and strictly speaking this release breaks ABI again to make it
compatible with 2.1.9 and less, please take a look at 1810497 for more
details). Apart from that it contains some bug fixes, that grouped below.

And even though the return value for evbuffer_setcb() had been changed it
should ABI compatible (anyway that function is in -compat.h header).

There is also one patch that introduce new functionality, this is 546a366,
to tune SO_RCVBUF/SO_SNDBUF in evdns, but one can count it as a bug-fix on
the application level, since before you cannot tune this settings and hence
you could stumble on problems.

P.S. please use dist archives, i.e. libevent-2.1.11-stable.tar.gz (not the sources generated by github automatically)

Assets 4

@azat azat released this May 25, 2019 · 727 commits to master since this release

Finally 2.1.x stable release - 2.1.10-stable.

This release contains mostly fixes (some evbuffer oddity, AF_UNIX handling in http server, some UB fixes and others) but also some new functionality (without ABI breakage as usual) and now dist archive can be used for building on windows (getopt had been added into it).

I'm not going to attach ChangeLog here (since it is pretty large), but
for those who is curios you can find it here:
https://raw.github.com/libevent/libevent/release-2.1.10-stable/ChangeLog

It has been tested in next environment (with both cmake/autotools build
systems):

  • ubuntu
  • freebsd
  • osx
  • windows
  • netbsd
  • solaris
  • centos

As usual, many thanks to everyone who helped with
debugging/backporting/reporting/testing and fixing issues!

(please note, that you need "libevent-2.1.10-stable.tar.gz" not "Source
code" links, since later requires running ./autogen.sh)

Assets 4
Pre-release
Pre-release

@azat azat released this Feb 10, 2019 · 727 commits to master since this release

New 2.1.x release is out - 2.1.9-beta. The reason why it is beta, is
because it is better to have few weeks (or more) to know about possible
problems (although I'm pretty sure that it is good enough to be
stable).

2.1.9 contains almost all patches from 2.2 (since 2.2 contains almost
bug fixes only, except I guess only few patches or so), and it is pretty
stable in regression tests, but not without failures (some flackiness
still presented), although this is not the problem of libevent itself,
but it's tests.

I'm not going to attach ChangeLog here (since it is pretty large), but
for those who is curios you can find it here:
https://raw.github.com/libevent/libevent/release-2.1.9-beta/ChangeLog

It has been tested in next environment (with both cmake/autotools build
systems):

  • ubuntu
  • freebsd
  • osx
  • windows
  • netbsd
  • solaris
  • centos

As usual, many thanks (especially for those how reminded about making
new releases) to everyone who helped with
debugging/backporting/reporting/testing and fixing issues!

(please note, that you need "libevent-2.1.9-beta.tar.gz" not "Source
code" links, since later requires running ./autogen.sh)

Assets 4
Pre-release

@azat azat released this Jan 20, 2019 · 2182 commits to master since this release

First of let me say that everyone who still uses 2.0.x should strongly consider switching to 2.1.x releases, since 2.0.x will not contain all the bug fixes, because it can be pretty hard to backport them (for example 2.0.x does not support openssl 1.1)

Secondly, this release is beta, because since the last release it has been along time, so we need sometime to stabilize things a little, and if none of you will find something odd the it will be marked as 2.0.24-stable.

Many thanks to all who reported, fixed and helped with debugging issues and backporting patches!

Few words about release:

  • 2.0 backport branch (patches-2.0) had been added to the travis-ci for continuous integration (c52cdc2)
  • fix overflow check in expand_singlechain() (backport for #340) (7dedc07)
  • ipv6 fix for http (502c043)
  • Check for Mac OS X 10.4 kqueue bug properly (6762a4d)
  • bufferevent_socket_connect{,_hostname}() fixes (ebcf2fed)
  • Use the free-trailing-chains function in evbuffer_insert_chain too (0e894fb)
  • evbuffer_add: Use last_with_datap if set, not last. (b00db82)
  • fixes for EV_ET (e12762a5, 11732245)
  • Merge branch 'evbuffer_add_file-2.0-fixes' into patches-2.0 (90ae4c5)
  • If evsel->del() fails, don't leave the evmap in an inconsistent state. (cb81be2b)
  • Backport for #340 (fix overflow check in expand_singlechain() (7dedc07)
  • Use the free-trailing-chains function in evbuffer_insert_chain too (0e894fb)

For more information follow changelog/git log.

P.S. changelog contains duplicated entries, because of my mistake in my onelinear (different commit sha length).

Assets 4

@azat azat released this Jan 25, 2017 · 727 commits to master since this release

Libevent 2.1.8-stable
Assets 4
Pre-release
Pre-release

@azat azat released this Jan 22, 2017 · 780 commits to master since this release

Libevent 2.1.7-rc
Assets 2

@azat azat released this Aug 26, 2016 · 815 commits to master since this release

Libevent 2.1.6-beta
Assets 2
Pre-release
Pre-release

@errzey errzey released this May 28, 2015 · 1169 commits to master since this release

Security Fixes (evbuffers)
o Avoid integer overflow bugs in evbuffer_add() and related functions. See CVE-2014-6272 advisory for more information. (d49bc0e88b81a5812116074dc007f1db0ca1eecd)

New APIs (evconnlistener)
o Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT (b625361 Maciej Soltysiak)

Bugfixes (core)
o Fix use-after-free error in EV_CLOSURE_EVENT callback (3cc0eac John Ohl)
o Fix race caused by event_active (3c7d6fc vjpai)

Bugfixes (evbuffer)
o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (ba59923)
o Consistently check for failure from evbuffer_pullup() (60f8f72)
o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)

Bugfixes (windows, IOCP)
o be async: avoid double close() (f133b86 Azat Khuzhin)

Bugfixes (bufferevents)
o Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE (2c82aa0 John Ohl)
o make bufferevent_getwatermark api more robust (a21e510 ufo2243)
o [Bugfix] fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
o bufferevent_openssl: reset fd_is_set when setfd with -1 is called (3da84c2 Azat Khuzhin)
o Fix compilation for older OpenSSL versions. (5c7282f Joakim Soderberg)

New APIs (evhttp)
o Add evhttp_connection_set_family() to set addrinfo->family for DNS requests (12c29b0 Azat Khuzhin)
o Implement interface that provides the ability to have an outbound evhttp_connection free itself once all requests have completed (2b9ec4c,10fe4f John Ohl)

New APIs (core)
o Implement new/free for struct evutil_monotonic_timer and export monotonic time functions (f2645f8 Andrea Shepard)

Bugfixes (evdns)
o Load hosts file on Windows. (a0b247c Vilmos Nebehaj)
o Don't truncate hosts file path on Windows. (d0dc861 Vilmos Nebehaj)
o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)
o evdns: avoid read-after-free in evdns_request_timeout_callback() (61262a0 Azat Khuzhin)
o Correctly handle allocation failures in evdns_getaddrinfo (6a53d15)
o evdns: fix EVDNS_BASE_DISABLE_WHEN_INACTIVE in case retransmit/retry (74d0eee Azat Khuzhin)
o evdns: add retry/reissue tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE (3ca9d43 Azat Khuzhin)
o evdns: fail ns after we are failing/retrasmitting request (97c750d Azat Khuzhin)

Bugfixes (evhttp)
o http: reset connection before installing retry timer (fix http retries handling) (bc79cc5 Azat Khuzhin)

Testing
o regress_dns: fix leaks in getaddrinfo_async{,cancel_stress} tests (2fdc5f2 Azat Khuzhin)
o test: add family argument for http_connection_test
() (177b8a7 Azat Khuzhin)
o test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC (42aefeb Azat Khuzhin)
o test/http: add regress test for set family to AF_INET6 (3fbf3cc Azat Khuzhin)
o Update to a more recent tinytest_macros. (8da5a18)
o test/regress: add simplestsignal: to track reorder bugs separately (b897bef Azat Khuzhin)
o test/evbuffer_peek: add regress in case we have first buffer greater (e2d139d Azat Khuzhin)
o More evbuffer_peek() test cases (154006a)
o use correct tt macro for pointer compare (08c88ea)
o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
o Fix a use-after-free in unit tests. CID 752027 (3739057)
o Fix a dead-code warning in unit tests. CID 1193548 (c119f24)
o Use evutil_weakrand() in unit tests. (a677b72, 364c110)
o Use a more precise calculation for max in time-ratelim.c (ca5b5c7)
o Make a buffer larger in the tests to avoid a scary evbuffer_copyout_from() (fb57b8b)
o Fix several memory leaks in the unit tests. (89c1a3b)
o Add test for evhttp_connection_free_on_completion (b0e9924 John Ohl)
o Fix annoying heisenbug in test-time.c (cb73704)

Sample code
o Make http-server.c output into good html5 (6d72bdc)
o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
o https-client: add -retries argument, for connection retries (d9da844 Azat Khuzhin)

Bugfixes (build)
o Add missing headerfile for cmake (15d90cc Trond Norbye)
o ignore one more test binary (b6593aa Michael Richardson)
o ignore config.cache/test-driver files (c83f333 Mike Frysinger)
o add a --disable-samples configure flag (0c492b3 Mike Frysinger)
o Add a few files created by "make verify" to .gitignore. (1a8295a Pierre Phaneuf)
o updates in cmake build (27bd9fa Sergey Nikulov)
o Fix cmake error when the Module path has more than one entry. (befbd13 Acer Yang)
o Fix CMake shared library build (e69d910 Nobuaki Sukegawa)
o Fix warnings when compiling with clang 3.5 (f5b4765 John Ohl)
o Fix mixed declarations and code (forbidden by ISO C90) (8afbdbc Thomas Bernard)

Bugfixes (miscellaneous)
o tree.h: drop duplicated content of tree.h (6193187 Azat Khuzhin)
o evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE (610410b,ad0493e,fea86a6,d83b337,5ca9e97 Azat Khuzhin)
o [Bugfix] fix grammer error (3a4d249 ufo2243)
o Change return type of evutil_load_windows_system_library_ to HMODULE (f691389)
o Fix a c90 warning (76643dd)
o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)
o remove trailing comma from enum (b361b8a Jean-Philippe Ouellet)

Bugfixes (FreeBSD)
o Handle ENOTCAPABLE from FreeBSD - this is returned if an event in the changelist is for an FD that has been closed. (6fd7394 Adrian Chadd)

Assets 4

@errzey errzey released this May 28, 2015 · 2182 commits to master since this release

release-2.0.22-stable

Release 2.0.22-stable
Assets 4
You can’t perform that action at this time.