mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts: Makefile.am WIN32-Code/event2/event-config.h configure.in test/regress_ssl.c
This commit is contained in:
commit
e40bafe796
40
ChangeLog
40
ChangeLog
@ -1,3 +1,43 @@
|
|||||||
|
Changes in version 2.0.13-stable (?? Jul 2011)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Changes in version 2.0.12-stable (4 Jun 2011)
|
||||||
|
BUGFIXES
|
||||||
|
o Fix a warn-and-fail bug in kqueue by providing kevent() room to report errors (28317a0)
|
||||||
|
o Fix an assert-inducing fencepost bug in the select backend (d90149d)
|
||||||
|
o Fix failing http assertion introducd in commit 0d6622e (0848814 Kevin Ko)
|
||||||
|
o Fix a bug that prevented us from configuring IPv6 nameservers. (74760f1)
|
||||||
|
o Prevent size_t overflow in evhttp_htmlescape. (06c51cd Mansour Moufid)
|
||||||
|
o Added several checks for under/overflow conditions in evhttp_handle_chunked_read (a279272 Mark Ellzey)
|
||||||
|
o Added overflow checks in evhttp_read_body and evhttp_get_body (84560fc Mark Ellzey)
|
||||||
|
|
||||||
|
DOCUMENTATION:
|
||||||
|
o Add missing words to EVLOOP_NONBLOCK documentation (9556a7d)
|
||||||
|
|
||||||
|
BUILD FIXES
|
||||||
|
o libssl depends on libcrypto, not the other way around. (274dd03 Peter Rosin)
|
||||||
|
o Libtool brings in the dependencies of libevent_openssl.la automatically (7b819f2 Peter Rosin)
|
||||||
|
o Use OPENSSL_LIBS in Makefile.am (292092e Sebastian Hahn)
|
||||||
|
o Move the win32 detection in configure.in (ceb03b9 Sebastian Hahn)
|
||||||
|
o Correctly detect openssl on windows (6619385 Sebastian Hahn)
|
||||||
|
o Fix a compile warning with zlib 1.2.4 and 1.2.5 (5786b91 Sebastian Hahn)
|
||||||
|
o Fix compilation with GCC 2, which had no __builtin_expect (09d39a1 Dave Hart)
|
||||||
|
o Fix new warnings from GCC 4.6 (06a714f)
|
||||||
|
o Link with -lshell32 and -ladvapi32 on Win32. (86090ee Peter Rosin)
|
||||||
|
o Make the tests build when OpenSSL is not available. (07c41be Peter Rosin)
|
||||||
|
o Bring in the compile script from automake, if needed. (f3c7a4c Peter Rosin)
|
||||||
|
o MSVC does not provide S_ISDIR, so provide it manually. (70be7d1 Peter Rosin)
|
||||||
|
o unistd.h and sys/time.h might not exist. (fe93022 Peter Rosin)
|
||||||
|
o Make sure TINYTEST_LOCAL is defined when building tinytest.c (8fa030c Peter Rosin)
|
||||||
|
o Fix winsock2.h #include issues with MSVC (3d768dc Peter Rosin)
|
||||||
|
o Use evutil_gettimeofday instead of relying on the system gettimeofday. (0de87fe Peter Rosin)
|
||||||
|
o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
|
||||||
|
o InitializeCriticalSectionAndSpinCount requires _WIN32_WINNT >= 0x0403. (816115a Peter Rosin)
|
||||||
|
o cygwin: make it possible to build DLLs (d54d3fc)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Changes in version 2.0.11-stable (27 Apr 2011)
|
Changes in version 2.0.11-stable (27 Apr 2011)
|
||||||
[Autogenerated from the Git log, sorted and cleaned by hand.]
|
[Autogenerated from the Git log, sorted and cleaned by hand.]
|
||||||
BUGFIXES:
|
BUGFIXES:
|
||||||
|
14
Makefile.am
14
Makefile.am
@ -35,6 +35,20 @@ RELEASE = -release 2.1
|
|||||||
VERSION_INFO = 1:0:0
|
VERSION_INFO = 1:0:0
|
||||||
|
|
||||||
# History: RELEASE VERSION_INFO
|
# History: RELEASE VERSION_INFO
|
||||||
|
# 2.0.1-alpha -- 2.0 1:0:0
|
||||||
|
# 2.0.2-alpha -- 2:0:0
|
||||||
|
# 2.0.3-alpha -- 2:0:0 (should have incremented; didn't.)
|
||||||
|
# 2.0.4-alpha -- 3:0:0
|
||||||
|
# 2.0.5-beta -- 4:0:0
|
||||||
|
# 2.0.6-rc -- 2.0 2:0:0
|
||||||
|
# 2.0.7-rc -- 2.0 3:0:1
|
||||||
|
# 2.0.8-rc -- 2.0 4:0:2
|
||||||
|
# 2.0.9-rc -- 2.0 5:0:0 (ABI changed slightly)
|
||||||
|
# 2.0.10-stable-- 2.0 5:1:0 (No ABI change)
|
||||||
|
# 2.0.11-stable-- 2.0 6:0:1 (ABI changed, backward-compatible)
|
||||||
|
# 2.0.12-stable-- 2.0 6:1:1 (No ABI change)
|
||||||
|
#
|
||||||
|
# For Libevent 2.1:
|
||||||
# 2.1.1-alpha -- 2.1 1:0:0
|
# 2.1.1-alpha -- 2.1 1:0:0
|
||||||
|
|
||||||
|
|
||||||
|
5
README
5
README
@ -104,6 +104,8 @@ fixing bugs:
|
|||||||
Claudio Jeker
|
Claudio Jeker
|
||||||
Evan Jones
|
Evan Jones
|
||||||
Phua Keat
|
Phua Keat
|
||||||
|
Kevin Ko
|
||||||
|
Brian Koehmstedt
|
||||||
Marko Kreen
|
Marko Kreen
|
||||||
Valery Kyholodov
|
Valery Kyholodov
|
||||||
Scott Lamb
|
Scott Lamb
|
||||||
@ -122,6 +124,7 @@ fixing bugs:
|
|||||||
Andrey Matveev
|
Andrey Matveev
|
||||||
Caitlin Mercer
|
Caitlin Mercer
|
||||||
Dagobert Michelsen
|
Dagobert Michelsen
|
||||||
|
Mansour Moufid
|
||||||
Felix Nawothnig
|
Felix Nawothnig
|
||||||
Trond Norbye
|
Trond Norbye
|
||||||
Linus Nordberg
|
Linus Nordberg
|
||||||
@ -136,7 +139,9 @@ fixing bugs:
|
|||||||
Dimitre Piskyulev
|
Dimitre Piskyulev
|
||||||
Pavel Plesov
|
Pavel Plesov
|
||||||
Jon Poland
|
Jon Poland
|
||||||
|
Robert Ransom
|
||||||
Bert JW Regeer
|
Bert JW Regeer
|
||||||
|
Peter Rosin
|
||||||
Hanna Schroeter
|
Hanna Schroeter
|
||||||
Ralf Schmitt
|
Ralf Schmitt
|
||||||
Mike Smellie
|
Mike Smellie
|
||||||
|
1
event.c
1
event.c
@ -604,6 +604,7 @@ event_base_new_with_config(const struct event_config *cfg)
|
|||||||
if (base->evbase == NULL) {
|
if (base->evbase == NULL) {
|
||||||
event_warnx("%s: no event mechanism available",
|
event_warnx("%s: no event mechanism available",
|
||||||
__func__);
|
__func__);
|
||||||
|
base->evsel = NULL;
|
||||||
event_base_free(base);
|
event_base_free(base);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user