- 12 Sep, 2018 1 commit
-
-
- 18 Aug, 2018 1 commit
-
-
rl1987 authored
-
- 05 Jul, 2018 3 commits
-
-
Nick Mathewson authored
I am very glad to have written this script.
-
Nick Mathewson authored
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.
-
Nick Mathewson authored
-
- 03 Jul, 2018 1 commit
-
-
Nick Mathewson authored
The standard is printf("%"PRIu64, x);
-
- 02 Jul, 2018 1 commit
-
-
Nick Mathewson authored
This reverts part of commit 6ed384b8, in order to fix bug 26568. Bugfix on 0.3.4.1-alpha.
-
- 01 Jul, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
-
- 28 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Split the network-only and compression-only parts of buffers into the appropriate modules.
-
- 27 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 21 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 20 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 15 Jun, 2018 8 commits
-
-
Nick Mathewson authored
I was expecting this to be much worse.
-
Nick Mathewson authored
-
Nick Mathewson authored
Now the entire connection_t hierarchy is extracted from or.h
-
Nick Mathewson authored
-
Nick Mathewson authored
For once, it's a type that is used almost nowhere else besides the logical place.
-
Nick Mathewson authored
-
Nick Mathewson authored
This one was actually fairly simple.
-
Nick Mathewson authored
-
- 14 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 09 May, 2018 2 commits
-
-
Nick Mathewson authored
This fixes the XXXX case that we had before, and also enforces the rule that we won't open connections when we're in hard hibernation.
-
Nick Mathewson authored
Everywhere we use we_are_hibernating(), remind the reader what it means. (Also, add an XXXX to note a DisableNetwork usage to change later.)
-
- 08 May, 2018 1 commit
-
-
Taylor Yu authored
-
- 03 May, 2018 1 commit
-
-
Nick Mathewson authored
This is part of 26009, where we're going to keep track of the current time and its jumps without having to do so in second_elapsed_callback.
-
- 26 Apr, 2018 2 commits
-
-
Nick Mathewson authored
Previously were using this value to have a cheap highish-resolution timer. But we were only using it in one place, and current dogma is to use monotime_coarse_t for this kind of thing.
-
Nick Mathewson authored
-
- 18 Apr, 2018 1 commit
-
-
Nick Mathewson authored
-
- 17 Apr, 2018 8 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Now that we update our buckets on demand before reading or writing, we no longer need to update them all every TokenBucketRefillInterval msec. When a connection runs out of bandwidth, we do need a way to reenable it, however. We do this by scheduling a timer to reenable all blocked connections for TokenBucketRefillInterval msec after a connection becomes blocked. (If we were using PerConnBWRate more, it might make sense to have a per-connection timer, rather than a single timeout. But since PerConnBWRate is currently (mostly) unused, I'm going to go for the simpler approach here, since usually whenever one connection has become blocked on bandwidth, most connections are blocked on bandwidth.) Implements ticket 25373.
-
Nick Mathewson authored
Previously this was done as part of the refill callback, but there's no real reason to do it like that. Since we're trying to remove the refill callback completely, we can do this work as part of record_num_bytes_transferred_impl(), which already does quite a lot of this.
-
Nick Mathewson authored
(This patch does not yet eliminate the global refill callback; fortunately, bucket refilling is idempotent.)
-
Nick Mathewson authored
We used to do this 10x per second in connection_buckets_refill(); instead, we now do it when the bucket becomes empty. This change is part of the work of making connection_buckets_refill() obsolete. Closes ticket 25828; bugfix on 0.2.3.5-alpha.
-
Nick Mathewson authored
Also document its actual behavior
-
Nick Mathewson authored
There was nothing round_robinish about this function.
-
Nick Mathewson authored
Right now, this patch just introduces and exposes some new functions. Later, these functions will get a little more complexity.
-