| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-proto: Specify which of the 2 senders is used for sending cells. | Gabriela Moldovan | 2024-11-20 | 1 | -1/+1 |
| | | |||||
| * | tor-proto: Fix typo in streammap docs. | Gabriela Moldovan | 2024-11-19 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'tor-proto_benchmarks' into 'main' | gabi-250 | 2024-11-11 | 5 | -0/+177 |
| |\ | | | | | | | | | tor-proto: Add benchmarks for cell encryption and decryption See merge request tpo/core/arti!2608 | ||||
| | * | tor-proto: put every bench_utils mod behind the bench feature | Lionel Goffaux | 2024-11-06 | 3 | -3/+3 |
| | | | |||||
| | * | tor-proto: change the visibility of the RelayBody inner struct | Lionel Goffaux | 2024-11-06 | 1 | -1/+1 |
| | | | |||||
| | * | tor-proto: remove inlines attributes | Lionel Goffaux | 2024-11-06 | 2 | -4/+0 |
| | | | |||||
| | * | tor-proto: add a bench feature | Lionel Goffaux | 2024-11-06 | 1 | -0/+1 |
| | | | |||||
| | * | tor-proto: Add benchmarks for cell encryption and decryption | Lionel Goffaux | 2024-11-04 | 5 | -0/+180 |
| | | | |||||
| * | | tor-proto: Document RecvWindow::take more accurately. | Gabriela Moldovan | 2024-11-04 | 1 | -2/+2 |
| |/ | | | | The docs here seem wrong, so I am updating them. | ||||
| * | Merge branch 'mq-fix' into 'main' | Ian Jackson | 2024-10-22 | 4 | -22/+64 |
| |\ | | | | | | | | | memquota: Fix account lifetime bugs, and arrange to test mq in shadow See merge request tpo/core/arti!2560 | ||||
| | * | memquota: Use _ rather than allow(dead_code) (fmt) | Ian Jackson | 2024-10-22 | 1 | -1/+4 |
| | | | |||||
| | * | memquota: Use _ rather than allow(dead_code) | Ian Jackson | 2024-10-22 | 2 | -12/+16 |
| | | | | | | | | | | | | | | | Promote the associated comments. As suggested here: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2560#note_3097188 | ||||
| | * | memquota: fix data stream account lifetime | Ian Jackson | 2024-10-21 | 1 | -5/+18 |
| | | | | | | | | | | | | | | | | | | | The DataStream is sometimes disassembled, eg by split. When that happens, the StreamAccount would be dropped - and that was the only strong reference. Put a StreamAccount in each of the pieces, instead of just in the combined DataStream struct. | ||||
| | * | memquota: Fix resolve stream account lifetime | Ian Jackson | 2024-10-21 | 2 | -8/+12 |
| | | | | | | | | | | | | | | | | | | | We need the mq account for the stream not to collapse. The ResolveStream object needs to contain a strong reference to it. Have begin_stream_impl return the StreamAccount, rather than taking it as a parameter. That makes this bug a little more obvious. It also centralises the StreamAccount creation. | ||||
| | * | memquota: Fix circuit account lifetime (fmt) | Ian Jackson | 2024-10-21 | 2 | -5/+24 |
| | | | |||||
| | * | memquota: Fix circuit account lifetime (clippy churn) | Ian Jackson | 2024-10-21 | 2 | -5/+5 |
| | | | | | | | | | | | | | Now that it doesn't call CircuitAccount::new() it has no error paths, and clippy demands we remove the Result, so it must once again become infallible. | ||||
| | * | memquota: Fix circuit account lifetime | Ian Jackson | 2024-10-21 | 2 | -5/+4 |
| | | | | | | | | | | | | | | | | | We foolishly made *two* CircuitAccounts, one of which gets immediately dropped. But we need to hold onto the account somewhere, because an mq_queue doesn't keep the account alive. Otherwise everything breaks when mq tracking is enabled. | ||||
| * | | Merge branch 'test_create_hop_count_reinstate' into 'main' | gabi-250 | 2024-10-21 | 1 | -4/+1 |
| |\ \ | |/ |/| | | | | | tor-proto: Reinstate circuit hop check in test_create() See merge request tpo/core/arti!2546 | ||||
| | * | tor-proto: Reinstate circuit hop check in test_create() | Neel Chauhan | 2024-10-16 | 1 | -4/+1 |
| | | | |||||
| * | | Disable a lot of dead code warnings (fmt) | Ian Jackson | 2024-10-17 | 1 | -1/+4 |
| | | | |||||
| * | | Disable a lot of dead code warnings | Ian Jackson | 2024-10-17 | 1 | -1/+1 |
| |/ | | | | | | | Now cargo check --workspace --no-default-features --all-targets cargo build -p arti --no-default-features --features=memquota,tokio,native-tls are both clean. | ||||
| * | Merge branch 'test-panic' into 'main' | Jim Newsome | 2024-10-15 | 1 | -14/+14 |
| |\ | | | | | | | | | Abolish `_ => panic!()` See merge request tpo/core/arti!2534 | ||||
| | * | Replace _ => panic!() in tor-proto | Ian Jackson | 2024-10-15 | 1 | -14/+14 |
| | | | |||||
| * | | Merge branch 'mq-toplevel' into 'main' | Ian Jackson | 2024-10-15 | 1 | -14/+15 |
| |\ \ | | | | | | | | | | | | | Abolish the toplevel Account See merge request tpo/core/arti!2537 | ||||
| | * | | memquota: Change ToplevelAccount to be an alias for Arc<MemoryQuotaTracker> | Ian Jackson | 2024-10-15 | 1 | -14/+15 |
| | |/ | | | | | | | Fixes a TODO. | ||||
| * / | memquota: Document the actual behaviour re streams/circuits | Ian Jackson | 2024-10-15 | 1 | -4/+6 |
| |/ | | | | As per decision in #1661. | ||||
| * | Merge branch 'mq-circ' into 'main' | David Goulet | 2024-10-10 | 7 | -35/+39 |
| |\ | | | | | | | | | | | | | Use memquota queue for channel->circuit RX data Closes #1682 See merge request tpo/core/arti!2518 | ||||
| | * | Apply deferred rustfmt churn | Ian Jackson | 2024-10-09 | 5 | -13/+7 |
| | | | |||||
| | * | memquota: Use an mq_queue for channel->circuit RX queue | Ian Jackson | 2024-10-09 | 5 | -16/+18 |
| | | | | | | | | | | | | | Fixes #1682. (This involves some noise in the tests.) | ||||
| | * | memquota: Introduce type aliases for channel->circuit RX queue | Ian Jackson | 2024-10-09 | 4 | -13/+18 |
| | | | | | | | | | | | This is neater and will make changing the type (in a moment) less noisy. | ||||
| | * | memquota: impl HasMemoryCost for ClientCircChanMsg | Ian Jackson | 2024-10-09 | 1 | -1/+4 |
| | | | | | | | | | We'll need this in a moment. | ||||
| * | | Merge branch 'mq-doc' into 'main' | Ian Jackson | 2024-10-09 | 2 | -1/+95 |
| |\| | | | | | | | | | | | | | memquota architecture documentation Closes #1660 See merge request tpo/core/arti!2509 | ||||
| | * | 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 |
| | | |||||
