Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| da45aa74 | 2011-12-02 01:48:14 | fix windows compilation issues with new file segment code Found by Linus Nordberg | ||
| f3b89dec | 2011-11-24 12:31:50 | Fix two issues in the allow_dirty_shutdown code. First, it shouldn't crash when it's passed a non-ssl bufferevent. Second, it should behave correctly when it gets a true argument other than 1. | ||
| a44cd2b0 | 2011-11-24 12:24:38 | Tweak allow_dirty_shutdown documentation | ||
| 099d27df | 2011-11-21 19:57:19 | Allow users to set allow_dirty_shutdown | ||
| f7eb69ac | 2011-11-21 19:24:50 | bev_ssl: Be more specific in event callbacks. evhttp in particular gets confused without at least one of BEV_EVENT_{READING|WRITING}. | ||
| 3596a31d | 2011-11-18 15:35:33 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| ba4d6696 | 2011-11-18 15:34:37 | Increment version to 2.0.16-stable-dev | ||
| 5de3fa32 | 2011-11-18 15:27:06 | Increment version to 2.0.16-stable | ||
| 044c41de | 2011-11-18 15:16:11 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 31c99bd2 | 2011-11-18 15:14:50 | Revise 2.0.16-stable changelog | ||
| 9ee9e943 | 2011-11-18 14:23:13 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| ebf82199 | 2011-11-17 17:42:45 | add comment to new consider_reading code | ||
| 2aa036fa | 2011-11-17 11:59:41 | Avoid spinning on OpenSSL reads Previously, if some sender were generating data to read on an OpenSSL connection as fast as we could process it, we could easily wind up looping on an openssl do_read operation without ever considering other sockets. The difference between this and the original method in consider_reading() is that it only loops for a single completed *frame* instead of looping until fd is drained or an error condition was triggered. {Patch split out by nickm} | ||
| 96c562fa | 2011-11-17 11:54:07 | Move SSL rate-limit enforcement into bytes_to_read() | ||
| a186e732 | 2011-11-17 11:45:49 | Refactor amount-to-read calculations in buffervent_ssl consider_reading() Split up consider_reading()'s conditional checks into another function can_read() for simplicity sake. {Split into a separate patch by nickm} | ||
| 6660c9a3 | 2011-11-15 18:34:24 | Revert "Avoid potential SSL read spinlocks" This reverts commit fc52dbac87f4937f8306759506d6a2ad15ca244c. | ||
| a62346de | 2011-11-15 18:33:50 | Revert "openssl bufferevent has the same issue with writing as prior commit." This reverts commit 7353663eb7c0b2a1caaaa5acd818515f156cf2ca. | ||
| fe9e831f | 2011-11-15 17:22:45 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 34045c8f | 2011-11-15 17:22:12 | Add new entries to changelog, new credits to README | ||
| b17b0eec | 2011-11-15 17:11:42 | Fix DNS memleak checks when running with malloc-replacement/debugging disabled | ||
| f5b937e6 | 2011-11-14 18:22:08 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| e7874133 | 2011-11-14 17:33:02 | Don't try to make notifiable event_base when no threading fns are configured | ||
| 4e797f38 | 2011-11-14 17:32:22 | Warn when unable to construct base because of failing make_base_notifiable | ||
| 2ebc8c80 | 2011-11-14 11:55:37 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 7353663e | 2011-11-14 10:57:15 | openssl bufferevent has the same issue with writing as prior commit. | ||
| fc52dbac | 2011-11-14 10:24:07 | Avoid potential SSL read spinlocks OpenSSL bufferevents with deferred callbacks enabled under high load will spinlock in the function consider_reading(). This loop continues until all data has been read. Because of this condition; openssl bufferevents will never return back into event_base_loop() until SSL_read has determined data is no longer ready. As of yet I have not found a reason why this while loop exists, so this patch just swaps out while for if. If needed I can write same code which would trigger this effect; optionally libevhtp has a test.c program which can be run with the following flags: ./test -s <keyfile.pem> curl -vvvv -k -d@<HUGE_ASS_FILE> https://127.0.0.1:8081/ The return data will include the number of times the readcb got data and the length of that read. Without this patch, you are likely to see a small amount of "bytes read....", otherwise the "bytes read..." return data should show much more reasonable numbers. | ||
| 9ae6e595 | 2011-11-14 11:45:17 | Merge remote-tracking branch 'origin/patches-2.0' Conflicts: sample/dns-example.c | ||
| 54142c94 | 2011-11-14 11:43:31 | unit tests for EVBUFFER_EOL_NUL | ||
| d7a8b36e | 2011-11-14 11:42:52 | New EVBUFFER_EOL_NUL to read NUL-terminated strings from an evbuffer | ||
| 27b5398f | 2011-11-11 17:56:08 | Tweaks, fixups, and comments on evbuffer_add_iovec | ||
| aaec5aca | 2011-10-25 09:13:15 | Added evbuffer_add_iovec and unit tests. | ||
| a3f320e8 | 2011-11-09 00:17:56 | Improve win32 behavior of dns-sample.c codex | ||
| 95af0433 | 2011-11-03 11:45:43 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 674bc6a2 | 2011-11-03 11:43:49 | Fix typo in whatsnew-2.0.txt | ||
| dea055d0 | 2011-11-02 23:15:07 | Merge remote-tracking branch 'github/20_evbuffer_remove_bug' | ||
| c882a959 | 2011-11-02 23:14:24 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| b18c04dd | 2011-11-02 22:50:47 | Use the free-trailing-chains function in evbuffer_insert_chain too | ||
| c37069cd | 2011-11-02 16:09:15 | Fix an evbuffer crash in evbuffer_remove_buffer() Found by Greg Hazel. | ||
| 7eb52eb8 | 2011-11-02 15:19:05 | improve test to remove at least one buffer from src | ||
| 90bd620f | 2011-11-01 13:44:40 | unit test for remove_buffer bug | ||
| 00145918 | 2011-10-30 22:34:00 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 447b0bad | 2011-10-30 22:32:18 | Fix compile warning from saying event2/*.h inside a comment Based on a patch by Adrian Chadd | ||
| 0cb70e33 | 2011-10-26 10:17:21 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 1aee7183 | 2011-10-26 13:24:30 | epoll: close fd on alloc fail at initialization If the memory allocations fail then we free any other allocated structures but don't close the file descriptor resulting in an leak of fd's. | ||
| a2c48e3b | 2011-10-24 01:31:55 | evhttp: Add evhttp_foreach_bound_socket. Applies the function specified in the first argument to all evhttp_bound_sockets associated with a struct evhttp. The user must not attempt to free or remove any connections, sockets or listeners in the callback function. | ||
| 356554c8 | 2011-10-25 11:43:01 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 3c824bd3 | 2011-10-24 13:18:09 | Update copyright dates to 2011. | ||
| 212533e4 | 2011-10-21 19:53:32 | New event_base_update_cache_time() to set cached_tv to current time This function is particularly useful for selectively increasing the accuracy of the cached time value in 'base' during callbacks that take a long time to execute. This function has no effect if the base is currently not in its event loop or if timeval caching is disabled via EVENT_BASE_FLAG_NO_CACHE_TIME. | ||
| c8953d1b | 2011-10-14 17:16:03 | Add argument checks to some memory functions in `event.c'. Add a zero check to the function `event_mm_malloc_', i.e. simply return NULL if the sz argument is zero. On failure, set errno to ENOMEM and return NULL. Add a zero check to the function `event_mm_calloc_', i.e. simply return NULL if either argument is zero. Also add an unsigned integer multiplication check, and if an integer overflow would occur, set errno to ENOMEM and return NULL. On failure, set errno to ENOMEM and return NULL. Add a NULL check to the function `event_mm_strdup_', i.e. set errno to EINVAL and return NULL. Also add an unsigned integer addition check, and if an integer overflow would occur, set errno to ENOMEM and return NULL. If a memory allocation error occurs, again set errno to ENOMEM and return NULL. Add unit tests to `test/regress_util.c'. | ||
| 724bfb56 | 2011-10-19 22:59:47 | Add note about evhttp_send_reply_end to its doxygen | ||
| 128c8d6c | 2011-10-19 22:44:33 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 9e6a4efa | 2011-10-19 17:44:17 | More detailed message in case of libevent self-debugging failure. | ||
| 5e42202d | 2011-10-19 22:41:11 | Style and comment tweaks for dns/leak* tests | ||
| f7841bfc | 2011-10-18 17:49:40 | Test for commit aff6ba1 | ||
| fc1a2514 | 2011-10-19 22:20:15 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 21a08d68 | 2011-10-19 22:38:37 | Empty DNS reply with OK status is another way to say NODATA. Sometimes DNS reply has nothing but query section. It does not look like error, so it should be treated as NODATA with TTL=0 as soon as there is no SOA record to deduce negative TTL from. | ||
| d58c15ee | 2011-10-19 22:36:12 | Tests for 94fba5b and f72e8f6 | ||
| e0b81ba3 | 2011-10-12 01:02:13 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 8589f6c4 | 2011-10-12 01:00:23 | Bump version to 2.0.15-stable-dev | ||
| ab0f5f18 | 2011-10-12 00:57:55 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| c54c2358 | 2011-10-12 00:39:22 | Credit a patch from a one-named user | ||
| 78d80413 | 2011-10-12 00:22:54 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 4d9529fc | 2011-10-12 00:22:17 | Increment version to 2.0.15-stable | ||
| 177f2868 | 2011-10-12 00:21:29 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 7c3e0612 | 2011-10-12 00:16:12 | Add changelog for 2.0.15-stable | ||
| 998c8138 | 2011-10-11 09:26:57 | bufferevent: Add functions to set/get max_single_read/write values. | ||
| 3c55b5ee | 2011-10-11 09:50:57 | Make evbase_priority_init() and evbase_get_npriorities() threadsafe | ||
| ee3a4ee8 | 2011-10-11 11:12:34 | Add event_base_get_npriorities() function. | ||
| fed8f6e4 | 2011-10-10 11:34:26 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| ba5c27d4 | 2011-10-10 08:24:43 | refer to non-deprecated evdns functions in comments | ||
| c6bbbf1b | 2011-10-06 18:02:22 | Make evbuffer_file_segment_types adaptable Instead of having a file segment born as one type and stay that way forever, let them start out unmapped, but map themselves as needed if they need to get written out on a non-drains_to_fd evbuffer. | ||
| 83588777 | 2011-10-06 15:21:55 | Merge remote-tracking branch 'origin/patches-2.0' Conflicts: buffer.c test/regress_buffer.c | ||
| 706aa5f4 | 2011-10-06 15:11:50 | Merge remote-tracking branch 'github/20_addfile_ssl' into patches-2.0 | ||
| 5760efb1 | 2011-10-05 15:03:17 | Merge branch '21_largefile_support' | ||
| e0cae789 | 2011-10-05 11:26:52 | Merge branch '21_evloop_noexit' | ||
| 084e68f3 | 2010-12-01 21:53:08 | New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no events are pending This can be useful if you want to start an event loop and then add or remove events to it from another thread. | ||
| 9593a33f | 2011-10-03 08:12:32 | Allow evconnlistener to be created in disabled state. | ||
| b3bc77b6 | 2011-10-03 12:54:35 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 39c0cf7c | 2011-10-03 12:49:02 | Fix some "value never used" warnings with gcc 4.6.1 | ||
| 2b768479 | 2011-10-03 12:45:36 | Make write-checking fixes use tt_fail_perror | ||
| c3b62fd7 | 2011-07-12 13:05:36 | Fixed compiler warnings for unchecked read/write calls. | ||
| 0ba0af9c | 2011-09-29 09:30:04 | Prefer mmap to sendfile unless a DRAINS_TO_FD flag is set. Allows add_file to work with SSL. The sendfile() implementation for evbuffer_add_file is potentially more efficient, but it has a problem: you can only use it to send bytes over a socket using sendfile(). If you are writing bytes via SSL_send() or via a filter, or if you need to be able to inspect your buffer, it doesn't work. As an easy fix, this patch disables the sendfile-based implementation of evbuffer_add_file on an evbuffer unless the user sets a new EVBUFFER_FLAG_DRAINS_TO_FD flag on that evbuffer, indicating that the evbuffer will not be inspected, but only written out via evbuffer_write(), evbuffer_write_atmost(), or drained with stuff like evbuffer_drain() or evbuffer_add_buffer(). This flag is off by default, except for evbuffers used for output on bufferevent_socket. In the future, it could be interesting to make a best-effort file segment implementation that tries to send via sendfile, but mmaps on demand. That's too much complexity for a stable release series, though. | ||
| 46974cd8 | 2011-09-28 09:23:41 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 1ef1f684 | 2011-09-28 09:22:17 | Make evbuffer callbacks get the right n_added value after evbuffer_add Patch from Alex. | ||
| 1ebe7955 | 2011-09-26 11:11:30 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 296d29a1 | 2011-09-26 11:07:58 | Merge branch '20_loopbreak_in_signal' into patches-2.0 | ||
| 65c920c9 | 2011-09-25 07:41:29 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 7f82382a | 2011-09-25 07:39:00 | Use _SOURCES, not _sources, in sample/Makefile.am Found by Adrian Chadd | ||
| 2179d735 | 2011-09-16 09:47:14 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 9ae061ac | 2011-09-15 13:06:38 | le-proxy and regress depend on openssl directly | ||
| 38674d4a | 2011-09-12 15:46:54 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 94fba5b9 | 2011-08-10 15:58:47 | Add DNS_ERR_NODATA error code to handle empty replies. | ||
| 2b6eae59 | 2011-08-10 15:58:19 | Fix docstring in dns.h | ||
| 8a231040 | 2011-09-12 14:53:39 | Build with large-file support on platforms where it matters Some hosts require you to define certain options to get a large off_t instead of a small one, to get useful ftell and fseek calls instead of ones that can only support 2GB files, and so on. This patch makes Libevent support those platforms by: * Defining the right options when we build, and * Changing our API so that it does not depend on the platform's definition of off_t. Based on discusion with Michael Herf | ||
| e20eabd6 | 2011-09-12 11:31:19 | Merge branch '21_enable_debugging' | ||
| 6207826e | 2011-09-12 11:31:02 | Clarify event_enable_debug_logging a little | ||
| 4d637583 | 2011-09-12 10:57:37 | Remove calls to deprecated bufferevent functions from evhttp.c | ||
| 8d3a8500 | 2011-09-12 10:46:17 | Add evhttp callback for bufferevent creation; this lets evhttp support SSL. Based on a patch uploaded anonymously to sourceforge; cleaned up by Graham Leggett to work with current libevents. | ||
| caf133f9 | 2011-09-12 10:09:28 | Merge branch 'new_configure_options' | ||
| 75502677 | 2011-04-10 18:25:05 | Implement --enable-gcc-hardening configure option Using --enable-gcc-hardening enables some additional safety features that gcc makes available such as stack smashing protection using canaries and ASLR. This commit is based on a patch for Tor: (git commit 04fa935e02270bc90aca0f1c652d31c7a872175b by Jacob Appelbaum) Copyright (c) 2007-2011, The Tor Project, Inc. |