Log

Author Commit Date CI Message
Nick Mathewson b260065a 2011-08-28T14:06:03 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 2f51dc03 2011-08-28T14:03:10 Cleanup on 7c11e51e1ab: fix strtol usage
Nick Mathewson 6056d6e0 2011-08-28T14:02:40 Cleanup on 7c11e51e1ab: restore c90 declaration compliance
Harlan Stenn 7c11e51e 2011-08-27T05:48:11 Clean up some problems identified by Coverity.
Nick Mathewson 2cbe115c 2011-08-24T16:17:56 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 5b18f130 2011-08-24T16:17:05 Make rate limiting work with common_timeout logic
Nick Mathewson 0d108044 2011-08-18T15:18:14 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 6736852e 2011-08-18T15:09:44 Merge branch '20_iocp_fixes' into patches-2.0
Nick Mathewson 6acfbdd8 2011-08-18T12:35:27 Make overlapped reads result in evbuffer callbacks getting invoked
Nick Mathewson 495c227f 2011-08-18T11:41:55 IOCP: don't launch reads or writes on an unconnected socket
Nick Mathewson ec670c15 2011-08-17T22:08:06 Merge remote-tracking branch 'origin/patches-2.0' Conflict in buffer.c: the new file-segment logic conflicted with the solaris sendfile fix.
Dave Hart 04656ea8 2011-08-15T14:40:32 Try to fix 'make distcheck' errors when building out-of-tree
Nick Mathewson 3c63edd1 2011-08-11T12:47:21 Make the priority inversion code use gettime(), not evutil_gettimeofday() Since we're computing the time after each callback, we might as well update the time cache (if we're using it) and use monotonic time (if we've got that).
Nick Mathewson 9fa56bdf 2011-08-11T11:59:23 Make sure max_dispatch_callbacks is never negative Suggested by Alexander Drozdov.
Nick Mathewson fd4de1e7 2010-12-01T20:44:05 Add event_config function to limit time/callbacks between calls to dispatch
Nick Mathewson a37a0c0e 2011-08-11T12:38:47 Make max_dispatch_interval able to apply only to low-priority events Suggested by Alexander Drozdov
Alexander Drozdov a9866aa8 2011-07-22T12:29:07 Optimization in event_process_active(): ignore maxcb & endtime for highest priority events.
Nick Mathewson e067d0e3 2011-08-17T21:47:19 Merge branch '20_low_ratelim' into patches-2.0
Michael Herf 643922e9 2011-08-15T13:39:10 Solaris sendfile: correctly detect amount of data sent Original message: Solaris sendfile seems to fail when sending moderately large (<1GB) files. Not a 32/64 problem, but a buffer problem. Anyone else ever try this? It is definitely broken in http-server.c. It seems to be broken in the following way: When sendfile sends partial data (EAGAIN, would block), "res" is always -1, rather than the amount sent. Here's a patch that reads from the "offset" pointer instead to discover what was sent. This seems to work:
Nick Mathewson 2fdb8e22 2011-08-15T11:29:39 Merge remote-tracking branch 'ellzey/debug_timer_add_usec'
Nick Mathewson d7451b05 2011-08-15T11:14:57 Merge remote-tracking branch 'origin/patches-2.0'
Leonid Evdokimov aff6ba15 2011-08-11T03:24:06 Fix request_finished memory leak with debugging turned on.
Leonid Evdokimov 9b724b28 2011-08-11T03:10:08 Fix evsig_dealloc memory leak with debugging turned on.
Leonid Evdokimov 50be5a14 2011-08-11T03:06:07 Another docstring fix.
Mark Ellzey 67275433 2011-08-11T16:53:01 more event dbg updates
Nick Mathewson 6d5440e8 2011-08-11T15:15:17 Fix handling of group rate limits under 64 bytes of burst The "min_share" logic, which was designed to prevent piles of extremely small writes when running up against a group rate limit, could lead to confusing behavior if you ever set a min_share less than your burst rate. If that happened, then as soon as your group rate limit was exhausted, you'd stop reading/writing, and never start again, since the amount readable/writeable would never actually hit min_share. We now cap min_share at the rate per tick. Found by George Kadianakis
Mark Ellzey 4b7d2984 2011-08-11T13:25:24 added timeout debug logs to include event ptr.
Nick Mathewson 14ec20a7 2011-08-11T14:00:01 Merge remote-tracking branch 'ellzey/debug_timer_add_usec'
Nick Mathewson d87a3f71 2011-08-11T13:59:02 Merge remote-tracking branch 'ellzey/event_debug_flag'
Mark Ellzey 3baab0dc 2011-08-11T12:06:54 Added usec debug in another area for debug
Mark Ellzey ac43ce04 2011-08-11T11:56:26 Debug addition for printing usec on TIMEOUT debugging.
Nick Mathewson d4f56353 2011-08-10T13:18:30 Merge remote-tracking branch 'origin/patches-2.0'
Sebastian Hahn 5d1b255b 2011-08-10T19:11:55 Ignore deprecation warnings on OS X Starting with Lion, Apple decided to deprecate the system openssl. We can start requiring users to install their own openssl once OS X doesn't ship with it anymore.
Nick Mathewson 5419803d 2011-08-08T22:04:46 Merge remote-tracking branch 'origin/patches-2.0'
Mitchell Livingston b4423029 2011-08-08T17:06:46 Allow OS-neutral builds for platforms where some versions have arc4random_buf
Nick Mathewson e91d57f1 2011-08-08T16:20:53 Merge remote-tracking branch 'github/21_split_functions' Conflicts: event.c The conflicts were with the 21_faster_timeout_adj branch, which added a "reinsert" function that needed to get renamed to "reinsert_timeout". Also, some of the code that 21_split_functions changes got removed by 21_faster_timeout_adj.
Nick Mathewson 24e24805 2011-08-08T16:17:18 Merge remote-tracking branch 'github/21_faster_timeout_adj'
Mark Ellzey a9c2c9ab 2011-08-06T01:32:40 changed to --enable-verbose-debug
Nick Mathewson 909c40e5 2011-08-03T12:12:47 Merge remote-tracking branch 'origin/patches-2.0'
Joachim Bauch 4a343943 2011-07-26T10:31:18 Propagate errors on the underlying bufferevent to the user.
Mark Ellzey bc7b4e40 2011-08-02T17:23:52 Added --enable-event-debugging in configure
Nick Mathewson 0fcc536b 2011-08-01T10:30:32 Add missing break to evhttp_parse_request_line
Nick Mathewson e918f15a 2011-08-01T10:30:02 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 1183f7e2 2011-08-01T10:27:56 Fix typo in event_compat.h comments.
Nick Mathewson 77a4d7f4 2011-07-18T23:38:23 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson a2fdf9b0 2011-07-18T23:37:59 Bump version to 2.0.13-stable-dev
Nick Mathewson ac461206 2011-07-18T18:23:13 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 80414e22 2011-07-18T18:19:25 Bump version to 2.0.13-dev
Nick Mathewson 18667d3c 2011-07-18T18:07:48 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 62b8ce58 2011-07-18T17:05:20 acks and changelog for 2.0.13-stable
Nick Mathewson b3b425eb 2011-07-18T12:45:50 Give Makefile.am echo a non-null argument. msys likes this
Nick Mathewson 00a7a0e4 2011-07-17T21:48:38 Fix a warning in evutil_rand when building with threads disabled
Nick Mathewson c629e182 2011-07-15T10:20:58 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 4a5c82d6 2011-07-15T10:20:01 Use AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS Reported by Dagobert Michelsen.
Nick Mathewson 7d08a28c 2011-07-05T15:07:07 Merge remote-tracking branch 'github/21_end_of_buffer' Conflicts: include/event2/buffer.h
Nick Mathewson b07940ce 2011-07-05T14:58:35 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson d5bd604a 2011-07-05T14:57:08 Add doxygen to .gitignore
Nick Mathewson caf695af 2011-07-05T14:55:09 Fix up test_evutil_snprintf
Nick Mathewson af6a05f7 2011-07-05T14:51:24 Merge remote-tracking branch 'github/20_size_fmt' into patches-2.0
Nick Mathewson 16bacbc5 2011-07-05T14:43:24 Fix a test-call accidentally in the last commit
Nick Mathewson cd74c4ec 2011-07-05T14:41:46 More abstraction in test.sh
Nick Mathewson 21be3dff 2011-07-05T14:38:21 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: include/event2/buffer.h include/event2/thread.h include/event2/util.h
Nick Mathewson 341e1b03 2011-07-05T13:04:30 Merge branch 'doxygen' into patches-2.0
Nick Mathewson aea0555b 2011-07-04T23:14:19 Update Doxyfile to produce more useful output
Nick Mathewson 2888facc 2011-07-04T23:02:11 Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
Nick Mathewson 1fb5cc68 2011-07-05T00:36:09 Use "unlimited select" on OSX so that we can have more than FD_SETSIZE fds
Nick Mathewson 71349d08 2011-07-05T00:35:35 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 49d11362 2011-07-05T00:11:59 Fix select.c compilation on systems with no NFDBITS
Nick Mathewson 78fb99ce 2011-07-04T12:22:54 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson e7fe9270 2011-07-04T12:16:08 Merge remote-tracking branch 'github/20_global_locks_init' into patches-2.0
Nick Mathewson c3d36285 2011-07-04T11:48:41 Merge remote-tracking branch 'origin/patches-2.0'
Mark Ellzey f87f5689 2011-07-04T11:47:24 Speed up invoke_callbacks on evbuffers when there are no callbacks This fixes a performance regression against 1.4
Nick Mathewson c116d960 2011-07-04T11:37:52 Merge remote-tracking branch 'origin/patches-2.0'
Joachim Bauch e050703d 2011-07-04T11:36:14 Fix bug in SSL bufferevents backed by a bev with a write high-watermarks Original mail: the logic that handles write watermarks in "bio_bufferevent_write" is not working. It currently doesn't write any data if the high watermark is *above* the amount of data to write (i.e. when there is actually enough room available).
Nick Mathewson 2bbed8fe 2011-07-02T21:50:49 Merge remote-tracking branch 'origin/patches-2.0'
Nicholas Marriott 8ee9f9c1 2011-07-02T21:49:07 Fix a few warnings on OpenBSD - redeclaration of dst_size - arpa/inet.h requires netinet/in.h first - don't use a local with the same name as a global - it isn't needed so remove it
Nick Mathewson e9340964 2011-06-22T11:22:35 Fix AIX build issue with TAILQ_FOREACH definition Reported by Lawnstein Chan.
Nick Mathewson 722207ff 2011-06-21T10:07:04 Merge remote-tracking branch 'origin/patches-2.0'
Harlan Stenn e23cda3d 2011-06-21T10:05:28 Don't install event_rpcgen.py when --disable-libevent-install is used
Nir Soffer e3e97ae3 2011-06-14T01:58:30 Set the special "not found" evbuffer_ptr consistantly. The _internal.pos_in_chain field was uninitialized or set to different values in different places returning the special "not found" pointer. Signed-off-by: Nir Soffer <nirsof@gmail.com>
Nick Mathewson 89def539 2011-06-16T13:28:40 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 79ff78d2 2011-06-16T13:19:43 Merge branch '20_kqueue_badf' into patches-2.0
Nick Mathewson 33124033 2011-06-14T15:15:43 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson b031adf1 2011-06-14T14:37:49 Don't break when building tests from git without python installed
Nick Mathewson 261ba63d 2011-06-13T17:07:29 Improve evbuffer_ptr documentation
Nick Mathewson 9ab8ab83 2011-06-13T16:47:43 Tweaks to return types with end-of-buf ptrs
Nir Soffer 7aeb2fd4 2011-06-13T16:35:28 Allow evbuffer_ptr to point to position 0 in an empty evbuffer
Nick Mathewson e6fe1da9 2011-06-06T21:03:35 Allow evbuffer_ptr_set to yield a point just after the end of the buffer.
Nir Soffer 8e261542 2011-06-07T03:15:51 Add failing test for evbuffer_search_range.
Nick Mathewson e9d095d4 2011-06-11T01:41:19 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: test/tinytest.c
Nick Mathewson 812d42e8 2011-06-11T01:26:54 Simplify windows commandname logic in tinytest Instead of using a dup'd pointer, let's use a static array, so we don't need to free it. This patch also makes tinytest build on non-windows again.
Ed Day 57def346 2011-06-11T00:49:24 Fix tinytest invocation from windows shell Original post: This post is in response to a posting last December on a Windows regression fork failure ([Libevent-users] Re: Libevent 2.0.10-stable is released by Dongsheng Song). I noticed the question was not answered and I recently experienced the same error myself when trying to run the Windows regression tests myself. I checked the return status from the CreateProcess call and found it was "file not found". This led me to look at the command-line I was using which was .\regress in a Visual Studio 2008 command prompt window. Windows could not find the file because it did not have the .exe extension on the end. The code that builds the command should be modified to ensure the extension is present.
Nick Mathewson 4df9b433 2011-06-08T17:38:17 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 3203f88c 2011-06-08T17:18:03 Use the correct printf args when formatting size_t Based on a patch from Mansour Moufid
Mansour Moufid 446cc7a0 2011-05-27T18:40:31 Check if the `evhttp_new_object' function in `http.c' returns NULL.
Nick Mathewson 1fd34ab4 2011-06-08T14:56:19 Report kqueue ebadf, epipe, and eperm as EV_READ events When asked to add one side of a pipe, and the other side has been closed, kqueue on NetBSD will say EBADF; kqueue on FreeBSD will say EPIPE, and kqueue on OpenBSD will say EPERM. So treat all of these as EV_READ events, to give the user an opportunity to notice that the pipe is closed. Diagnosed by Nicholas Marriott and Dale Rahn; based on a patch by Nicholas Marriott.
Nick Mathewson 5099d858 2011-06-08T14:29:36 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 09fe97da 2011-06-08T14:24:45 Replace an assertion for event_base_free(NULL) with a check-and-warn event_base_free(NULL) means "free the current event base". Previously, it would assert if there was no 'current' base. Now it just warns and returns. Reported by Gilad Benjamini
Nick Mathewson 89d5e09e 2011-06-08T14:18:41 Add some missing checks for mm_calloc failures Found by Gilad Benjamini
Nick Mathewson d19a3260 2011-06-08T13:32:47 Remove a needless branch in evbuffer_drain() Found by Gilad Benjamini; see June 2011 thread "Dead or wrong code".