Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| d0dc861b | 2014-03-21 14: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". | ||
| a0b247cd | 2014-03-21 14: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. | ||
| 6a1c4d50 | 2014-03-18 18:36:32 | Correctly skip ipv6 http test on systems without ipv6 | ||
| e5302ac7 | 2014-03-18 12:35:39 | Remove integer-overflow unit tests There's not much point checking undefined behavior. | ||
| 31c49150 | 2014-03-18 12:27:14 | evtag: detect tags over 32-bits earlier | ||
| e660db6d | 2014-03-18 11:39:23 | Catch over-large port numbers early in http Otherwise integer overflow potentially turns the port number into garbage. | ||
| 58fc9b6c | 2014-03-18 11: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. | ||
| ec99dd82 | 2014-03-18 11: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 | ||
| 860c71c8 | 2014-03-18 11:13:45 | Fix an illegal read error in the evbuffer_add_reference tests Found with AddressSanitizer | ||
| 3b1b330d | 2014-03-16 21:44:43 | Add new APIs to whatsnew-2.1 | ||
| d08273ec | 2014-03-16 12:09:24 | Increment version to 2.1.4-alpha | ||
| e6c6f120 | 2014-03-16 12:01:44 | Bring changelog up to date for 2.1.4-alpha | ||
| 2578ec14 | 2014-03-13 10: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. | ||
| b6f15cce | 2014-03-12 18:19:07 | Add missing include to regress_finalize.h | ||
| 21477e40 | 2014-03-12 18:13:19 | Skip http/ipv6_for_domain test when we have no ipv6 support | ||
| 5e161c66 | 2014-03-12 18:12:43 | Add an include to evrpc-internal to fix openbsd compilation warning | ||
| 4947c185 | 2014-03-12 14:29:15 | Heap-allocate zlib data structure in regress_zlib tests | ||
| 57abb359 | 2014-03-12 14:06:41 | Fix consts in WIN32-Code/getopt*.[ch] | ||
| 58408eed | 2014-03-12 14:06:02 | Fix duplicate paragraph in evbuffer_ptr documentation | ||
| af9b2a7a | 2014-03-12 13:25:02 | Initialize async bufferevent timeout CBs unconditionally This is a fix for bug #93 on nmathewson/Libevent. | ||
| 462e6b60 | 2014-03-12 12:45:41 | add a cast to https-client.c | ||
| 2b41bcf8 | 2014-03-07 18:09:56 | Export event_extra not event_extras. | ||
| 7a804767 | 2014-03-06 18:09:00 | Update to the latest version of tinytest This brings us up to tinytest 709a36ba63ff16d8 | ||
| 239d8345 | 2014-03-06 10:18:09 | Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES Patch from Harlan Stenn. | ||
| 98059721 | 2014-03-06 10:09:03 | Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE case Based on a patch from Harlan Stenn. | ||
| 8896a92b | 2014-03-03 13:47:21 | Merge remote-tracking branch 'origin/pr/110' | ||
| cbfa8da1 | 2014-03-03 11:23:55 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| b56611d7 | 2014-02-19 06: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. | ||
| 4545fa9b | 2014-02-19 06:31:27 | Add option to build shared library | ||
| 3908a5e3 | 2014-02-24 15:07:38 | Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP | ||
| f24cba3b | 2014-02-24 20:05:03 | Merge pull request #97 from JoakimSoderberg/openwrt_fixes BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined. | ||
| f665d5cb | 2014-02-24 10: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. | ||
| a0dd5df2 | 2014-02-19 06:29:58 | Rename event_extras to event_extra The library event_extras is named event_extra when building with GNU autotools | ||
| ff266332 | 2014-02-17 12: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. | ||
| 565ea26b | 2014-02-14 22:51:11 | Merge pull request #108 from trondn/cmake-build-fix CMake build-related fixes | ||
| e0613212 | 2014-02-14 09:04:48 | Add cmake-related files to .gitignore | ||
| ed99d92c | 2014-02-14 08: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. | ||
| 49efac53 | 2014-02-09 13:35:21 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| f2428a28 | 2014-02-09 13:29:26 | bufferevent_pair: don't call downcast(NULL) | ||
| 2ea15ed0 | 2014-01-27 14:54:55 | Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104) | ||
| 40830f16 | 2014-01-27 13:03:36 | Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104) | ||
| 8c0f0a9b | 2014-01-24 16:30:17 | Added a Travis-CI configuration file. Initial stab at a first Travis config file. | ||
| ee0185e5 | 2014-01-22 11:55:26 | Merge remote-tracking branch 'joakimsoderberg/win32_fixes' | ||
| 99cd8187 | 2014-01-22 11:46:52 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| dfe1e526 | 2014-01-22 11:17:35 | 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> | ||
| e212c548 | 2014-01-22 13:19:49 | Check for OSX when checking for clang. | ||
| f1715b47 | 2014-01-22 12:12:51 | 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? | ||
| d7be7887 | 2014-01-22 11:15:17 | 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. | ||
| d38d798b | 2014-01-22 00:06:21 | 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. | ||
| e423d420 | 2014-01-22 00:03:37 | Fix CMake compile when OpenSSL is disabled. | ||
| 43ffcf69 | 2014-01-21 15:47:44 | 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. | ||
| 53d27938 | 2014-01-21 15:44:05 | Expand EV_CLOSED documentation a bit | ||
| 5c142a7e | 2014-01-21 14:53:47 | Merge remote-tracking branch 'origin/pr/98' | ||
| d03b5bf0 | 2014-01-21 14:29:00 | Disclaimerize cmake a little in the README | ||
| 4cb44fdf | 2014-01-21 14:26:01 | Merge remote-tracking branch 'joakimsoderberg/new_cmake' Conflicts: sample/https-client.c | ||
| ae1bd829 | 2014-01-21 19:19:30 | 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... | ||
| c2076824 | 2014-01-21 12:21:37 | Fix a c90 warning | ||
| 8b40a5b0 | 2014-01-21 11:35:21 | Check if we're on OSX before disabling deprecation in le-proxy | ||
| 4e143958 | 2014-01-21 11:30:27 | Change all uses of WIN32 to _WIN32 | ||
| 20244671 | 2014-01-21 11:19:02 | Fix include bug. On systems where a previous version of Libevent is installed we don't want the system version of the headers to be included before the ones in the build tree. This happened on my OSX system where I had an ancient version of Libevent installed. It would then load the incorrect event-config.h and fail because the system introspection macros weren't set properly. | ||
| b1b69ac7 | 2014-01-17 23:20:42 | Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP). - Added new EV_CLOSED event - detects premature connection close by clients without the necessity of reading all the pending data. Does not depend on EV_READ and/or EV_WRITE. - Added new EV_FEATURE_EARLY_CLOSED feature for epoll. Must be supported for listening to EV_CLOSED event. - Added new regression test: test-closed.c - All regression tests passed (test/regress and test/test.sh) - strace output of test-closed using EV_CLOSED: socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0 sendto(6, "test string\0", 12, 0, NULL, 0) = 12 shutdown(6, SHUT_WR) = 0 epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 epoll_wait(3, {{EPOLLRDHUP, {u32=7, u64=7}}}, 32, 3000) = 1 epoll_ctl(3, EPOLL_CTL_MOD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYM... write(1, "closed_cb: detected connection close "..., 45) = 45 | ||
| 8697b99c | 2014-01-14 18:45:11 | Forgotten headers for old nmake project compatability. | ||
| 8d4cb35d | 2014-01-14 18:41:58 | Clean up the README some. | ||
| 604b8cc4 | 2014-01-14 18:25:07 | Update README with CMake build instructions. | ||
| d2bc39af | 2014-01-14 18:24:43 | Rename README to README.md and use markdown to format. | ||
| 24d64666 | 2014-01-14 17:53:47 | Fix so that old nmake project still builds. | ||
| fd42e70d | 2014-01-14 17:37:58 | Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG | ||
| 49ab3632 | 2014-01-14 13:01:31 | Some work on making it possible to simply do add_subdirectory() on the project. | ||
| 4b754df9 | 2014-01-10 17:58:42 | Fix typo | ||
| f3446ed5 | 2014-01-09 13:44:38 | Add CMake config and install targets. Make it easier for other projects to do find_package by creating config files both in the build and install tree. | ||
| d240328d | 2014-01-08 13:02:37 | Fix even more coverity warnings. | ||
| 860767e8 | 2014-01-08 12:46:09 | Fix a couple of compilation warnings in regress_http.c | ||
| 991b3620 | 2014-01-08 12:04:06 | Remove spurious checks in evrpc.c error cases (coverity) Coverity hates the case where you have a redundant NULL check after using something. | ||
| 544cf888 | 2014-01-08 11:58:50 | Whoops; fix compilation in bench.c | ||
| ff7f7396 | 2014-01-08 11:54:56 | Fix coverity warnings in benchmark tools. Again, not harmful, but best to stay warning-free. | ||
| 867f401f | 2014-01-08 11:51:22 | Fix a pile of coverity warnings in the unit tests Most of these problems can only trigger when the tests fail, but it's good hygiene to keep the code warning-free in any case. | ||
| 8d15f57f | 2014-01-07 16:59:26 | Merge remote-tracking branch 'asweeny86/on-complete-cb' | ||
| b85f3987 | 2014-01-06 21:19:15 | Update unit test to make sure that the callback happens after the output data is written | ||
| da86dda9 | 2014-01-06 20:36:31 | evhttp_request_set_on_complete_cb to be more specific about what the function actually does and usage | ||
| f9e091bf | 2014-01-06 12:11:30 | Merge remote-tracking branch 'asweeny86/event-count-max' | ||
| b083ca05 | 2014-01-05 20:35:46 | Provide on request complete callback facility This patch provides the ability to receive a callback on the completion of a request. The callback takes place immediately before the request's resources are released. | ||
| 26230a2d | 2014-01-05 16:30:35 | Added unit test for max event counts | ||
| efbd3dcf | 2014-01-05 16:29:52 | Fixed bug using wrong variable in max event compare | ||
| 5173bef5 | 2013-12-30 14:06:20 | Add access to max event count stats This commit provides an interface for accessing and resetting the maximum number of events in a given period. This information provides better insight into event queue pressure. | ||
| 4c8ebcd3 | 2013-12-24 15:02:02 | Remove unneeded declaration in bufferevent-internal.h | ||
| 254c04ec | 2013-12-24 15:01:34 | Fix needless bufferevent includes in evdns.c | ||
| 88ecda3b | 2013-12-24 14:37:30 | Fix a couple of "#ifdef WIN32" instances | ||
| d1976f8e | 2013-12-24 14:05:44 | Sample HTTPS Client: Set hostname for SNI extension (by f69m) Patch from f69m on SourceForge | ||
| 62f596b7 | 2013-05-09 06:50:52 | fix for ServFail from RIPE Atlas release | ||
| 90786eb0 | 2013-12-24 12:59:36 | Small tweaks to https-client.c | ||
| 2fbc3b14 | 2013-12-24 12:45:22 | Merge remote-tracking branch 'resetius/https' | ||
| 471fbe3b | 2013-12-24 12:27:24 | Merge remote-tracking branch 'rbalint/from-forked-daapd' | ||
| a3172a41 | 2013-12-24 11:30:06 | Minor optimizations on bufferevent_trigger options By making BEV_TRIG_DEFER_CALLBACKS equal to BEV_OPT_DEFER_CALLBACKS, and BEV_TRIG_IGNORE_WATERMARKS disjoint from BEV_OPT_*, we can save a few operations in bufferevent_run_*, which is critical-path. | ||
| 4dd3abd4 | 2013-12-24 11:20:52 | Make bufferevent_trigger_nolock_() inline Since most of its callers are using constant EV_READ or EV_WRITE, and using constant 0 as its argument, this should eliminate most of the overhead for this function in the fast case. | ||
| b4ef3def | 2013-12-24 10:33:58 | Merge remote-tracking branch 'mistotebe/bufferevent_trigger' | ||
| 87fa2b00 | 2013-12-23 20:46:38 | Unit tests for active_by_fd; unsupport active_by_fd(TIMEOUT) [It turns out that event_base_active_by_fd(TIMEOUT) didn't actually work right. Feel free to add it back in as a patch.] | ||
| 48659433 | 2013-12-21 23:32:10 | Add event_base_active_by_signal by analogy | ||
| 5c9da9a8 | 2013-12-21 23:21:33 | Sanity-check arguments to event_base_active_by_fd() | ||
| 93369ff4 | 2013-12-21 23:15:41 | Merge remote-tracking branch 'ghazel/event_base_active_by_fd' | ||
| 974c60e1 | 2013-12-21 23:15:28 | Refactor evmap_{io,signal}_active_() to tolerate bad inputs |