]>
granicus.if.org Git - libevent/log
Nick Mathewson [Thu, 11 Aug 2011 16:38:47 +0000 (12:38 -0400)]
Make max_dispatch_interval able to apply only to low-priority events
Suggested by Alexander Drozdov
Alexander Drozdov [Fri, 22 Jul 2011 08:29:07 +0000 (12:29 +0400)]
Optimization in event_process_active(): ignore maxcb & endtime for highest priority events.
Nick Mathewson [Thu, 11 Aug 2011 15:59:23 +0000 (11:59 -0400)]
Make sure max_dispatch_callbacks is never negative
Suggested by Alexander Drozdov.
Nick Mathewson [Thu, 2 Dec 2010 01:44:05 +0000 (20:44 -0500)]
Add event_config function to limit time/callbacks between calls to dispatch
Nick Mathewson [Mon, 15 Aug 2011 15:29:39 +0000 (11:29 -0400)]
Merge remote-tracking branch 'ellzey/debug_timer_add_usec'
Nick Mathewson [Mon, 15 Aug 2011 15:14:57 +0000 (11:14 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Leonid Evdokimov [Wed, 10 Aug 2011 23:24:06 +0000 (03:24 +0400)]
Fix request_finished memory leak with debugging turned on.
Leonid Evdokimov [Wed, 10 Aug 2011 23:10:08 +0000 (03:10 +0400)]
Fix evsig_dealloc memory leak with debugging turned on.
Leonid Evdokimov [Wed, 10 Aug 2011 23:06:07 +0000 (03:06 +0400)]
Another docstring fix.
Mark Ellzey [Thu, 11 Aug 2011 21:53:01 +0000 (16:53 -0500)]
more event dbg updates
Mark Ellzey [Thu, 11 Aug 2011 18:25:24 +0000 (13:25 -0500)]
added timeout debug logs to include event ptr.
Nick Mathewson [Thu, 11 Aug 2011 18:00:01 +0000 (14:00 -0400)]
Merge remote-tracking branch 'ellzey/debug_timer_add_usec'
Nick Mathewson [Thu, 11 Aug 2011 17:59:02 +0000 (13:59 -0400)]
Merge remote-tracking branch 'ellzey/event_debug_flag'
Mark Ellzey [Thu, 11 Aug 2011 17:06:54 +0000 (12:06 -0500)]
Added usec debug in another area for debug
Mark Ellzey [Thu, 11 Aug 2011 16:56:26 +0000 (11:56 -0500)]
Debug addition for printing usec on TIMEOUT debugging.
Nick Mathewson [Wed, 10 Aug 2011 17:18:30 +0000 (13:18 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Sebastian Hahn [Wed, 10 Aug 2011 17:11:55 +0000 (19:11 +0200)]
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 [Tue, 9 Aug 2011 02:04:46 +0000 (22:04 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Mitchell Livingston [Mon, 8 Aug 2011 21:06:46 +0000 (17:06 -0400)]
Allow OS-neutral builds for platforms where some versions have arc4random_buf
Nick Mathewson [Mon, 8 Aug 2011 20:20:53 +0000 (16:20 -0400)]
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 [Mon, 8 Aug 2011 20:17:18 +0000 (16:17 -0400)]
Merge remote-tracking branch 'github/21_faster_timeout_adj'
Mark Ellzey [Sat, 6 Aug 2011 05:32:40 +0000 (01:32 -0400)]
changed to --enable-verbose-debug
Nick Mathewson [Wed, 3 Aug 2011 16:12:47 +0000 (12:12 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Joachim Bauch [Tue, 26 Jul 2011 08:31:18 +0000 (10:31 +0200)]
Propagate errors on the underlying bufferevent to the user.
Mark Ellzey [Tue, 2 Aug 2011 21:23:52 +0000 (17:23 -0400)]
Added --enable-event-debugging in configure
Nick Mathewson [Mon, 1 Aug 2011 14:30:32 +0000 (10:30 -0400)]
Add missing break to evhttp_parse_request_line
Nick Mathewson [Mon, 1 Aug 2011 14:30:02 +0000 (10:30 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 1 Aug 2011 14:27:56 +0000 (10:27 -0400)]
Fix typo in event_compat.h comments.
Nick Mathewson [Tue, 19 Jul 2011 03:38:23 +0000 (23:38 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 19 Jul 2011 03:37:59 +0000 (23:37 -0400)]
Bump version to 2.0.13-stable-dev
Nick Mathewson [Mon, 18 Jul 2011 22:23:13 +0000 (18:23 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 18 Jul 2011 22:19:25 +0000 (18:19 -0400)]
Bump version to 2.0.13-dev
Nick Mathewson [Mon, 18 Jul 2011 22:07:48 +0000 (18:07 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 18 Jul 2011 21:05:20 +0000 (17:05 -0400)]
acks and changelog for 2.0.13-stable
Nick Mathewson [Mon, 18 Jul 2011 16:45:50 +0000 (12:45 -0400)]
Give Makefile.am echo a non-null argument. msys likes this
Nick Mathewson [Mon, 18 Jul 2011 01:48:38 +0000 (21:48 -0400)]
Fix a warning in evutil_rand when building with threads disabled
Nick Mathewson [Fri, 15 Jul 2011 14:20:58 +0000 (10:20 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 15 Jul 2011 14:20:01 +0000 (10:20 -0400)]
Use AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS
Reported by Dagobert Michelsen.
Nick Mathewson [Tue, 5 Jul 2011 19:07:07 +0000 (15:07 -0400)]
Merge remote-tracking branch 'github/21_end_of_buffer'
Conflicts:
include/event2/buffer.h
Nick Mathewson [Tue, 5 Jul 2011 18:58:35 +0000 (14:58 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 5 Jul 2011 18:57:08 +0000 (14:57 -0400)]
Add doxygen to .gitignore
Nick Mathewson [Tue, 5 Jul 2011 18:55:09 +0000 (14:55 -0400)]
Fix up test_evutil_snprintf
Nick Mathewson [Tue, 5 Jul 2011 18:51:24 +0000 (14:51 -0400)]
Merge remote-tracking branch 'github/20_size_fmt' into patches-2.0
Nick Mathewson [Tue, 5 Jul 2011 18:43:24 +0000 (14:43 -0400)]
Fix a test-call accidentally in the last commit
Nick Mathewson [Tue, 5 Jul 2011 18:41:46 +0000 (14:41 -0400)]
More abstraction in test.sh
Nick Mathewson [Tue, 5 Jul 2011 18:38:21 +0000 (14:38 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
include/event2/buffer.h
include/event2/thread.h
include/event2/util.h
Nick Mathewson [Tue, 5 Jul 2011 17:04:30 +0000 (13:04 -0400)]
Merge branch 'doxygen' into patches-2.0
Nick Mathewson [Tue, 5 Jul 2011 03:14:19 +0000 (23:14 -0400)]
Update Doxyfile to produce more useful output
Nick Mathewson [Tue, 5 Jul 2011 03:02:11 +0000 (23:02 -0400)]
Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
Nick Mathewson [Tue, 5 Jul 2011 04:36:09 +0000 (00:36 -0400)]
Use "unlimited select" on OSX so that we can have more than FD_SETSIZE fds
Nick Mathewson [Tue, 5 Jul 2011 04:35:35 +0000 (00:35 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 5 Jul 2011 04:11:59 +0000 (00:11 -0400)]
Fix select.c compilation on systems with no NFDBITS
Nick Mathewson [Mon, 4 Jul 2011 16:22:54 +0000 (12:22 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 4 Jul 2011 16:16:08 +0000 (12:16 -0400)]
Merge remote-tracking branch 'github/20_global_locks_init' into patches-2.0
Nick Mathewson [Mon, 4 Jul 2011 15:48:41 +0000 (11:48 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Mark Ellzey [Mon, 4 Jul 2011 15:47:24 +0000 (11:47 -0400)]
Speed up invoke_callbacks on evbuffers when there are no callbacks
This fixes a performance regression against 1.4
Nick Mathewson [Mon, 4 Jul 2011 15:37:52 +0000 (11:37 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Joachim Bauch [Mon, 4 Jul 2011 15:36:14 +0000 (11:36 -0400)]
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 [Sun, 3 Jul 2011 01:50:49 +0000 (21:50 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nicholas Marriott [Sun, 3 Jul 2011 01:49:07 +0000 (21:49 -0400)]
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 [Wed, 22 Jun 2011 15:22:35 +0000 (11:22 -0400)]
Fix AIX build issue with TAILQ_FOREACH definition
Reported by Lawnstein Chan.
Nick Mathewson [Tue, 21 Jun 2011 14:07:04 +0000 (10:07 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Harlan Stenn [Tue, 21 Jun 2011 14:05:28 +0000 (10:05 -0400)]
Don't install event_rpcgen.py when --disable-libevent-install is used
Nir Soffer [Mon, 13 Jun 2011 22:58:30 +0000 (01:58 +0300)]
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 [Thu, 16 Jun 2011 17:28:40 +0000 (13:28 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Thu, 16 Jun 2011 17:19:43 +0000 (13:19 -0400)]
Merge branch '20_kqueue_badf' into patches-2.0
Nick Mathewson [Tue, 14 Jun 2011 19:15:43 +0000 (15:15 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 14 Jun 2011 18:37:49 +0000 (14:37 -0400)]
Don't break when building tests from git without python installed
Nick Mathewson [Mon, 13 Jun 2011 21:07:29 +0000 (17:07 -0400)]
Improve evbuffer_ptr documentation
Nick Mathewson [Mon, 13 Jun 2011 20:47:43 +0000 (16:47 -0400)]
Tweaks to return types with end-of-buf ptrs
Nir Soffer [Mon, 13 Jun 2011 20:35:28 +0000 (16:35 -0400)]
Allow evbuffer_ptr to point to position 0 in an empty evbuffer
Nick Mathewson [Tue, 7 Jun 2011 01:03:35 +0000 (21:03 -0400)]
Allow evbuffer_ptr_set to yield a point just after the end of the buffer.
Nir Soffer [Tue, 7 Jun 2011 00:15:51 +0000 (03:15 +0300)]
Add failing test for evbuffer_search_range.
Nick Mathewson [Sat, 11 Jun 2011 05:41:19 +0000 (01:41 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
test/tinytest.c
Nick Mathewson [Sat, 11 Jun 2011 05:26:54 +0000 (01:26 -0400)]
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 [Sat, 11 Jun 2011 04:49:24 +0000 (00:49 -0400)]
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 [Wed, 8 Jun 2011 21:38:17 +0000 (17:38 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Wed, 8 Jun 2011 21:18:03 +0000 (17:18 -0400)]
Use the correct printf args when formatting size_t
Based on a patch from Mansour Moufid
Mansour Moufid [Fri, 27 May 2011 22:40:31 +0000 (18:40 -0400)]
Check if the `evhttp_new_object' function in `http.c' returns NULL.
Nick Mathewson [Wed, 8 Jun 2011 18:56:19 +0000 (14:56 -0400)]
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 [Wed, 8 Jun 2011 18:29:36 +0000 (14:29 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Wed, 8 Jun 2011 18:24:45 +0000 (14:24 -0400)]
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 [Wed, 8 Jun 2011 18:18:41 +0000 (14:18 -0400)]
Add some missing checks for mm_calloc failures
Found by Gilad Benjamini
Nick Mathewson [Wed, 8 Jun 2011 17:32:47 +0000 (13:32 -0400)]
Remove a needless branch in evbuffer_drain()
Found by Gilad Benjamini; see June 2011 thread "Dead or wrong code".
Nick Mathewson [Mon, 6 Jun 2011 19:33:27 +0000 (15:33 -0400)]
Fix a bug in the improved EOL_CRLF code
When searching for a CRLF, it would find an LF, then look for a
preceding CR if not at the start of the buffer. That's fine when
we're starting from the beginning of the buffer, but if we're starting
at (say) byte 100, and we have that byte == LF, we shouldn't check for
a CR at byte 99.
Nick Mathewson [Mon, 6 Jun 2011 19:26:37 +0000 (15:26 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 6 Jun 2011 19:11:28 +0000 (15:11 -0400)]
Fix incorrect results from evbuffer_search_eol(EOL_LF)
Our evbuffer_strchr() function [which was only used for
search_eol(EOL_LF) could give incorrect results if it found its answer
in the first chunk but didn't start searching from the front of the
chunk.
Also, this patch adds unit tests for evbuffer_search_eol, particularly
in those cases that evbuffer_readln() tests didn't exercise.
Nick Mathewson [Sun, 5 Jun 2011 01:40:55 +0000 (21:40 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
Makefile.am
WIN32-Code/event2/event-config.h
configure.in
test/regress_ssl.c
Nick Mathewson [Sun, 5 Jun 2011 01:36:34 +0000 (21:36 -0400)]
Bump version to 2.0.12-stable-dev
Nick Mathewson [Sun, 5 Jun 2011 01:12:53 +0000 (21:12 -0400)]
Merge branch 'patches-2.0' of ssh://levent.git.sourceforge.net/gitroot/levent/libevent into patches-2.0
Nick Mathewson [Sun, 5 Jun 2011 01:11:09 +0000 (21:11 -0400)]
tweak date on changelog
Nick Mathewson [Sat, 4 Jun 2011 14:34:14 +0000 (10:34 -0400)]
Merge branch 'patches-2.0' of ssh://levent.git.sourceforge.net/gitroot/levent/libevent into patches-2.0
Nick Mathewson [Fri, 3 Jun 2011 21:08:30 +0000 (17:08 -0400)]
Changelog and new credits for 2.0.12-stable
Nick Mathewson [Fri, 3 Jun 2011 21:08:14 +0000 (17:08 -0400)]
Bump version to 2.0.12-stable. Not release just yet
Nick Mathewson [Fri, 3 Jun 2011 21:06:17 +0000 (17:06 -0400)]
Fix regress_ssl.c build on openbsd
Nick Mathewson [Thu, 2 Jun 2011 21:07:40 +0000 (17:07 -0400)]
Fix windows file segment mappings
Instead of mapping enough bytes for each segment, we were failing to
take into account the slop created by rounding the segment position
down to the nearest page.
Should fix bug
3142394 found by Sebastian Hahn.
Nick Mathewson [Wed, 1 Jun 2011 21:27:28 +0000 (17:27 -0400)]
Avoid a segfault when all methods are disabled or broken
Nick Mathewson [Wed, 1 Jun 2011 18:19:13 +0000 (14:19 -0400)]
Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF
Nick Mathewson [Wed, 1 Jun 2011 18:02:56 +0000 (14:02 -0400)]
Merge remote-tracking branch 'github/master'
Nick Mathewson [Wed, 1 Jun 2011 18:02:48 +0000 (11:02 -0700)]
Merge pull request #17 from minaguib/master
Improve speed of EVBUFFER_EOL_CRLF