]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
14 years agoslight tweak to unify things tor-0.2.3.4-alpha
Roger Dingledine [Wed, 14 Sep 2011 00:26:32 +0000 (20:26 -0400)] 
slight tweak to unify things

14 years agobump to 0.2.3.4-alpha
Roger Dingledine [Tue, 13 Sep 2011 23:59:06 +0000 (19:59 -0400)] 
bump to 0.2.3.4-alpha

14 years agoa blurb for 0.2.3.4-alpha
Roger Dingledine [Tue, 13 Sep 2011 23:56:59 +0000 (19:56 -0400)] 
a blurb for 0.2.3.4-alpha

14 years agoforward-port the 0.2.2.33 changelog
Roger Dingledine [Tue, 13 Sep 2011 23:19:38 +0000 (19:19 -0400)] 
forward-port the 0.2.2.33 changelog

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Tue, 13 Sep 2011 22:32:00 +0000 (18:32 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Tue, 13 Sep 2011 22:27:13 +0000 (18:27 -0400)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

Conflicts:
src/or/main.c
src/or/router.c

14 years agoGenerate our ssl session certs with a plausible lifetime
Roger Dingledine [Tue, 13 Sep 2011 22:24:45 +0000 (18:24 -0400)] 
Generate our ssl session certs with a plausible lifetime

Nobody but Tor uses certs on the wire with 2 hour lifetimes,
and it makes us stand out. Resolves ticket 4014.

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Mon, 12 Sep 2011 09:54:55 +0000 (05:54 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoUpdate to the September 2011 GeoIP database.
Karsten Loesing [Mon, 12 Sep 2011 09:40:26 +0000 (11:40 +0200)] 
Update to the September 2011 GeoIP database.

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Sun, 11 Sep 2011 20:25:14 +0000 (16:25 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agofix whitespace (two-space indent)
Roger Dingledine [Sun, 11 Sep 2011 05:33:04 +0000 (01:33 -0400)] 
fix whitespace (two-space indent)

14 years agoDemote 'INTRODUCE2 cell is too {old,new}' message to info level
Robert Ransom [Sun, 11 Sep 2011 01:40:09 +0000 (21:40 -0400)] 
Demote 'INTRODUCE2 cell is too {old,new}' message to info level

14 years agoDemote HS 'replay detected' log message for DH public keys to info level
Robert Ransom [Sun, 11 Sep 2011 00:54:26 +0000 (20:54 -0400)] 
Demote HS 'replay detected' log message for DH public keys to info level

14 years agoDescribe rend_service_descriptor_t more completely
Robert Ransom [Sat, 10 Sep 2011 23:09:01 +0000 (19:09 -0400)] 
Describe rend_service_descriptor_t more completely

14 years agoDescribe rend_intro_point_t more completely
Robert Ransom [Sat, 10 Sep 2011 23:05:53 +0000 (19:05 -0400)] 
Describe rend_intro_point_t more completely

14 years agoChanges file for bug3936 changes
Nick Mathewson [Sat, 10 Sep 2011 21:51:38 +0000 (17:51 -0400)] 
Changes file for bug3936 changes

14 years agoStop parse_client_port_config() from misinterpreting FooListenAddress and FooPort...
Fabian Keil [Sat, 10 Sep 2011 10:33:23 +0000 (12:33 +0200)] 
Stop parse_client_port_config() from misinterpreting FooListenAddress and FooPort in legacy syntax

Previously the FooPort was ignored and the default used instead,
causing Tor to bind to the wrong port if FooPort and the default
port don't match or the CONN_TYPE_FOO_LISTENER has no default port.

Fixes #3936.

14 years agoFix whitespace in parse_client_port_config()
Fabian Keil [Mon, 5 Sep 2011 19:35:15 +0000 (21:35 +0200)] 
Fix whitespace in parse_client_port_config()

14 years agoMerge remote-tracking branch 'rransom-tor/typo-fix-ohkah8Ah'
Nick Mathewson [Sat, 10 Sep 2011 21:45:27 +0000 (17:45 -0400)] 
Merge remote-tracking branch 'rransom-tor/typo-fix-ohkah8Ah'

14 years agoFix log message typo.
Robert Ransom [Sat, 10 Sep 2011 20:15:52 +0000 (16:15 -0400)] 
Fix log message typo.

14 years agostart an 0.2.3.4-alpha changelog
Roger Dingledine [Fri, 9 Sep 2011 17:51:15 +0000 (13:51 -0400)] 
start an 0.2.3.4-alpha changelog

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 9 Sep 2011 16:58:12 +0000 (12:58 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
configure.in
src/or/circuitbuild.c

14 years agoMerge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2
Nick Mathewson [Fri, 9 Sep 2011 16:54:27 +0000 (12:54 -0400)] 
Merge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2

14 years agoMerge remote-tracking branch 'public/enhance_replay_detection' into maint-0.2.2
Nick Mathewson [Fri, 9 Sep 2011 16:53:45 +0000 (12:53 -0400)] 
Merge remote-tracking branch 'public/enhance_replay_detection' into maint-0.2.2

14 years agoCheck for replays in PK-encrypted part of intro cell, not just in the g^x value
Nick Mathewson [Wed, 11 May 2011 01:40:10 +0000 (21:40 -0400)] 
Check for replays in PK-encrypted part of intro cell, not just in the g^x value

14 years agoAdd changes file for bsd4 fixes
Nick Mathewson [Fri, 9 Sep 2011 14:40:54 +0000 (10:40 -0400)] 
Add changes file for bsd4 fixes

14 years agoFix whitespace issues in patches merged today so far
Nick Mathewson [Thu, 8 Sep 2011 00:26:58 +0000 (20:26 -0400)] 
Fix whitespace issues in patches merged today so far

14 years agochown() sockets when User option is set
Jérémy Bobbio [Wed, 7 Sep 2011 16:51:24 +0000 (18:51 +0200)] 
chown() sockets when User option is set

Fixes bug 3421

14 years agofix a const warning
Nick Mathewson [Wed, 7 Sep 2011 19:06:01 +0000 (15:06 -0400)] 
fix a const warning

14 years agoMerge branch 'bug3327_squashed'
Nick Mathewson [Wed, 7 Sep 2011 19:03:54 +0000 (15:03 -0400)] 
Merge branch 'bug3327_squashed'

14 years agoReport reason for generating descriptor in an HTTP header
Nick Mathewson [Fri, 24 Jun 2011 20:43:08 +0000 (16:43 -0400)] 
Report reason for generating descriptor in an HTTP header

Suggested by arma; based on 3327.

14 years agoClean up HTTP request header generation a little
Nick Mathewson [Fri, 24 Jun 2011 20:38:44 +0000 (16:38 -0400)] 
Clean up HTTP request header generation a little

Use a list of headers rather than trying to printf every header that
might exist.

14 years agoUpload descriptors more often when recent desc is unlisted
Nick Mathewson [Wed, 22 Jun 2011 16:27:27 +0000 (12:27 -0400)] 
Upload descriptors more often when recent desc is unlisted

Right now we only force a new descriptor upload every 18 hours.
This can make servers become unlisted if they upload a descriptor at
time T which the authorities reject as being "too similar" to one
they uploaded before. Nothing will actually make the server upload a
new descriptor later on, until another 18 hours have passed.

This patch changes the upload behavior so that the 18 hour interval
applies only when we're listed in a live consensus with a descriptor
published within the last 18 hours.  Otherwise--if we're not listed
in the live consensus, or if we're listed with a publication time
over 18 hours in the past--we upload a new descriptor every 90
minutes.

This is an attempted bugfix for #3327.  If we merge it, it should
obsolete #535.

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 7 Sep 2011 18:51:55 +0000 (14:51 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
src/or/dirserv.c
src/or/networkstatus.c

Conflicts were related to routerinfo->node shift.

14 years agoMerge remote-tracking branch 'public/bug2649_squashed' into maint-0.2.2
Nick Mathewson [Wed, 7 Sep 2011 18:43:06 +0000 (14:43 -0400)] 
Merge remote-tracking branch 'public/bug2649_squashed' into maint-0.2.2

14 years agochanges file for split_entry_conn (ticket 3627)
Nick Mathewson [Wed, 7 Sep 2011 18:18:47 +0000 (14:18 -0400)] 
changes file for split_entry_conn (ticket 3627)

14 years agoRemove a now-needless test.
Nick Mathewson [Wed, 7 Sep 2011 18:18:32 +0000 (14:18 -0400)] 
Remove a now-needless test.

14 years agoMerge remote-tracking branch 'public/split_entry_conn'
Nick Mathewson [Wed, 7 Sep 2011 18:13:57 +0000 (14:13 -0400)] 
Merge remote-tracking branch 'public/split_entry_conn'

Conflicts:
src/or/connection.c
src/or/connection_edge.c
src/or/connection_edge.h
src/or/dnsserv.c

Some of these were a little tricky, since they touched code that
changed because of the prop171 fixes.

14 years agoDie if tor_vasprintf fails in connection_printf_to_buf
Robert Ransom [Thu, 23 Jun 2011 22:16:25 +0000 (15:16 -0700)] 
Die if tor_vasprintf fails in connection_printf_to_buf

tor_asprintf already asserts if it fails.

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 7 Sep 2011 16:11:35 +0000 (12:11 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
configure.in

Conflict was between two pieces of configure.in logic added to the
same place.  Trivial.

14 years agoLook for correct "ar" to cross-compile
Nick Mathewson [Fri, 2 Sep 2011 15:51:49 +0000 (11:51 -0400)] 
Look for correct "ar" to cross-compile

For some reason, autoconf doesn't by default have an "AC_PROG_AR" for
this -- possibly it's assumed that any "ar" you have will work
everyplace.

Fixes bug 3909; found by sid77.

This fixes a build issue first present in fdbdb4dc1500, but the bug
(of not using a correct ar) has been in every Tor version ever: it
just didn't matter until then.

14 years agoMerge remote-tracking branch 'public/bug3851'
Nick Mathewson [Wed, 7 Sep 2011 15:22:24 +0000 (11:22 -0400)] 
Merge remote-tracking branch 'public/bug3851'

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 7 Sep 2011 00:55:31 +0000 (20:55 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
src/or/connection_edge.c

Conflicted on a router->node transition; fix was easy.

14 years agoFix assertion in addressmap_clear_excluded_trackexithosts
Nick Mathewson [Wed, 7 Sep 2011 00:26:20 +0000 (20:26 -0400)] 
Fix assertion in addressmap_clear_excluded_trackexithosts

Fixes bug 3923; bugfix on 0.2.2.25-alpha; bugfix from 'laruldan' on trac.

14 years agobump to 0.2.3.3-alpha-dev
Roger Dingledine [Fri, 2 Sep 2011 11:41:55 +0000 (07:41 -0400)] 
bump to 0.2.3.3-alpha-dev

14 years agomerge in one more tor-0.2.3.3-alpha
Roger Dingledine [Fri, 2 Sep 2011 11:24:25 +0000 (07:24 -0400)] 
merge in one more

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Fri, 2 Sep 2011 11:23:37 +0000 (07:23 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoCorrect man page: multiple control auth styles can be set at once
Roger Dingledine [Fri, 2 Sep 2011 11:01:55 +0000 (07:01 -0400)] 
Correct man page: multiple control auth styles can be set at once

14 years agobump to 0.2.3.3-alpha
Roger Dingledine [Fri, 2 Sep 2011 10:23:28 +0000 (06:23 -0400)] 
bump to 0.2.3.3-alpha

14 years agofold in last changes item
Roger Dingledine [Fri, 2 Sep 2011 00:49:21 +0000 (20:49 -0400)] 
fold in last changes item

14 years agoHandle test case where fgets() sees EOF on the last read
Steven Murdoch [Thu, 1 Sep 2011 17:17:54 +0000 (18:17 +0100)] 
Handle test case where fgets() sees EOF on the last read

On some platforms, with non-blocking IO, on EOF you first
get EAGAIN, and then on the second read you get zero bytes
and EOF is set. However on others, the EOF flag is set as
soon as the last byte is read. This patch fixes the test
case in the latter scenario.

14 years agoMerge branch 'bug3888'
Nick Mathewson [Thu, 1 Sep 2011 14:45:34 +0000 (10:45 -0400)] 
Merge branch 'bug3888'

14 years agoChanges file for bug3888
Nick Mathewson [Thu, 1 Sep 2011 14:45:26 +0000 (10:45 -0400)] 
Changes file for bug3888

14 years agoFix double-closing a stdio stream
Steven Murdoch [Thu, 1 Sep 2011 12:09:38 +0000 (13:09 +0100)] 
Fix double-closing a stdio stream

After a stream reached eof, we fclose it, but then
test_util_spawn_background_partial_read() reads from it again, which causes
an error and thus another fclose(). Some platforms are fine with this, others
(e.g. debian-sid-i386) trigger a double-free() error. The actual code used by
Tor (log_from_pipe() and tor_check_port_forwarding()) handle this case
correctly.

14 years agoExplicitly set bucket_cfg to NULL after we freed it
Sebastian Hahn [Thu, 1 Sep 2011 10:24:05 +0000 (12:24 +0200)] 
Explicitly set bucket_cfg to NULL after we freed it

This should fix bug 3888.

14 years agoclean 0.2.3.3-alpha changelog
Roger Dingledine [Thu, 1 Sep 2011 06:43:11 +0000 (02:43 -0400)] 
clean 0.2.3.3-alpha changelog

ready when you are, nick

14 years agoTweaks on last process-launch patches
Nick Mathewson [Thu, 1 Sep 2011 02:14:38 +0000 (22:14 -0400)] 
Tweaks on last process-launch patches

14 years agoMake a version of tor_read_all_handle() for non-Windows platforms
Steven Murdoch [Thu, 1 Sep 2011 00:06:12 +0000 (01:06 +0100)] 
Make a version of tor_read_all_handle() for non-Windows platforms

Mainly used for testing reading from subprocesses. To be more generic
we now pass in a pointer to a process_handle_t rather than a Windows-
specific HANDLE.

14 years agoFix off-by-one error when allocating memory in test_util_split_lines()
Steven Murdoch [Wed, 31 Aug 2011 22:40:29 +0000 (23:40 +0100)] 
Fix off-by-one error when allocating memory in test_util_split_lines()

Triggered "failed OVER picket-fence magic-number check (err 27)" when
memory debugging using dmalloc is enabled (at 'low' or higher).

14 years agoFirst draft of an 0.2.3.3-alpha changelog
Nick Mathewson [Wed, 31 Aug 2011 05:02:38 +0000 (01:02 -0400)] 
First draft of an 0.2.3.3-alpha changelog

14 years agoAdd a missing include to util.c to get waitpid() on Linux
Nick Mathewson [Wed, 31 Aug 2011 04:36:43 +0000 (00:36 -0400)] 
Add a missing include to util.c to get waitpid() on Linux

14 years agoCheck for lround with autoconf; fall back to rint.
Nick Mathewson [Wed, 31 Aug 2011 02:22:15 +0000 (22:22 -0400)] 
Check for lround with autoconf; fall back to rint.

14 years agoFix a compilation issue on older FreeBSDs
Sebastian Hahn [Wed, 31 Aug 2011 00:45:49 +0000 (20:45 -0400)] 
Fix a compilation issue on older FreeBSDs

14 years agoUse %f with printf-style formatting, not %lf
Nick Mathewson [Wed, 31 Aug 2011 00:42:51 +0000 (20:42 -0400)] 
Use %f with printf-style formatting, not %lf

For printf, %f and %lf are synonymous, since floats are promoted to
doubles when passed as varargs.  It's only for scanf that we need to
say "%lf" for doubles and "%f" for floats.

Apparenly, some older compilers think it's naughty to say %lf and like
to spew warnings about it.

Found by grarpamp.

14 years agoSwitch a SMARTLIST_FOREACH in circuitbuild.c to BEGIN/END
Nick Mathewson [Wed, 31 Aug 2011 00:35:17 +0000 (20:35 -0400)] 
Switch a SMARTLIST_FOREACH in circuitbuild.c to BEGIN/END

It had some cpp stuff inside, and older GCCs don't like preprocessor
directives inside macro arguments.

Found by grarpamp.

14 years agoRename tor_join_cmdline to tor_join_win_cmdline; tweak doxygen
Nick Mathewson [Tue, 30 Aug 2011 20:00:08 +0000 (16:00 -0400)] 
Rename tor_join_cmdline to tor_join_win_cmdline; tweak doxygen

14 years agoMerge remote-tracking branch 'sjmurdoch/bug2046'
Nick Mathewson [Tue, 30 Aug 2011 19:51:45 +0000 (15:51 -0400)] 
Merge remote-tracking branch 'sjmurdoch/bug2046'

14 years agoDocument limitation of log_from_handle with partial reads
Steven Murdoch [Tue, 30 Aug 2011 14:02:28 +0000 (15:02 +0100)] 
Document limitation of log_from_handle with partial reads

14 years agoFactor out and re-write code for splitting lines from a handle
Steven Murdoch [Tue, 30 Aug 2011 13:55:51 +0000 (14:55 +0100)] 
Factor out and re-write code for splitting lines from a handle

Now handles non-printable characters and will not output a spurious
new-line if given a partial line.

14 years agoAdd a bufferevent note to startup log
Sebastian Hahn [Mon, 29 Aug 2011 21:10:03 +0000 (23:10 +0200)] 
Add a bufferevent note to startup log

This should help us easily spot if a tor was built with
--enable-bufferevent or not

14 years agoFix compilation on non-bufferevent systems after 3803 fix: oops.
Nick Mathewson [Mon, 29 Aug 2011 17:41:59 +0000 (13:41 -0400)] 
Fix compilation on non-bufferevent systems after 3803 fix: oops.

14 years agoSplit out rephist parts of buckets_decrement
Nick Mathewson [Mon, 29 Aug 2011 16:55:59 +0000 (12:55 -0400)] 
Split out rephist parts of buckets_decrement

For bufferevents, we had all of connection_buckets_decrement() stubbed
out.  But that's not actually right!  The rephist_* parts were
essential for, inter alia, recording our own bandwidth.  This patch
splits out the rephist parts of connection_buckets_decrement() into their
own function, and makes the bufferevent code call that new function.

Fixes bug 3803, and probably 3824 and 3826 too.  Bugfix on 0.2.3.1-alpha.

14 years agoMake FetchUselessDescriptors fetch all desc types
Nick Mathewson [Mon, 29 Aug 2011 15:18:06 +0000 (11:18 -0400)] 
Make FetchUselessDescriptors fetch all desc types

Previously, if you were set up to use microdescriptors, and you
weren't a cache, you'd never fetch router descriptors (except for
bridges).  Now FetchUselessDescriptors causes descriptors and
mirodescs to get cached.  Also, FetchUselessDescriptors changes the
behavior of "UseMicrodescriptors auto" to be off, since there's no
point in saying "UseMicrodescriptors 1" when you have full descriptors
too.

Fix for bug 3851; bugfix on 0.2.3.1-alpha.

14 years agoRefactor out command line formatting
Steven Murdoch [Mon, 29 Aug 2011 11:26:55 +0000 (12:26 +0100)] 
Refactor out command line formatting

Now correctly handles whitespace, quotes and backslashes. Passes all unit tests.

14 years agoadd another heuristic for making release notes
Roger Dingledine [Mon, 29 Aug 2011 01:43:19 +0000 (21:43 -0400)] 
add another heuristic for making release notes

14 years agoAdd a sanity check
Steven Murdoch [Sun, 28 Aug 2011 23:36:41 +0000 (00:36 +0100)] 
Add a sanity check

14 years agoReplace two magic tristates with #define'd names
Steven Murdoch [Sun, 28 Aug 2011 23:30:18 +0000 (00:30 +0100)] 
Replace two magic tristates with #define'd names

- process_handle_t.status
- return value of tor_get_exit_code()

14 years agoMake signature of tor_spawn_background more conventional
Steven Murdoch [Sun, 28 Aug 2011 22:35:02 +0000 (23:35 +0100)] 
Make signature of tor_spawn_background more conventional

Conventionally in Tor, structs are returned as pointers, so change
tor_spawn_background() to return the process handle in a pointer rather
than as return value.

14 years agoupdate punctuation now that we've seen the source text
Roger Dingledine [Sat, 27 Aug 2011 19:05:58 +0000 (15:05 -0400)] 
update punctuation now that we've seen the source text

14 years agoClarify the heartbeat message a bit.
George Kadianakis [Sat, 27 Aug 2011 16:45:54 +0000 (18:45 +0200)] 
Clarify the heartbeat message a bit.

14 years agoupdate changelog/release notes from release-0.2.2
Roger Dingledine [Fri, 26 Aug 2011 23:14:07 +0000 (19:14 -0400)] 
update changelog/release notes from release-0.2.2

14 years agoGather all 0.2.2 changelogs into unified release notes
Roger Dingledine [Fri, 26 Aug 2011 06:42:18 +0000 (02:42 -0400)] 
Gather all 0.2.2 changelogs into unified release notes

14 years agoMerge branch 'bug3814'
Nick Mathewson [Fri, 26 Aug 2011 20:42:13 +0000 (16:42 -0400)] 
Merge branch 'bug3814'

14 years agoFix a bufferevent-related bug that killed tunneled dirserv conns
Nick Mathewson [Fri, 26 Aug 2011 20:10:17 +0000 (16:10 -0400)] 
Fix a bufferevent-related bug that killed tunneled dirserv conns

Because tunneled connections are implemented with buffervent_pair,
writing to them can cause an immediate flush.  This means that
added to them and then checking to see whether their outbuf is
empty is _not_ an adequate way to see whether you added anything.
This caused a problem in directory server connections, since they
would try spooling a little more data out, and then close the
connection if there was no queued data to send.

This fix should improve matters; it only closes the connection if
there is no more data to spool, and all of the spooling callbacks
are supposed to put the dirconn into dir_spool_none on completion.

This is bug 3814; Sebastian found it; bugfix on 0.2.3.1-alpha.

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Thu, 25 Aug 2011 22:55:28 +0000 (18:55 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoMention that HiddenServiceDir must exist
Sebastian Hahn [Thu, 25 Aug 2011 20:26:54 +0000 (22:26 +0200)] 
Mention that HiddenServiceDir must exist

14 years agomanually forward-port 2871dd8bef
Roger Dingledine [Thu, 25 Aug 2011 19:51:24 +0000 (15:51 -0400)] 
manually forward-port 2871dd8bef

14 years agoMerge branch 'bufev_ratelim_and_wm'
Nick Mathewson [Wed, 24 Aug 2011 21:57:55 +0000 (17:57 -0400)] 
Merge branch 'bufev_ratelim_and_wm'

14 years agoSet write low-watermarks on all bufferevents.
Nick Mathewson [Wed, 24 Aug 2011 21:30:20 +0000 (17:30 -0400)] 
Set write low-watermarks on all bufferevents.

If we don't do this, then we never invoke the bufferevent write
callbacks until all the bufferevent's data is flushed.

14 years agoAdd write watermarks to filtered bufferevents.
Nick Mathewson [Wed, 24 Aug 2011 21:18:25 +0000 (17:18 -0400)] 
Add write watermarks to filtered bufferevents.

14 years agoApply rate-limiting to the lowest bufferevent in the stack.
Nick Mathewson [Wed, 24 Aug 2011 21:09:56 +0000 (17:09 -0400)] 
Apply rate-limiting to the lowest bufferevent in the stack.

When we're doing filtering ssl bufferevents, we want the rate-limits
to apply to the lowest level of the bufferevent stack, so that we're
actually limiting bytes sent on the network. Otherwise, we'll read
from the network aggressively, and only limit stuff as we process it.

14 years agoAppease "make check-spaces"
Steven Murdoch [Wed, 24 Aug 2011 20:34:13 +0000 (21:34 +0100)] 
Appease "make check-spaces"

14 years agoImprove comments and fix one bug
Steven Murdoch [Wed, 24 Aug 2011 20:33:53 +0000 (21:33 +0100)] 
Improve comments and fix one bug

14 years agoWe don't need to find our own path, just tell Windows to search
Steven Murdoch [Wed, 24 Aug 2011 19:50:58 +0000 (20:50 +0100)] 
We don't need to find our own path, just tell Windows to search

14 years agoFind test-child.exe by looking in same directory as test.exe
Steven Murdoch [Wed, 24 Aug 2011 18:56:38 +0000 (19:56 +0100)] 
Find test-child.exe by looking in same directory as test.exe

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 24 Aug 2011 17:53:17 +0000 (13:53 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agolround() missing in MSVC
Gisle Vanem [Wed, 24 Aug 2011 17:52:44 +0000 (13:52 -0400)] 
lround() missing in MSVC

lround() is missing in MS Visual-C's <math.h>. Not available anywhere.
Here is an easy patch.

14 years agoFix compilation errors under *nix
Steven Murdoch [Tue, 23 Aug 2011 00:09:24 +0000 (01:09 +0100)] 
Fix compilation errors under *nix

14 years agoFix test cases to handle MSYS style paths (/c/foo rather than c:/foo)
Steven Murdoch [Mon, 22 Aug 2011 19:05:11 +0000 (20:05 +0100)] 
Fix test cases to handle MSYS style paths (/c/foo rather than c:/foo)

Also fix test case to expect 1 on successfully spawning a subprocess

14 years agoTidy up subprocess code
Steven Murdoch [Mon, 22 Aug 2011 18:43:38 +0000 (19:43 +0100)] 
Tidy up subprocess code

- Better error handling
- Write description of functions
- Don't assume non-negative process return values