| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | memquota: Expand on ChannelAccount | Ian Jackson | 2024-10-09 | 1 | -0/+1 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2509#note_3089914 | |||||
| | * | memquota: Add docs and TODOs re inbound channel->circuit data | Ian Jackson | 2024-10-09 | 2 | -0/+3 | |
| | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2509#note_3089913 | |||||
| | * | emquota: Clarify circuit data queue | Ian Jackson | 2024-10-09 | 1 | -1/+1 | |
| | | | ||||||
| | * | memquota: Further docs tweaks | Ian Jackson | 2024-10-09 | 1 | -0/+2 | |
| | | | ||||||
| | * | mq docs: Clarity that chanmgr and circmgr share the ToplevelAccount | Ian Jackson | 2024-10-07 | 1 | -1/+3 | |
| | | | ||||||
| | * | mq docs: Add some formulaic cross-references to memquota newtypes | Ian Jackson | 2024-10-07 | 1 | -0/+12 | |
| | | | ||||||
| | * | mq docs: Rewrite and expand overview/architecture doc in tor-proto | Ian Jackson | 2024-10-07 | 1 | -16/+66 | |
| | | | ||||||
| | * | mq docs: Move arti queues text to tor_proto::memquota | Ian Jackson | 2024-10-07 | 1 | -0/+24 | |
| | | | ||||||
| * | | Merge branch 'memquota-macro-tidying' into 'main' | Ian Jackson | 2024-10-08 | 1 | -21/+25 | |
| |\ \ | | | | | | | | | | | | | tor-proto: memquota: Tidying up See merge request tpo/core/arti!2508 | |||||
| | * | | tor-proto: memquota: Rationalise macro innards | Ian Jackson | 2024-10-07 | 1 | -11/+13 | |
| | | | | | | | | | | | | | | | | No functional change, but use of ${select1 ...} will make it easier to add more approaches. | |||||
| | * | | tor-proto: memquota: Fix a docs typo | Ian Jackson | 2024-10-07 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-proto: memquota: Rename SpecificAccount::Parent to ConstructedFrom | Ian Jackson | 2024-10-07 | 1 | -11/+13 | |
| | |/ | | | | | | | This was already a bit inaccurate and it's going to become more so. | |||||
| * / | tor-proto: Fix flaky circuit::test::accept_valid_sendme test. | Wesley Aptekar-Cassels | 2024-10-07 | 1 | -4/+3 | |
| |/ | | | | Fixes: #628 | |||||
| * | tor-proto: Remove the no-longer needed allows | Ian Jackson | 2024-10-03 | 3 | -3/+0 | |
| | | ||||||
| * | tor-proto: Make incoming stream requests participate in memquota (fmt) | Ian Jackson | 2024-10-03 | 1 | -2/+2 | |
| | | ||||||
| * | tor-proto: Make incoming stream requests participate in memquota | Ian Jackson | 2024-10-03 | 2 | -3/+5 | |
| | | ||||||
| * | tor-proto: Implement HasMemoryCost for StreamReqInfo | Ian Jackson | 2024-10-03 | 1 | -1/+8 | |
| | | | | | | This is necessarily a bit fudged, since a StreamReqInfo is full of exciting things like ends of other MPSC queues. | |||||
| * | tor-proto: Make stream queues participate in memquota (fmt) | Ian Jackson | 2024-10-03 | 1 | -2/+2 | |
| | | ||||||
| * | tor-proto: Make stream queues participate in memquota | Ian Jackson | 2024-10-03 | 2 | -8/+19 | |
| | | | | | Change the typss of StreamMpscSender and StreamMpscReceiver. | |||||
| * | tor-proto: channel: Provide time_provider accessors | Ian Jackson | 2024-10-03 | 1 | -0/+17 | |
| | | | | | This will save circuits etc. keeping their own clone of the time provider. | |||||
| * | tor-proto: Make circuit->channel queues participate in memquota | Ian Jackson | 2024-10-03 | 3 | -10/+41 | |
| | | | | | | | | | We use the *channel*'s memquota account. This is arguably wrong, but it's hard to get right now. See #1652. Change the type of the queue, and the places it's constructed. The use sites can all stay the same. | |||||
| * | tor-proto: Introduce a fake_mpsc helper for channel tests | Ian Jackson | 2024-10-03 | 1 | -2/+11 | |
| | | | | | | This provides a nice place to change in the tests, when we want to change the way the queue is made. | |||||
| * | tor-proto: Put a StreamAccount in DataStream etc. | Ian Jackson | 2024-10-03 | 4 | -7/+29 | |
| | | ||||||
| * | tor-proto: Put a StreamAccount in DataStream etc. (pre-fmt) | Ian Jackson | 2024-10-03 | 1 | -2/+9 | |
| | | ||||||
| * | tor-proto: Put a CircuitAccount in ClientCirc and circuit::Reactor | Ian Jackson | 2024-10-03 | 2 | -1/+18 | |
| | | ||||||
| * | tor-proto: Plumb the ChannelAccount through to queue creation site | Ian Jackson | 2024-10-03 | 4 | -6/+51 | |
| | | | | | | This gets it as far as the outbound circuit->channel mpsc queue creation. Also, we provide an accessor for it. | |||||
| * | tor-proto: Plumb the ChannelAccount through to queue creation site (pre-fmt) | Ian Jackson | 2024-10-03 | 2 | -2/+10 | |
| | | ||||||
| * | tor-proto: Make PendingClientCirc::new fallible (fmt) | Ian Jackson | 2024-10-03 | 1 | -7/+1 | |
| | | ||||||
| * | tor-proto: Make PendingClientCirc::new fallible | Ian Jackson | 2024-10-03 | 2 | -6/+7 | |
| | | ||||||
| * | tor-proto: channel: Make construction fallible | Ian Jackson | 2024-10-03 | 3 | -5/+7 | |
| | | | | | | Making a channel is going to involve making a memquota Participant, which can fail. | |||||
| * | tor-proto: Provide a variant for memquota errors | Ian Jackson | 2024-10-03 | 1 | -0/+6 | |
| | | ||||||
| * | Provide newtypes to distinguish memoquota accounts at different levels | Ian Jackson | 2024-10-03 | 2 | -0/+118 | |
| | | ||||||
| * | Merge branch 'mcost' into 'main' | Ian Jackson | 2024-10-02 | 3 | -5/+13 | |
| |\ | | | | | | | | | Implement tor_memquota:HasMemory cost for a lot of types See merge request tpo/core/arti!2459 | |||||
| | * | Some HasMemoryCost impls in tor-proto | Ian Jackson | 2024-10-02 | 3 | -5/+13 | |
| | | | ||||||
| * | | Merge branch 'misc' into 'main' | Ian Jackson | 2024-10-02 | 1 | -0/+10 | |
| |\ \ | |/ |/| | | | | | tor-proto: SometimesUnboundedSink: provide as_inner accessor See merge request tpo/core/arti!2483 | |||||
| | * | tor-proto: SometimesUnboundedSink: provide as_inner accessor | Ian Jackson | 2024-10-02 | 1 | -0/+10 | |
| | | | ||||||
| * | | Merge branch 'mpsc-types' into 'main' | Ian Jackson | 2024-10-02 | 4 | -20/+40 | |
| |\ \ | | | | | | | | | | | | | tor-proto: Introduce type aliases for some queues See merge request tpo/core/arti!2484 | |||||
| | * | | tor-proto: Introduce type alias for StreamReqSender | Ian Jackson | 2024-10-02 | 1 | -2/+6 | |
| | | | | | | | | | | | | | This will make it a little easier to change the type later. | |||||
| | * | | tor-proto: Introduce type aliases for stream queues (fmt) | Ian Jackson | 2024-10-02 | 1 | -4/+3 | |
| | | | | ||||||
| | * | | tor-proto: Introduce type aliases for stream queues | Ian Jackson | 2024-10-02 | 4 | -18/+35 | |
| | |/ | | | | | | | This will make it easier to change their types. | |||||
| * | | Merge branch 'close-channel-2' into 'main' | Nick Mathewson | 2024-10-02 | 2 | -12/+12 | |
| |\ \ | |/ |/| | | | | | Provide and implement SinkCloseChannel See merge request tpo/core/arti!2485 | |||||
| | * | tor-proto: Use trait methods for try_send and channel_close (fmt) | Ian Jackson | 2024-10-01 | 1 | -10/+7 | |
| | | | ||||||
| | * | tor-proto: Use trait methods for try_send and channel_close | Ian Jackson | 2024-10-01 | 2 | -5/+8 | |
| | | | | | | | | | This prepares us to change the types of these queues. | |||||
| * | | tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders (fmt) | Ian Jackson | 2024-10-01 | 1 | -4/+14 | |
| | | | ||||||
| * | | tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders | Ian Jackson | 2024-10-01 | 2 | -11/+11 | |
| |/ | | | | | | | The memquota arranagements are going to use this. We *don't* apply this to Channel (or to other types that aren't already generic over SleepProvider). | |||||
| * | Merge branch 'unused' into 'main' | David Goulet | 2024-10-01 | 1 | -5/+2 | |
| |\ | | | | | | | | | Suppress some dead code warnings See merge request tpo/core/arti!2463 | |||||
| | * | tor-proto: Allow all dead code if not all features enabled | Ian Jackson | 2024-09-30 | 1 | -5/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes cargo check -p tor-chanmgr --all-features --all-targets which otherwise prints warning: method `reply` is never used --> crates/tor-proto/src/crypto/handshake.rs:73:8 | 65 | pub(crate) trait AuxDataReply<H> | ------------ method in this trait ... 73 | fn reply(&mut self, msg: &H::ClientAuxData) -> Option<H::ServerAuxData>; | ^^^^^ | = note: `#[warn(dead_code)]` on by default | |||||
| * | | Bump arti- and tor- crates to 0.23.0 | Nick Mathewson | 2024-09-30 | 1 | -17/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per our policy, every one of these gets a minor bump. Generated with: ``` for crate in $(./maint/list_crates | grep '^\(tor\|arti\)-' ); do cargo set-version --bump minor -p $crate; done ``` (Note the use of `-` at the end end of the grep pattern to prevent matching the `arti` crate.) | |||||
| * | | Minor bumps on non-tor/arti crates | Nick Mathewson | 2024-09-30 | 1 | -2/+2 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates are not in the tor/arti namespace, but we have given them MSRV bumps: ``` oneshot-fused-workaround slotmap-careful fslock-guard hashx equix caret fs-mistrust safelog test-temp-dir retry-error ``` We are counting this as a breaking change. Since all of these crates are at 0.x.x, we have indicated the breaking change with a minor version bump. This commit was generated with the following script: ``` BUMPS=" oneshot-fused-workaround slotmap-careful fslock-guard hashx equix caret fs-mistrust safelog test-temp-dir retry-error " for crate in $BUMPS; do cargo set-version --bump minor -p $crate; done ``` | |||||
| * | Merge branch 'msrv-1.77-and-rusqlite-update' into 'main' | David Goulet | 2024-09-26 | 1 | -1/+1 | |
| |\ | | | | | | | | | Upgrade MSRV to 1.77 , and rusqlite to 0.32.1 See merge request tpo/core/arti!2451 | |||||
