]>
granicus.if.org Git - libevent/log
Nick Mathewson [Thu, 18 Sep 2014 15:25:27 +0000 (11:25 -0400)]
Merge pull request #128 from azat/tests-disable-when-inactive-v5
Some tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE flag
Nick Mathewson [Thu, 18 Sep 2014 15:24:56 +0000 (11:24 -0400)]
Merge pull request #129 from azat/disable-probing-with-disable-when-inactive-v2
evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
Nick Mathewson [Mon, 8 Sep 2014 19:37:31 +0000 (15:37 -0400)]
Merge pull request #167 from snikulov/pr_libevent_cmake_upd
updates in cmake build
Nick Mathewson [Wed, 3 Sep 2014 13:29:59 +0000 (09:29 -0400)]
Merge pull request #103 from ufo2243/master
[Bugfix] fix grammer error
ufo2243 [Wed, 3 Sep 2014 02:55:27 +0000 (10:55 +0800)]
[Bugfix] fix grammer error
Sergey Nikulov [Tue, 2 Sep 2014 14:25:52 +0000 (18:25 +0400)]
updates in cmake build
Nick Mathewson [Fri, 29 Aug 2014 19:26:56 +0000 (15:26 -0400)]
Correctly handle allocation failures in evdns_getaddrinfo
Kuldeep Gupta appears to have used some kind of automated tool to
find this and generate a patch for half the issue as #149.
Nick Mathewson [Fri, 29 Aug 2014 19:00:33 +0000 (15:00 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 29 Aug 2014 18:59:17 +0000 (14:59 -0400)]
Consistently check for failure from evbuffer_pullup()
Closes issue #148.
Nick Mathewson [Fri, 29 Aug 2014 18:38:09 +0000 (14:38 -0400)]
Merge pull request #153 from azat/tests-simplestsignal
test/regress: add simplestsignal: to track reorder bugs separately
Nick Mathewson [Fri, 29 Aug 2014 18:32:10 +0000 (14:32 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
sample/http-server.c
Nick Mathewson [Fri, 29 Aug 2014 18:31:07 +0000 (14:31 -0400)]
Use FindClose for handle from FindFirstFile in http-server.c
Noted by Miles Chan as issue #145
Nick Mathewson [Fri, 29 Aug 2014 18:28:09 +0000 (14:28 -0400)]
Change return type of evutil_load_windows_system_library_ to HMODULE
Noted by Miles Chan as issue #146
John Ohl [Wed, 30 Apr 2014 17:55:49 +0000 (13:55 -0400)]
Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE
Nick Mathewson [Mon, 18 Aug 2014 14:14:29 +0000 (10:14 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Pierre Phaneuf [Wed, 13 Aug 2014 22:17:52 +0000 (23:17 +0100)]
Add a few files created by "make verify" to .gitignore.
Azat Khuzhin [Sat, 22 Feb 2014 22:31:51 +0000 (02:31 +0400)]
test/regress: add simplestsignal: to track reorder bugs separately
Nick Mathewson [Sun, 15 Jun 2014 03:44:47 +0000 (23:44 -0400)]
Merge pull request #140 from vapier/ignore
ignore config.cache/test-driver files
Nick Mathewson [Sun, 15 Jun 2014 03:44:18 +0000 (23:44 -0400)]
Merge pull request #143 from vapier/disable-sample
add a --disable-samples configure flag
Mike Frysinger [Fri, 13 Jun 2014 21:07:50 +0000 (17:07 -0400)]
add a --disable-samples configure flag
For people building & installing libevent in a distro, building all these
sample apps are not useful. Add a flag to turn them off.
Mike Frysinger [Fri, 13 Jun 2014 18:18:13 +0000 (14:18 -0400)]
ignore config.cache/test-driver files
config.cache is generated when you run `./configure -C`.
test-driver comes from newer autotools.
Adrian Chadd [Sat, 7 Jun 2014 19:57:02 +0000 (12:57 -0700)]
Handle ENOTCAPABLE from FreeBSD - this is returned if an event in the
changelist is for an FD that has been closed.
Nick Mathewson [Fri, 30 May 2014 17:53:27 +0000 (13:53 -0400)]
Make http-server.c output into good html5
Nick Mathewson [Thu, 8 May 2014 17:21:49 +0000 (13:21 -0400)]
Update to a more recent tinytest_macros.
This one has less of a tendency to suppress important type warnings.
Nick Mathewson [Mon, 14 Apr 2014 14:00:51 +0000 (10:00 -0400)]
Merge pull request #132 from credil/master
ignore one more test binary
Michael Richardson [Sun, 13 Apr 2014 17:07:16 +0000 (13:07 -0400)]
ignore one more test binary
Azat Khuzhin [Fri, 11 Apr 2014 14:50:10 +0000 (18:50 +0400)]
regress dns: drop alarm() (since windows don't have it)
Azat Khuzhin [Thu, 10 Apr 2014 15:45:31 +0000 (19:45 +0400)]
evdns: we don't need to add retry timer in transmit_to it will be done on fail
Azat Khuzhin [Wed, 9 Apr 2014 21:11:42 +0000 (01:11 +0400)]
evdns: add regress test for flag EVDNS_BASE_DISABLE_WHEN_INACTIVE without ns
Azat Khuzhin [Wed, 9 Apr 2014 13:48:12 +0000 (17:48 +0400)]
evdns: add regress for EVDNS_BASE_DISABLE_WHEN_INACTIVE base flag
Azat Khuzhin [Fri, 21 Mar 2014 13:04:58 +0000 (17:04 +0400)]
evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
When user install EVDNS_BASE_DISABLE_WHEN_INACTIVE flag for evdns base,
we must remove the timer that is used for probing, if current dns server
failed, otherwise it won't break the loop.
Nick Mathewson [Mon, 31 Mar 2014 15:50:30 +0000 (11:50 -0400)]
Merge pull request #125 from azat/tree.h-drop-copy
tree.h: drop duplicated content of tree.h
Azat Khuzhin [Fri, 28 Mar 2014 16:44:09 +0000 (20:44 +0400)]
tree.h: drop duplicated content of tree.h
Introduced in
9859bc783adcd51729b3d7563902ac8caca67b42
("r15764@tombo: nickm | 2007-12-31 15:46:16 -0500")
Nick Mathewson [Wed, 26 Mar 2014 15:10:16 +0000 (11:10 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 21 Mar 2014 18:08:17 +0000 (14:08 -0400)]
Fix a crash in evdns related to shutting down evdns
(Improved version to deal correctly with probe requests)
Patch from YASUOKA Masahiko; fix for libevent github issue #113.
Nick Mathewson [Wed, 26 Mar 2014 15:02:52 +0000 (11:02 -0400)]
Merge pull request #121 from azat/dns-regress-leaks
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
Nick Mathewson [Wed, 26 Mar 2014 14:51:17 +0000 (10:51 -0400)]
Merge pull request #122 from trondn/missing-file
Add missing headerfile for cmake
Trond Norbye [Mon, 24 Mar 2014 14:01:02 +0000 (15:01 +0100)]
Add missing headerfile for cmake
Azat Khuzhin [Sun, 23 Mar 2014 11:12:29 +0000 (15:12 +0400)]
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
Nick Mathewson [Fri, 21 Mar 2014 18:09:54 +0000 (14:09 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 21 Mar 2014 18:08:17 +0000 (14:08 -0400)]
Fix a crash in evdns related to shutting down evdns
Patch from YASUOKA Masahiko; fix for libevent github issue #113.
Nick Mathewson [Fri, 21 Mar 2014 17:20:34 +0000 (13:20 -0400)]
Increment version to 2.1.4-alpha-dev
Nick Mathewson [Fri, 21 Mar 2014 16:33:13 +0000 (12:33 -0400)]
Update release date in changelog
Nick Mathewson [Fri, 21 Mar 2014 15:45:31 +0000 (11:45 -0400)]
Merge pull request #116 from trondn/cmake-build-fixes
Cmake build fixes
Trond Norbye [Fri, 21 Mar 2014 11:12:10 +0000 (12:12 +0100)]
Fixup make install for cmake projects
Install all of the public headers and put the dll's in the
same directory as the binaries.
Trond Norbye [Fri, 21 Mar 2014 10:59:55 +0000 (11:59 +0100)]
Renamed sin to saddr due to name conflict
During building on MSVC 2013 I got a compiler error by a
type conflict for sin:
test-fdleak.c(60) : error C2365: 'sin' : redefinition; previous definition was 'function'
test-fdleak.c(134) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(134) : error C2198: 'evconnlistener_new_bind' : too few arguments for call
test-fdleak.c(148) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(148) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
test-fdleak.c(149) : error C2224: left of '.sin_family' must have struct/union type
test-fdleak.c(212) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(212) : error C2198: 'bufferevent_socket_connect' : too few arguments for call
test-fdleak.c(239) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(239) : error C2168: 'memset' : too few actual parameters for intrinsic function
test-fdleak.c(240) : error C2224: left of '.sin_family' must have struct/union type
test-fdleak.c(241) : error C2224: left of '.sin_addr' must have struct/union type
test-fdleak.c(242) : error C2224: left of '.sin_port' must have struct/union type
The simplest solution to this problem would be to rename
the variable.
Nick Mathewson [Tue, 18 Mar 2014 22:36:32 +0000 (18:36 -0400)]
Correctly skip ipv6 http test on systems without ipv6
Nick Mathewson [Tue, 18 Mar 2014 16:35:39 +0000 (12:35 -0400)]
Remove integer-overflow unit tests
There's not much point checking undefined behavior.
Nick Mathewson [Tue, 18 Mar 2014 16:27:14 +0000 (12:27 -0400)]
evtag: detect tags over 32-bits earlier
Nick Mathewson [Tue, 18 Mar 2014 15:39:23 +0000 (11:39 -0400)]
Catch over-large port numbers early in http
Otherwise integer overflow potentially turns the port number into garbage.
Nick Mathewson [Tue, 18 Mar 2014 15:35:50 +0000 (11:35 -0400)]
Fix ubsan warnings when parsing ipv4/ipv6 addrs
left-shifting a one-byte integer by 24 invokes undefined behavior.
Let's not do that.
Nick Mathewson [Tue, 18 Mar 2014 15:25:58 +0000 (11:25 -0400)]
Fix a use-after-free error on EV_CLOSURE_EVENT_FINALIZE callbacks
After running the callback, we were checking evcb->evcb_closure to
decide whether to call mm_free(ev). But the callback itself might
have freed ev, so we need to grab that field first
Found with AddressSanitizer
Nick Mathewson [Tue, 18 Mar 2014 15:13:45 +0000 (11:13 -0400)]
Fix an illegal read error in the evbuffer_add_reference tests
Found with AddressSanitizer
Nick Mathewson [Mon, 17 Mar 2014 01:44:43 +0000 (21:44 -0400)]
Add new APIs to whatsnew-2.1
Nick Mathewson [Sun, 16 Mar 2014 16:09:24 +0000 (12:09 -0400)]
Increment version to 2.1.4-alpha
Nick Mathewson [Sun, 16 Mar 2014 16:01:44 +0000 (12:01 -0400)]
Bring changelog up to date for 2.1.4-alpha
Nick Mathewson [Thu, 13 Mar 2014 14:46:59 +0000 (10:46 -0400)]
Avoid double-close paths in http tests
Coverity spotted that there were some paths through the test
functions that would double-close some sockets.
Nick Mathewson [Wed, 12 Mar 2014 22:19:07 +0000 (18:19 -0400)]
Add missing include to regress_finalize.h
Nick Mathewson [Wed, 12 Mar 2014 22:13:19 +0000 (18:13 -0400)]
Skip http/ipv6_for_domain test when we have no ipv6 support
Nick Mathewson [Wed, 12 Mar 2014 22:12:43 +0000 (18:12 -0400)]
Add an include to evrpc-internal to fix openbsd compilation warning
Nick Mathewson [Wed, 12 Mar 2014 18:29:15 +0000 (14:29 -0400)]
Heap-allocate zlib data structure in regress_zlib tests
Nick Mathewson [Wed, 12 Mar 2014 18:06:41 +0000 (14:06 -0400)]
Fix consts in WIN32-Code/getopt*.[ch]
Nick Mathewson [Wed, 12 Mar 2014 18:06:02 +0000 (14:06 -0400)]
Fix duplicate paragraph in evbuffer_ptr documentation
Nick Mathewson [Wed, 12 Mar 2014 17:25:02 +0000 (13:25 -0400)]
Initialize async bufferevent timeout CBs unconditionally
This is a fix for bug #93 on nmathewson/Libevent.
Nick Mathewson [Wed, 12 Mar 2014 16:45:41 +0000 (12:45 -0400)]
add a cast to https-client.c
Joakim Söderberg [Fri, 7 Mar 2014 17:09:56 +0000 (18:09 +0100)]
Export event_extra not event_extras.
Nick Mathewson [Thu, 6 Mar 2014 23:09:00 +0000 (18:09 -0500)]
Update to the latest version of tinytest
This brings us up to tinytest
709a36ba63ff16d8
Nick Mathewson [Thu, 6 Mar 2014 15:18:09 +0000 (10:18 -0500)]
Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
Patch from Harlan Stenn.
Nick Mathewson [Thu, 6 Mar 2014 15:09:03 +0000 (10:09 -0500)]
Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE case
Based on a patch from Harlan Stenn.
Nick Mathewson [Mon, 3 Mar 2014 18:47:21 +0000 (13:47 -0500)]
Merge remote-tracking branch 'origin/pr/110'
Nick Mathewson [Mon, 3 Mar 2014 16:23:55 +0000 (11:23 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Trond Norbye [Wed, 19 Feb 2014 05:49:31 +0000 (06:49 +0100)]
Add -Qunused-arguments for clang on macos
The clang compiler provided with macosx emits warnings like:
CC bufferevent.lo
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ./compat'
clang: warning: argument unused during compilation: '-I ./include'
clang: warning: argument unused during compilation: '-I ./include'
for each file being compiled. This generates a lot of noise during
compilation making it hard to see "real" errors. This patch mute
those warnings.
Trond Norbye [Wed, 19 Feb 2014 05:31:27 +0000 (06:31 +0100)]
Add option to build shared library
Nick Mathewson [Mon, 24 Feb 2014 20:07:38 +0000 (15:07 -0500)]
Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP
Nick Mathewson [Mon, 24 Feb 2014 20:05:03 +0000 (20:05 +0000)]
Merge pull request #97 from JoakimSoderberg/openwrt_fixes
BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
Nick Mathewson [Mon, 24 Feb 2014 15:32:00 +0000 (10:32 -0500)]
Stop checking for inet_aton; we don't use it.
We had cmake and autoconf tests for the inet_aton function... but we
never actually use it any more.
(The autoconf tests still use the callability of inet_aton to decide
whether we need to link against -lresolv)
Reported by Harlan Stenn.
Trond Norbye [Wed, 19 Feb 2014 05:29:58 +0000 (06:29 +0100)]
Rename event_extras to event_extra
The library event_extras is named event_extra when building with
GNU autotools
Joakim Soderberg [Mon, 17 Feb 2014 12:43:10 +0000 (12:43 +0000)]
BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
Since epolltable-internal.h uses this define, it must be defined before that is included.
Nick Mathewson [Sat, 15 Feb 2014 03:51:11 +0000 (22:51 -0500)]
Merge pull request #108 from trondn/cmake-build-fix
CMake build-related fixes
Trond Norbye [Fri, 14 Feb 2014 08:04:48 +0000 (09:04 +0100)]
Add cmake-related files to .gitignore
Trond Norbye [Fri, 14 Feb 2014 07:26:07 +0000 (08:26 +0100)]
Added -Qunused-arguments for clang on macosx
The CLang provided through Xcode on Mac OSX emits warnings for
all unused include paths making the compilation extremely verbose.
Nick Mathewson [Sun, 9 Feb 2014 18:35:21 +0000 (13:35 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Sun, 9 Feb 2014 18:29:26 +0000 (13:29 -0500)]
bufferevent_pair: don't call downcast(NULL)
John Ohl [Mon, 27 Jan 2014 19:54:55 +0000 (14:54 -0500)]
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
John Ohl [Mon, 27 Jan 2014 18:03:36 +0000 (13:03 -0500)]
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
Joakim Soderberg [Fri, 24 Jan 2014 16:30:17 +0000 (16:30 +0000)]
Added a Travis-CI configuration file.
Initial stab at a first Travis config file.
Nick Mathewson [Wed, 22 Jan 2014 16:55:26 +0000 (11:55 -0500)]
Merge remote-tracking branch 'joakimsoderberg/win32_fixes'
Nick Mathewson [Wed, 22 Jan 2014 16:46:52 +0000 (11:46 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Marcin Juszkiewicz [Wed, 22 Jan 2014 10:17:35 +0000 (11:17 +0100)]
Check does arch have the epoll_create and __NR_epoll_wait syscalls.
Some architectures (like AArch64) do not have deprecated syscalls.
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Joakim Soderberg [Wed, 22 Jan 2014 12:19:49 +0000 (13:19 +0100)]
Check for OSX when checking for clang.
Joakim Soderberg [Wed, 22 Jan 2014 11:12:51 +0000 (12:12 +0100)]
Guard against EVENT_NOWIN32 being set during testing.
On windows all tests will fail if EVENT_NOWIN32 is set, since then there
will be no backend available.
Question is if we should simply disable the environment variable check on
Windows, since there's only one backend available anyway?
Joakim Soderberg [Wed, 22 Jan 2014 10:15:17 +0000 (11:15 +0100)]
Fix https-client compilation on Windows.
ssize_t is not defined. But using ssize_t for s in this context makes no
sense, since fread returns size_t.
Joakim Söderberg [Tue, 21 Jan 2014 23:06:21 +0000 (00:06 +0100)]
CMake: Get rid of python not found warning when regress tests turned off.
It would warn that python wasn't found when it was, just because the regress tests where turned off... confusing.
Joakim Söderberg [Tue, 21 Jan 2014 23:03:37 +0000 (00:03 +0100)]
Fix CMake compile when OpenSSL is disabled.
Nick Mathewson [Tue, 21 Jan 2014 20:47:44 +0000 (15:47 -0500)]
Split epoll lookup table into a separate header file
It accounted for more than half the length of epoll.c, and it's
machine-generated, so we might as well keep it separate.
Nick Mathewson [Tue, 21 Jan 2014 20:44:05 +0000 (15:44 -0500)]
Expand EV_CLOSED documentation a bit
Nick Mathewson [Tue, 21 Jan 2014 19:53:47 +0000 (14:53 -0500)]
Merge remote-tracking branch 'origin/pr/98'
Nick Mathewson [Tue, 21 Jan 2014 19:29:00 +0000 (14:29 -0500)]
Disclaimerize cmake a little in the README
Nick Mathewson [Tue, 21 Jan 2014 19:26:01 +0000 (14:26 -0500)]
Merge remote-tracking branch 'joakimsoderberg/new_cmake'
Conflicts:
sample/https-client.c
Joakim Söderberg [Tue, 21 Jan 2014 18:19:30 +0000 (19:19 +0100)]
Fix broken autotools build.
The move of the static *config.h files to a sub directory for WIN32 broke the autotools build. Use the proper subpath for that as well...