libevent
13 years agoUse SIG_IGN instead of a do-nothing handler for signal events with kqueue
Zack Weinberg [Thu, 11 Aug 2011 16:34:51 +0000 (09:34 -0700)]
Use SIG_IGN instead of a do-nothing handler for signal events with kqueue

13 years agoFix OSX build: $(OPENSSL_INCS) needs to be after $(AM_CPPFLAGS).
Zack Weinberg [Tue, 30 Aug 2011 16:38:18 +0000 (09:38 -0700)]
Fix OSX build: $(OPENSSL_INCS) needs to be after $(AM_CPPFLAGS).

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 29 Aug 2011 21:51:45 +0000 (17:51 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoclear read watermark on underlying bufferevent when creating filtering bev to fix...
Joachim Bauch [Mon, 29 Aug 2011 21:39:26 +0000 (23:39 +0200)]
clear read watermark on underlying bufferevent when creating filtering bev to fix potentially failing fragmented ssl handshakes

13 years agoCheckpoint changelog entries for 2.0.14-stable
Nick Mathewson [Mon, 29 Aug 2011 17:40:03 +0000 (13:40 -0400)]
Checkpoint changelog entries for 2.0.14-stable

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Sun, 28 Aug 2011 18:51:36 +0000 (14:51 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoCorrectly terminate IO on an async bufferevent on bufferevent_free
Nick Mathewson [Thu, 25 Aug 2011 01:39:28 +0000 (21:39 -0400)]
Correctly terminate IO on an async bufferevent on bufferevent_free

13 years agoHave test-ratelim.c support IOCP
Nick Mathewson [Wed, 24 Aug 2011 22:42:12 +0000 (18:42 -0400)]
Have test-ratelim.c support IOCP

13 years agoMake IOCP rate-limiting group support stricter and less surprising.
Nick Mathewson [Wed, 24 Aug 2011 22:41:35 +0000 (18:41 -0400)]
Make IOCP rate-limiting group support stricter and less surprising.

Previously, we wouldn't decrement read/write buckets because of IOCP
reads and writes until those reads and writes were complete.  That's
not so bad on the per-connection front.  But for group limits, the
old approach makes us launch a huge amount of reads and writes
whenever the group limit becomes positive, and then decrement the
limit to a hugely negative number as they complete.

With this patch, we decrement our read buckets whenever we launch an
IOCP read or write, based on the maximum that tried to read or
write.  Later, when the operations finish, we re-increment the
bucket based on the portion of the request that couldn't finish.

13 years agoSupport negative arguments to _bufferevent_decrement_(read/write)_buckets()
Nick Mathewson [Wed, 24 Aug 2011 22:42:00 +0000 (18:42 -0400)]
Support negative arguments to _bufferevent_decrement_(read/write)_buckets()

13 years agoWe need AM_CPPFLAGS when compiling bufferevent_openssl.c
Harlan Stenn [Sat, 27 Aug 2011 08:46:10 +0000 (04:46 -0400)]
We need AM_CPPFLAGS when compiling bufferevent_openssl.c

13 years agoUse pkg-config (if available) to handle OpenSSL.
Harlan Stenn [Sun, 28 Aug 2011 18:30:52 +0000 (14:30 -0400)]
Use pkg-config (if available) to handle OpenSSL.

13 years agoProvide the autoconf m4 macros for the new OpenSSL via pkg-config stuff.
Harlan Stenn [Sat, 27 Aug 2011 08:06:49 +0000 (04:06 -0400)]
Provide the autoconf m4 macros for the new OpenSSL via pkg-config stuff.

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Sun, 28 Aug 2011 18:06:03 +0000 (14:06 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoCleanup on 7c11e51e1ab: fix strtol usage
Nick Mathewson [Sun, 28 Aug 2011 18:03:10 +0000 (14:03 -0400)]
Cleanup on 7c11e51e1ab: fix strtol usage

13 years agoCleanup on 7c11e51e1ab: restore c90 declaration compliance
Nick Mathewson [Sun, 28 Aug 2011 18:02:40 +0000 (14:02 -0400)]
Cleanup on 7c11e51e1ab: restore c90 declaration compliance

13 years agoClean up some problems identified by Coverity.
Harlan Stenn [Sat, 27 Aug 2011 09:48:11 +0000 (05:48 -0400)]
Clean up some problems identified by Coverity.

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Wed, 24 Aug 2011 20:17:56 +0000 (16:17 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoMake rate limiting work with common_timeout logic
Nick Mathewson [Wed, 24 Aug 2011 20:17:05 +0000 (16:17 -0400)]
Make rate limiting work with common_timeout logic

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Thu, 18 Aug 2011 19:18:14 +0000 (15:18 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoMerge branch '20_iocp_fixes' into patches-2.0
Nick Mathewson [Thu, 18 Aug 2011 19:09:44 +0000 (15:09 -0400)]
Merge branch '20_iocp_fixes' into patches-2.0

13 years agoMake overlapped reads result in evbuffer callbacks getting invoked
Nick Mathewson [Thu, 18 Aug 2011 16:35:27 +0000 (12:35 -0400)]
Make overlapped reads result in evbuffer callbacks getting invoked

13 years agoIOCP: don't launch reads or writes on an unconnected socket
Nick Mathewson [Thu, 18 Aug 2011 15:41:55 +0000 (11:41 -0400)]
IOCP: don't launch reads or writes on an unconnected socket

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Thu, 18 Aug 2011 02:08:06 +0000 (22:08 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

Conflict in buffer.c: the new file-segment logic conflicted with the
solaris sendfile fix.

13 years agoTry to fix 'make distcheck' errors when building out-of-tree
Dave Hart [Mon, 15 Aug 2011 18:40:32 +0000 (14:40 -0400)]
Try to fix 'make distcheck' errors when building out-of-tree

13 years agoMake the priority inversion code use gettime(), not evutil_gettimeofday()
Nick Mathewson [Thu, 11 Aug 2011 16:47:21 +0000 (12:47 -0400)]
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).

13 years agoMake max_dispatch_interval able to apply only to low-priority events
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

13 years agoOptimization in event_process_active(): ignore maxcb & endtime for highest priority...
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.

13 years agoMake sure max_dispatch_callbacks is never negative
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.

13 years agoAdd event_config function to limit time/callbacks between calls to dispatch
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

13 years agoMerge branch '20_low_ratelim' into patches-2.0
Nick Mathewson [Thu, 18 Aug 2011 01:47:19 +0000 (21:47 -0400)]
Merge branch '20_low_ratelim' into patches-2.0

13 years agoSolaris sendfile: correctly detect amount of data sent
Michael Herf [Mon, 15 Aug 2011 17:39:10 +0000 (13:39 -0400)]
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:

13 years agoMerge remote-tracking branch 'ellzey/debug_timer_add_usec'
Nick Mathewson [Mon, 15 Aug 2011 15:29:39 +0000 (11:29 -0400)]
Merge remote-tracking branch 'ellzey/debug_timer_add_usec'

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 15 Aug 2011 15:14:57 +0000 (11:14 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoFix request_finished memory leak with debugging turned on.
Leonid Evdokimov [Wed, 10 Aug 2011 23:24:06 +0000 (03:24 +0400)]
Fix request_finished memory leak with debugging turned on.

13 years agoFix evsig_dealloc 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.

13 years agoAnother docstring fix.
Leonid Evdokimov [Wed, 10 Aug 2011 23:06:07 +0000 (03:06 +0400)]
Another docstring fix.

13 years agomore event dbg updates
Mark Ellzey [Thu, 11 Aug 2011 21:53:01 +0000 (16:53 -0500)]
more event dbg updates

13 years agoFix handling of group rate limits under 64 bytes of burst
Nick Mathewson [Thu, 11 Aug 2011 19:15:17 +0000 (15:15 -0400)]
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

13 years agoadded timeout debug logs to include event ptr.
Mark Ellzey [Thu, 11 Aug 2011 18:25:24 +0000 (13:25 -0500)]
added timeout debug logs to include event ptr.

13 years agoMerge remote-tracking branch 'ellzey/debug_timer_add_usec'
Nick Mathewson [Thu, 11 Aug 2011 18:00:01 +0000 (14:00 -0400)]
Merge remote-tracking branch 'ellzey/debug_timer_add_usec'

13 years agoMerge remote-tracking branch 'ellzey/event_debug_flag'
Nick Mathewson [Thu, 11 Aug 2011 17:59:02 +0000 (13:59 -0400)]
Merge remote-tracking branch 'ellzey/event_debug_flag'

13 years agoAdded usec debug in another area for debug
Mark Ellzey [Thu, 11 Aug 2011 17:06:54 +0000 (12:06 -0500)]
Added usec debug in another area for debug

13 years agoDebug addition for printing usec on TIMEOUT debugging.
Mark Ellzey [Thu, 11 Aug 2011 16:56:26 +0000 (11:56 -0500)]
Debug addition for printing usec on TIMEOUT debugging.

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Wed, 10 Aug 2011 17:18:30 +0000 (13:18 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoIgnore deprecation warnings on OS X
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.

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 9 Aug 2011 02:04:46 +0000 (22:04 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoAllow OS-neutral builds for platforms where some versions have arc4random_buf
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

13 years agoMerge remote-tracking branch 'github/21_split_functions'
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.

13 years agoMerge remote-tracking branch 'github/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'

13 years agochanged to --enable-verbose-debug
Mark Ellzey [Sat, 6 Aug 2011 05:32:40 +0000 (01:32 -0400)]
changed to --enable-verbose-debug

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Wed, 3 Aug 2011 16:12:47 +0000 (12:12 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoPropagate errors on the underlying bufferevent to the user.
Joachim Bauch [Tue, 26 Jul 2011 08:31:18 +0000 (10:31 +0200)]
Propagate errors on the underlying bufferevent to the user.

13 years agoAdded --enable-event-debugging in configure
Mark Ellzey [Tue, 2 Aug 2011 21:23:52 +0000 (17:23 -0400)]
Added --enable-event-debugging in configure

13 years agoAdd missing break to evhttp_parse_request_line
Nick Mathewson [Mon, 1 Aug 2011 14:30:32 +0000 (10:30 -0400)]
Add missing break to evhttp_parse_request_line

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 1 Aug 2011 14:30:02 +0000 (10:30 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoFix typo in event_compat.h comments.
Nick Mathewson [Mon, 1 Aug 2011 14:27:56 +0000 (10:27 -0400)]
Fix typo in event_compat.h comments.

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 19 Jul 2011 03:38:23 +0000 (23:38 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoBump version to 2.0.13-stable-dev
Nick Mathewson [Tue, 19 Jul 2011 03:37:59 +0000 (23:37 -0400)]
Bump version to 2.0.13-stable-dev

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 18 Jul 2011 22:23:13 +0000 (18:23 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoBump version to 2.0.13-dev release-2.0.13-stable
Nick Mathewson [Mon, 18 Jul 2011 22:19:25 +0000 (18:19 -0400)]
Bump version to 2.0.13-dev

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 18 Jul 2011 22:07:48 +0000 (18:07 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoacks and changelog for 2.0.13-stable
Nick Mathewson [Mon, 18 Jul 2011 21:05:20 +0000 (17:05 -0400)]
acks and changelog for 2.0.13-stable

13 years agoGive Makefile.am echo a non-null argument. msys likes this
Nick Mathewson [Mon, 18 Jul 2011 16:45:50 +0000 (12:45 -0400)]
Give Makefile.am echo a non-null argument. msys likes this

13 years agoFix a warning in evutil_rand when building with threads disabled
Nick Mathewson [Mon, 18 Jul 2011 01:48:38 +0000 (21:48 -0400)]
Fix a warning in evutil_rand when building with threads disabled

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 15 Jul 2011 14:20:58 +0000 (10:20 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoUse AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS
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.

13 years agoMerge remote-tracking branch 'github/21_end_of_buffer'
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

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 5 Jul 2011 18:58:35 +0000 (14:58 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoAdd doxygen to .gitignore
Nick Mathewson [Tue, 5 Jul 2011 18:57:08 +0000 (14:57 -0400)]
Add doxygen to .gitignore

13 years agoFix up test_evutil_snprintf
Nick Mathewson [Tue, 5 Jul 2011 18:55:09 +0000 (14:55 -0400)]
Fix up test_evutil_snprintf

13 years agoMerge remote-tracking branch 'github/20_size_fmt' into patches-2.0
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

13 years agoFix a test-call accidentally in the last commit
Nick Mathewson [Tue, 5 Jul 2011 18:43:24 +0000 (14:43 -0400)]
Fix a test-call accidentally in the last commit

13 years agoMore abstraction in test.sh
Nick Mathewson [Tue, 5 Jul 2011 18:41:46 +0000 (14:41 -0400)]
More abstraction in test.sh

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
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

13 years agoMerge branch 'doxygen' into patches-2.0
Nick Mathewson [Tue, 5 Jul 2011 17:04:30 +0000 (13:04 -0400)]
Merge branch 'doxygen' into patches-2.0

13 years agoUpdate Doxyfile to produce more useful output
Nick Mathewson [Tue, 5 Jul 2011 03:14:19 +0000 (23:14 -0400)]
Update Doxyfile to produce more useful output

13 years agoRevise the event/evbuffer/bufferevent doxygen for clarity and accuracy
Nick Mathewson [Tue, 5 Jul 2011 03:02:11 +0000 (23:02 -0400)]
Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy

13 years agoUse "unlimited select" on OSX so that we can have more than FD_SETSIZE fds
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

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 5 Jul 2011 04:35:35 +0000 (00:35 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoFix select.c compilation on systems with no NFDBITS
Nick Mathewson [Tue, 5 Jul 2011 04:11:59 +0000 (00:11 -0400)]
Fix select.c compilation on systems with no NFDBITS

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 4 Jul 2011 16:22:54 +0000 (12:22 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoMerge remote-tracking branch 'github/20_global_locks_init' into 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

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 4 Jul 2011 15:48:41 +0000 (11:48 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoSpeed up invoke_callbacks on evbuffers when there are no callbacks
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

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 4 Jul 2011 15:37:52 +0000 (11:37 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoFix bug in SSL bufferevents backed by a bev with a write high-watermarks
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).

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Sun, 3 Jul 2011 01:50:49 +0000 (21:50 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoFix a few warnings on OpenBSD
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

13 years agoFix AIX build issue with TAILQ_FOREACH definition
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.

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 21 Jun 2011 14:07:04 +0000 (10:07 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoDon't install event_rpcgen.py when --disable-libevent-install is used
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

13 years agoSet the special "not found" evbuffer_ptr consistantly.
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>
13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Thu, 16 Jun 2011 17:28:40 +0000 (13:28 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoMerge branch '20_kqueue_badf' into 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

13 years agoMerge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 14 Jun 2011 19:15:43 +0000 (15:15 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'

13 years agoDon't break when building tests from git without python installed
Nick Mathewson [Tue, 14 Jun 2011 18:37:49 +0000 (14:37 -0400)]
Don't break when building tests from git without python installed

13 years agoImprove evbuffer_ptr documentation
Nick Mathewson [Mon, 13 Jun 2011 21:07:29 +0000 (17:07 -0400)]
Improve evbuffer_ptr documentation

13 years agoTweaks to return types with end-of-buf ptrs
Nick Mathewson [Mon, 13 Jun 2011 20:47:43 +0000 (16:47 -0400)]
Tweaks to return types with end-of-buf ptrs

13 years agoAllow evbuffer_ptr to point to position 0 in an empty evbuffer
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