Log

Author Commit Date CI Message
Nick Mathewson a677b72b 2014-09-18T12:02:13 Use evutil_weakrand() in unit tests. (Coverity doesn't like random() or rand(). We don't care; this is for unit tests.) Fixes CID 1239298, 1239296, 1239295, 1239293.
Nick Mathewson 76643dd0 2014-09-18T11:54:39 Fix a c90 warning
Nick Mathewson c119f241 2014-09-18T11:54:04 Fix a dead-code warning in unit tests. CID 1193548
Nick Mathewson 37390574 2014-09-18T11:52:16 Fix a use-after-free in unit tests. CID 752027
Nick Mathewson c243dbf4 2014-09-18T11:44:11 Merge pull request #168 from ufo2243/master make bufferevent_getwatermark api more robust
Nick Mathewson c8c7fa3a 2014-09-18T11:41:18 Merge pull request #119 from ldx/winhosts Fix hosts file use on Windows.
John Ohl 3cc0eace 2014-09-16T22:25:52 Fix use-after-free error in EV_CLOSURE_EVENT callback
Nick Mathewson 35f107de 2014-09-18T11:36:08 Merge remote-tracking branch 'origin/patches-2.0'
Maks Naumov 79800df7 2014-03-25T13:35:13 regress_buffer: fix 'memcmp' compare size
Nick Mathewson 73615a37 2014-09-18T11:31:52 Merge pull request #118 from azat/http-forward-family-to-bufferevent Add evhttp_connection_set_family() to set addrinfo->family for DNS requests
Nick Mathewson 08c88ea5 2014-09-18T11:28:19 use correct tt macro for pointer compare
Nick Mathewson afce2721 2014-09-18T11:25:27 Merge pull request #128 from azat/tests-disable-when-inactive-v5 Some tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE flag
Nick Mathewson a7d5dabf 2014-09-18T11:24:56 Merge pull request #129 from azat/disable-probing-with-disable-when-inactive-v2 evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
ufo2243 a21e5108 2014-09-12T11:51:59 make bufferevent_getwatermark api more robust
Nick Mathewson 56ad6237 2014-09-08T15:37:31 Merge pull request #167 from snikulov/pr_libevent_cmake_upd updates in cmake build
Nick Mathewson 80347e6c 2014-09-03T09:29:59 Merge pull request #103 from ufo2243/master [Bugfix] fix grammer error
ufo2243 3a4d249c 2014-09-03T10:55:27 [Bugfix] fix grammer error
Sergey Nikulov 27bd9faf 2014-09-02T18:25:52 updates in cmake build
Nick Mathewson 6a53d153 2014-08-29T15:26:56 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 9d6acdc5 2014-08-29T15:00:33 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 60f8f729 2014-08-29T14:59:17 Consistently check for failure from evbuffer_pullup() Closes issue #148.
Nick Mathewson 9f3a8acf 2014-08-29T14:38:09 Merge pull request #153 from azat/tests-simplestsignal test/regress: add simplestsignal: to track reorder bugs separately
Nick Mathewson 8bf769c4 2014-08-29T14:32:10 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: sample/http-server.c
Nick Mathewson 6466e88a 2014-08-29T14:31:07 Use FindClose for handle from FindFirstFile in http-server.c Noted by Miles Chan as issue #145
Nick Mathewson f691389e 2014-08-29T14:28:09 Change return type of evutil_load_windows_system_library_ to HMODULE Noted by Miles Chan as issue #146
John Ohl 2c82aa0f 2014-04-30T13:55:49 Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE
Nick Mathewson 571295bd 2014-08-18T10:14:29 Merge remote-tracking branch 'origin/patches-2.0'
Pierre Phaneuf 1a8295a3 2014-08-13T23:17:52 Add a few files created by "make verify" to .gitignore.
Azat Khuzhin b897beff 2014-02-23T02:31:51 test/regress: add simplestsignal: to track reorder bugs separately
Nick Mathewson 6ec94926 2014-06-14T23:44:47 Merge pull request #140 from vapier/ignore ignore config.cache/test-driver files
Nick Mathewson c6becf2b 2014-06-14T23:44:18 Merge pull request #143 from vapier/disable-sample add a --disable-samples configure flag
Mike Frysinger 0c492b33 2014-06-13T17:07:50 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 c83f3333 2014-06-13T14:18:13 ignore config.cache/test-driver files config.cache is generated when you run `./configure -C`. test-driver comes from newer autotools.
Adrian Chadd 6fd73944 2014-06-07T12:57:02 Handle ENOTCAPABLE from FreeBSD - this is returned if an event in the changelist is for an FD that has been closed.
Nick Mathewson 6d72bdca 2014-05-30T13:53:27 Make http-server.c output into good html5
Nick Mathewson 8da5a186 2014-05-08T13:21:49 Update to a more recent tinytest_macros. This one has less of a tendency to suppress important type warnings.
Nick Mathewson 28db827e 2014-04-14T10:00:51 Merge pull request #132 from credil/master ignore one more test binary
Michael Richardson b6593aab 2014-04-13T13:07:16 ignore one more test binary
Azat Khuzhin 5ca9e97e 2014-04-11T18:50:10 regress dns: drop alarm() (since windows don't have it)
Azat Khuzhin d83b3371 2014-04-10T19:45:31 evdns: we don't need to add retry timer in transmit_to it will be done on fail
Azat Khuzhin fea86a64 2014-04-10T01:11:42 evdns: add regress test for flag EVDNS_BASE_DISABLE_WHEN_INACTIVE without ns
Azat Khuzhin ad0493ee 2014-04-09T17:48:12 evdns: add regress for EVDNS_BASE_DISABLE_WHEN_INACTIVE base flag
Azat Khuzhin 610410b5 2014-03-21T17:04:58 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 a4154192 2014-03-31T11:50:30 Merge pull request #125 from azat/tree.h-drop-copy tree.h: drop duplicated content of tree.h
Azat Khuzhin 61931871 2014-03-28T20:44:09 tree.h: drop duplicated content of tree.h Introduced in 9859bc783adcd51729b3d7563902ac8caca67b42 ("r15764@tombo: nickm | 2007-12-31 15:46:16 -0500")
Azat Khuzhin 3fbf3cc9 2014-03-27T00:49:00 test/http: add regress test for set family to AF_INET6
Azat Khuzhin 42aefeb0 2014-03-27T00:40:14 test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC
Azat Khuzhin 177b8a7c 2014-03-27T00:44:51 test: add family argument for http_connection_test_()
Nick Mathewson b163fdaa 2014-03-26T11:10:16 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson e8fe749d 2014-03-21T14:08:17 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 6066f985 2014-03-26T11:02:52 Merge pull request #121 from azat/dns-regress-leaks regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
Nick Mathewson 8163b1a1 2014-03-26T10:51:17 Merge pull request #122 from trondn/missing-file Add missing headerfile for cmake
Trond Norbye 15d90cce 2014-03-24T15:01:02 Add missing headerfile for cmake
Azat Khuzhin 2fdc5f29 2014-03-23T15:12:29 regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
Nick Mathewson 86665a58 2014-03-21T14:09:54 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 9f39c887 2014-03-21T14:08:17 Fix a crash in evdns related to shutting down evdns Patch from YASUOKA Masahiko; fix for libevent github issue #113.
Nick Mathewson de268feb 2014-03-21T13:20:34 Increment version to 2.1.4-alpha-dev
Nick Mathewson 50093afc 2014-03-21T12:33:13 Update release date in changelog
Nick Mathewson f5c0d6c3 2014-03-21T11:45:31 Merge pull request #116 from trondn/cmake-build-fixes Cmake build fixes
Vilmos Nebehaj d0dc861b 2014-03-21T14:38:11 Don't truncate hosts file path on Windows. Since evutil_snprintf() (actually evutil_vsnprintf() called by it) will make sure the buffer is null-terminated by placing a null byte at len_out - 1, we need to pass the full length of the buffer; otherwise the path will end in "\\host" instead of "\\hosts".
Vilmos Nebehaj a0b247cd 2014-03-21T14:36:15 Load hosts file on Windows. Hosts files are not loaded in evdns_base_config_windows_nameservers() if load_nameservers_with_getnetworkparams() succeeds on Windows. Parse and load it first before setting up nameservers.
Azat Khuzhin 12c29b0f 2014-03-21T17:32:09 Add evhttp_connection_set_family() to set addrinfo->family for DNS requests This is useful if you want to avoid extra dns requests.
Trond Norbye 73474042 2014-03-21T12:12:10 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 dc82c8d3 2014-03-21T11:59:55 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 6a1c4d50 2014-03-18T18:36:32 Correctly skip ipv6 http test on systems without ipv6
Nick Mathewson e5302ac7 2014-03-18T12:35:39 Remove integer-overflow unit tests There's not much point checking undefined behavior.
Nick Mathewson 31c49150 2014-03-18T12:27:14 evtag: detect tags over 32-bits earlier
Nick Mathewson e660db6d 2014-03-18T11:39:23 Catch over-large port numbers early in http Otherwise integer overflow potentially turns the port number into garbage.
Nick Mathewson 58fc9b6c 2014-03-18T11:35:50 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 ec99dd82 2014-03-18T11:25:58 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 860c71c8 2014-03-18T11:13:45 Fix an illegal read error in the evbuffer_add_reference tests Found with AddressSanitizer
Nick Mathewson 3b1b330d 2014-03-16T21:44:43 Add new APIs to whatsnew-2.1
Nick Mathewson d08273ec 2014-03-16T12:09:24 Increment version to 2.1.4-alpha
Nick Mathewson e6c6f120 2014-03-16T12:01:44 Bring changelog up to date for 2.1.4-alpha
Nick Mathewson 2578ec14 2014-03-13T10:46:59 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 b6f15cce 2014-03-12T18:19:07 Add missing include to regress_finalize.h
Nick Mathewson 21477e40 2014-03-12T18:13:19 Skip http/ipv6_for_domain test when we have no ipv6 support
Nick Mathewson 5e161c66 2014-03-12T18:12:43 Add an include to evrpc-internal to fix openbsd compilation warning
Nick Mathewson 4947c185 2014-03-12T14:29:15 Heap-allocate zlib data structure in regress_zlib tests
Nick Mathewson 57abb359 2014-03-12T14:06:41 Fix consts in WIN32-Code/getopt*.[ch]
Nick Mathewson 58408eed 2014-03-12T14:06:02 Fix duplicate paragraph in evbuffer_ptr documentation
Nick Mathewson af9b2a7a 2014-03-12T13:25:02 Initialize async bufferevent timeout CBs unconditionally This is a fix for bug #93 on nmathewson/Libevent.
Nick Mathewson 462e6b60 2014-03-12T12:45:41 add a cast to https-client.c
Joakim Söderberg 2b41bcf8 2014-03-07T18:09:56 Export event_extra not event_extras.
Nick Mathewson 7a804767 2014-03-06T18:09:00 Update to the latest version of tinytest This brings us up to tinytest 709a36ba63ff16d8
Nick Mathewson 239d8345 2014-03-06T10:18:09 Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES Patch from Harlan Stenn.
Nick Mathewson 98059721 2014-03-06T10:09:03 Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE case Based on a patch from Harlan Stenn.
Nick Mathewson 8896a92b 2014-03-03T13:47:21 Merge remote-tracking branch 'origin/pr/110'
Nick Mathewson cbfa8da1 2014-03-03T11:23:55 Merge remote-tracking branch 'origin/patches-2.0'
Trond Norbye b56611d7 2014-02-19T06:49:31 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 4545fa9b 2014-02-19T06:31:27 Add option to build shared library
Nick Mathewson 3908a5e3 2014-02-24T15:07:38 Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP
Nick Mathewson f24cba3b 2014-02-24T20:05:03 Merge pull request #97 from JoakimSoderberg/openwrt_fixes BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
Nick Mathewson f665d5cb 2014-02-24T10:32:00 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 a0dd5df2 2014-02-19T06:29:58 Rename event_extras to event_extra The library event_extras is named event_extra when building with GNU autotools
Joakim Soderberg ff266332 2014-02-17T12:43:10 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 565ea26b 2014-02-14T22:51:11 Merge pull request #108 from trondn/cmake-build-fix CMake build-related fixes
Trond Norbye e0613212 2014-02-14T09:04:48 Add cmake-related files to .gitignore
Trond Norbye ed99d92c 2014-02-14T08:26:07 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 49efac53 2014-02-09T13:35:21 Merge remote-tracking branch 'origin/patches-2.0'