| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Move a few immutable fields from ChannelImpl outside the lock. | Nick Mathewson | 2020-11-13 | 2 | -31/+25 | |
| | | | | | | Since these don't change while the channel is alive, we don't need the lock to protect them. | |||||
| * | Make Arc<>-ness of ClientCirc explicit. | Nick Mathewson | 2020-11-12 | 2 | -42/+46 | |
| | | ||||||
| * | Make the Arc-ness of channels more explicit. | Nick Mathewson | 2020-11-12 | 4 | -54/+38 | |
| | | | | | | | Previously every channel was a secret Arc<>, which I think is bad style, and which stopped us from using weak references in other places. | |||||
| * | Refactor DataStream to be splittable, and have internal locking. | Nick Mathewson | 2020-11-04 | 1 | -8/+57 | |
| | | | | | This lets me fix the deadlock in the proxy code. | |||||
| * | stream: Update to enable more fine-grained locking | Nick Mathewson | 2020-11-04 | 2 | -16/+27 | |
| | | | | | | Not sure this is quite right, or quite deadlock free, but it lets us read/write cells on a stream we haven't locked. | |||||
| * | Add a tiny bit of cleanup logic to tor-circmgr | Nick Mathewson | 2020-11-02 | 1 | -0/+7 | |
| | | ||||||
| * | Tests for tor-chanmgr. | Nick Mathewson | 2020-10-30 | 1 | -0/+6 | |
| | | ||||||
| * | chanmgr: don't return closing channels. | Nick Mathewson | 2020-10-30 | 1 | -0/+7 | |
| | | ||||||
| * | Implement a channel-manager type to get or launch channels on request. | Nick Mathewson | 2020-10-30 | 1 | -1/+1 | |
| | | ||||||
| * | Remove duplication of ipaddr argument in handshake. | Nick Mathewson | 2020-10-29 | 1 | -13/+19 | |
| | | ||||||
| * | Function to check whether a channel matches a target. | Nick Mathewson | 2020-10-29 | 2 | -2/+30 | |
| | | ||||||
| * | tor-proto API: Use new_ref, not clone. | Nick Mathewson | 2020-10-29 | 3 | -14/+19 | |
| | | | | | | | Semantically, cloning a Channel or Circuit is actually increasing an internal reference count. We should name the functions to reflect that, to be more explicit about what we're doing. | |||||
| * | Add a simple test for stream creation. | Nick Mathewson | 2020-10-27 | 1 | -1/+37 | |
| | | ||||||
| * | Add a test for extending a circuit with ntor. | Nick Mathewson | 2020-10-27 | 1 | -0/+53 | |
| | | ||||||
| * | circuit: test meta-cell receiving | Nick Mathewson | 2020-10-27 | 1 | -11/+77 | |
| | | ||||||
| * | Downgrade an XXXXM3 message. | Nick Mathewson | 2020-10-27 | 1 | -1/+1 | |
| | | ||||||
| * | Unify interface for detecting stream close. | Nick Mathewson | 2020-10-27 | 1 | -2/+1 | |
| | | ||||||
| * | Add a test for sending a cell. | Nick Mathewson | 2020-10-27 | 1 | -1/+84 | |
| | | ||||||
| * | Expand test to handle building circuit with ntor. | Nick Mathewson | 2020-10-27 | 2 | -15/+90 | |
| | | ||||||
| * | Make a test for create_firsthop_fast. WOW that was hard. | Nick Mathewson | 2020-10-27 | 2 | -4/+75 | |
| | | ||||||
| * | Make circuit reactors also have a run_once() method for testing. | Nick Mathewson | 2020-10-27 | 3 | -51/+60 | |
| | | ||||||
| * | Add a fake, reactorless channel, for use in testing circuits | Nick Mathewson | 2020-10-27 | 2 | -3/+45 | |
| | | ||||||
| * | Remove use of Cell<> in tor_proto. | Nick Mathewson | 2020-10-27 | 2 | -17/+13 | |
| | | | | | I was confused about what this was for, I guess. | |||||
| * | Rename CircIDRange to CircIdRange | Nick Mathewson | 2020-10-27 | 2 | -10/+10 | |
| | | ||||||
| * | Run "cargo upgrade". | Nick Mathewson | 2020-10-26 | 1 | -1/+1 | |
| | | ||||||
| * | Remove a bunch of dbg! calls. | Nick Mathewson | 2020-10-26 | 3 | -3/+3 | |
| | | ||||||
| * | Use event_listener to find out about sendme replenishment. | Nick Mathewson | 2020-10-26 | 1 | -30/+11 | |
| | | | | | | Previously we would fail if a sendme window was exhausted and two tasks were waiting for it to be replenished at the same time. | |||||
| * | Resolve a bunch of XXXM3 comments in tor-proto. | Nick Mathewson | 2020-10-26 | 6 | -78/+81 | |
| | | ||||||
| * | Improve documentation in tor-proto | Nick Mathewson | 2020-10-26 | 7 | -36/+112 | |
| | | ||||||
| * | rudimentary test for channelbuilder. | Nick Mathewson | 2020-10-26 | 1 | -1/+10 | |
| | | ||||||
| * | Tests for sending bad/good cell types on a channel | Nick Mathewson | 2020-10-26 | 2 | -7/+42 | |
| | | ||||||
| * | Clean up some XXXXs in channel::reactor.rs | Nick Mathewson | 2020-10-26 | 1 | -7/+3 | |
| | | ||||||
| * | Tests for receving incoming DESTROY cell. | Nick Mathewson | 2020-10-26 | 1 | -0/+58 | |
| | | ||||||
| * | channel::reactor: Tests for handling incoming RELAY cells | Nick Mathewson | 2020-10-26 | 2 | -1/+88 | |
| | | ||||||
| * | Test for rejecting CREATED cells | Nick Mathewson | 2020-10-26 | 1 | -1/+16 | |
| | | ||||||
| * | Add a CircEnt::DestroySent circuit state. | Nick Mathewson | 2020-10-26 | 4 | -12/+60 | |
| | | | | | | | | A circuit enters DestroySent after it's sent a DESTROY cell. We use this state to make sure that we don't receive too many cells on a destroyed circuit, _and_ so that we don't block such cells completely. | |||||
| * | Use better return type in advance_from_opening | Nick Mathewson | 2020-10-25 | 2 | -23/+23 | |
| | | ||||||
| * | Use from_bytes name for Ed25519Identity | Nick Mathewson | 2020-10-25 | 1 | -2/+1 | |
| | | ||||||
| * | Rename CircID and StreamID to end with Id instead, for consistency | Nick Mathewson | 2020-10-25 | 7 | -47/+47 | |
| | | ||||||
| * | Add some tests for channel reactor and related code. | Nick Mathewson | 2020-10-25 | 4 | -0/+155 | |
| | | ||||||
| * | Add a test for running and shutting down reactors. | Nick Mathewson | 2020-10-25 | 1 | -1/+80 | |
| | | | | | | This took a long time since I needed to learn about futures and executors, but I think it'll work out okay. | |||||
| * | channel: Refactor the point when we split the framed codec. | Nick Mathewson | 2020-10-25 | 4 | -21/+31 | |
| | | | | | | | We used to do this during creating the channel in Channel::new, but now we do it one step before, so that it's easier to construct channels for testing. | |||||
| * | channel: Move looping part of run_impl() into run(). | Nick Mathewson | 2020-10-25 | 1 | -27/+51 | |
| | | | | | | This lets us turn run-impl() into a run_once() function for easier testing. | |||||
| * | Move cell logging into ChannelImpl | Nick Mathewson | 2020-10-23 | 1 | -12/+11 | |
| | | ||||||
| * | circuit: Remove the needlessly separated ReactorCore type. | Nick Mathewson | 2020-10-23 | 1 | -29/+16 | |
| | | ||||||
| * | channel: Remove the needlessly separated ReactorCore type. | Nick Mathewson | 2020-10-23 | 1 | -21/+10 | |
| | | ||||||
| * | Test for finish-handshake function | Nick Mathewson | 2020-10-23 | 1 | -0/+18 | |
| | | ||||||
| * | handshake: tests for invalid signatures | Nick Mathewson | 2020-10-23 | 1 | -1/+49 | |
| | | ||||||
| * | Add tests for handshakes certifying the wrong thing | Nick Mathewson | 2020-10-23 | 1 | -0/+53 | |
| | | ||||||
| * | Tests for handshakes with missing certs | Nick Mathewson | 2020-10-23 | 2 | -11/+62 | |
| | | | | | Also handle tor_cell::Error::ChanProto better. | |||||
