aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | tor-rtmock: task backtraces: Fix output re backtrace multiplicityIan Jackson2023-09-131-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There may be several backtraces for an asleep task. If so, print the prefix for each one. There may be no backtraces for an asleep task. If so, print a message.
* | | | | Merge branch 'keymgr-fixes' into 'main'Ian Jackson2023-09-143-8/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Remove redundant _private suffix from key extension. See merge request tpo/core/arti!1589
| * | | | | tor-keymgr: Fix typo in key names.Gabriela Moldovan2023-09-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The secret keys are prefixed with `KS`, not `KP`.
| * | | | | tor-keymgr: Remove redundant _private suffix from key extension.Gabriela Moldovan2023-09-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The privateness of the keys is encoded in their name.
* | | | | | Merge branch 'mock-backtrace' into 'main'Ian Jackson2023-09-133-19/+308
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | tor-rtmock: task: Print backtraces showing where tasks are sleeping See merge request tpo/core/arti!1591
| * | | | | tor-rtmock: task: Add missing doc commentIan Jackson2023-09-131-1/+3
| | | | | |
| * | | | | tor-rtmock: task: Add warning about backtrace salienceIan Jackson2023-09-131-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | With explanation of how it works.
| * | | | | tor-rtmock: task: Add backtrace dumping callsIan Jackson2023-09-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do a full dump, not just a normal Debug dump, when we're panicking in progress_until_stalled. Add a debug dump call to one of the tests, so we can see it working.
| * | | | | tor-rtmock: task: Add API for printing dumps including backtracesIan Jackson2023-09-133-3/+79
| | | | | |
| * | | | | tor-rtmock: task: Capture sleep backtraces, with code to dumpIan Jackson2023-09-132-4/+76
| | | | | | | | | | | | | | | | | | | | | | | | Currently nothing actually calls the dumping code.
| * | | | | tor-rtmock: task: Prepare for ActualWaker::clone taking the data lockIan Jackson2023-09-131-4/+28
| | | | | |
| * | | | | tor-rtmock: task: Switch to unsafe RawWaker approachIan Jackson2023-09-131-5/+83
| | | | | |
| * | | | | tor-rtmock: task: Add space in data for sleep backtracesIan Jackson2023-09-131-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | Currently this is just ().
| * | | | | tor-rtmock: task: Disable traced_test under miriIan Jackson2023-09-131-2/+4
| |/ / / / | | | | | | | | | | | | | | | The tests still run, just without the trace output.
* | | | | Merge branch 'warning' into 'main'gabi-2502023-09-131-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Add a missing cfg See merge request tpo/core/arti!1593
| * | | | | tor-proto: Add a missing cfgIan Jackson2023-09-131-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | Fixes cargo clippy -p tor-hsclient --all-features --all-targets
* | | | | Merge branch 'localhost' into 'main'Alexander Færøy2023-09-121-3/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | tor-config: Listen: Minor docs fixes See merge request tpo/core/arti!1588
| * | | | tor-config: Listen: Clarify localhost_port_legacyIan Jackson2023-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The previous phrasing was ambiguous and set us up for bugs, see https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1582#note_2942240
| * | | | tor-config: Listen: Fix a typoIan Jackson2023-09-121-2/+2
| | |_|/ | |/| |
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: testIan Jackson2023-09-121-0/+27
| | | |
* | | | tor-hsservice: ipt mgr: Add an empty test moduleIan Jackson2023-09-121-0/+18
| | | |
* | | | tor-hsservice: ipt mgr: Commentary about performanceIan Jackson2023-09-121-0/+59
| | | |
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: rustfmtIan Jackson2023-09-121-2/+2
| | | |
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: fix clippy lintsIan Jackson2023-09-121-11/+5
| | | |
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: drop Debug boundsIan Jackson2023-09-121-3/+3
| | | | | | | | | | | | | | | | Now it's not fallible, we don't need to construct error messages.
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: return an iteratorIan Jackson2023-09-121-12/+7
| | | |
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: Introduce 'outIan Jackson2023-09-121-8/+8
| | | | | | | | | | | | | | | | No functional change.
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: Replace algorithmIan Jackson2023-09-121-77/+20
| | | | | | | | | | | | | | | | | | | | Use HashMap-based algorithm, as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1583#note_2941645
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: document working setIan Jackson2023-09-121-1/+2
| | | |
* | | | tor-hsservice: ipt mgr: merge_join_subset_by: check more for dupesIan Jackson2023-09-121-0/+4
| | | |
* | | | tor-hsservice: ipt mgr: Break out merge_join_subset_byIan Jackson2023-09-121-19/+109
| |/ / |/| | | | | | | | | | | Propted by this conversation https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675
* | | tor-hsservice: ipt mgr: Handle ipt relay selection failure (fmt)Ian Jackson2023-09-111-1/+1
| | |
* | | tor-hsservice: ipt mgr: Handle ipt relay selection failureIan Jackson2023-09-111-4/+34
|/ / | | | | | | Without panicking.
* | Merge branch 'ipt-mgr' into 'main'Ian Jackson2023-09-113-47/+144
|\ \ | | | | | | | | | | | | tor-hsservice: Actually send ipts to publisher See merge request tpo/core/arti!1578
| * | tor-hsservice: ipt_mgr: Document expiry NoneIan Jackson2023-09-071-0/+2
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940673
| * | tor-hsservice: ipt_mgr: Explain more about expiry time data flowIan Jackson2023-09-072-0/+16
| | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940676
| * | tor-hsservice: ipt_mgr: Add a TODO about the joinIan Jackson2023-09-071-0/+4
| | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675
| * | tor-hsservice: ipt_mgr: Explicitly drop publish_setIan Jackson2023-09-071-0/+2
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940674
| * | tor-hsservice: ipt_mgr: Actually send ipts to publisherIan Jackson2023-09-071-4/+2
| | |
| * | tor-hsservice: ipt_mgr: Fix output expiry time handling (fmt)Ian Jackson2023-09-071-2/+2
| | |
| * | tor-hsservice: ipt_mgr: Fix output expiry time handlingIan Jackson2023-09-071-10/+9
| | | | | | | | | | | | | | | | | | | | | For the expiry times for descriptors we are intending to publish, copy out of our data structure. We don't need to actually update it to account for (possible) imminent publication; the publisher will do that.
| * | tor-hsservice: ipt_mgr: Import updated expiry timesIan Jackson2023-09-071-0/+38
| | |
| * | tor-hsservice: ipt_mgr: Call borrow_for_update()Ian Jackson2023-09-071-5/+11
| | | | | | | | | | | | | | | | | | And plumb the reference through to places that will need it. We don't actually do anything with the results yet.
| * | tor-hsservice: ipt_mgr: Call borrow_for_update() (pre fmt)Ian Jackson2023-09-071-3/+10
| | |
| * | tor-hsservice: ipt_mgr: Reorganise main loop a bitIan Jackson2023-09-071-9/+13
| | | | | | | | | | | | | | | We are going to need to hold the ipt_set lock while we loop around making changes to our data structures etc.
| * | tor-hsservice: ipt_mgr: Document further data structure stabilityIan Jackson2023-09-071-0/+7
| | |
| * | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slop (fmt)Ian Jackson2023-09-071-4/+5
| | |
| * | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slopIan Jackson2023-09-071-4/+7
| | | | | | | | | | | | This should be an Option, to correspond to what's in IptSet.
| * | tor-hsservice: ipt_set: Add a missing Debug deriveIan Jackson2023-09-071-0/+1
| | |
| * | tor-hsservice: ipt_set: Add an IptLocalId fieldIan Jackson2023-09-072-0/+9
| | |