| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | tor-proto: Resolve clippy warning about mut refs in debug_assert. | Gabriela Moldovan | 2025-01-29 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | It's unclear to me why this warning didn't fire before! The the circuit reactor had this exact same `debug_assert` prior to the refactoring, taking a mutable reference to the `StreamMap`. | |||||
| | * | | | tor-proto: Add a clippy allow and corresponding TODO. | Gabriela Moldovan | 2025-01-29 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | tor-proto: Remove now-unused Reactor::send_outbound(). | Gabriela Moldovan | 2025-01-29 | 1 | -74/+0 | |
| | | | | | | | | | | | | | | | | | This is now handled in `Reactor::ready_streams_iterator()`. | |||||
| | * | | | tor-proto: Remove old Reactor::run_once(). | Gabriela Moldovan | 2025-01-29 | 1 | -66/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is replaced by the new `Reactor::run_once()` impl. Note: this removal is in a separate commit to make the diff of the refactoring commits easier to review (the diff between the old and the new impl is not meaningful because the new impl is practically a rewrite). | |||||
| | * | | | tor-proto: Remove now-unused CellStatus enum. | Gabriela Moldovan | 2025-01-29 | 1 | -9/+0 | |
| | | | | | | | | | | | | | | | | | This is replaced by `Option<RunOnceCmdInner>`. | |||||
| | * | | | tor-proto: Rewrite circuit reactor run_once() loop to use select! (fmt). | Gabriela Moldovan | 2025-01-29 | 2 | -27/+29 | |
| | | | | | ||||||
| | * | | | tor-proto: Rewrite circuit reactor run_once() loop to use select!. | Gabriela Moldovan | 2025-01-29 | 9 | -210/+653 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rewrites the circuit reactor main loop to use `select_biased!` to poll multiple futures simultaneously. The new `run_once()`, like the old, first waits for an initial `CtrlMsg::Create`. Then, it uses a `select_biased!` to poll the `chan_sender` sink and shutdown channel for readiness. When the channel sink is ready, we poll the `control` and `input` channels like before, as well as the new `ready_streams` `Stream` (`ready_streams` is a `futures::Stream` that replaces the previous `send_outbound()` function). Most of the implementation remains unchanged, except the `handle_input`, `handle_cell` and `handle_control` functions no longer send anything on the `chan_sender` channel. Instead, they may do some (synchronous) processing, and send instructions for the remaining work that needs to be done (for example, for writing the cell to the `chan_sender` channel). These instructions are handled at the end of `run_once()`, and are encoded in the `RunOnceCmdInner` enum. What this change does **not** do: * the control channel *still* bypasses congestion control. We could fix this by making the various reactor functions send the `RunOnceCmdInner` commands to `run_once()` via a channel (instead of returning them). This would enable the reactor to stop reading the commands (except for handle `Sendme`, which would be handled separately) if it's blocked on congestion control. | |||||
| | * | | | tor-proto: Use SendRelayCell within CtrlMsg::SendRelayCell. | Gabriela Moldovan | 2025-01-29 | 3 | -8/+8 | |
| | | | | | ||||||
| | * | | | tor-proto: Add enums for representing run_once() commands. | Gabriela Moldovan | 2025-01-29 | 1 | -0/+104 | |
| | | | | | ||||||
| | * | | | tor-proto: Move SendMsgAndInstallHandler handling to a separate function. | Gabriela Moldovan | 2025-01-29 | 1 | -13/+24 | |
| | | | | | ||||||
| | * | | | tor-proto: Move the CircuitExtender to a separate module. | Gabriela Moldovan | 2025-01-29 | 2 | -266/+295 | |
| | | | | | ||||||
| | * | | | tor-proto: Move CtrlMsg to its own module. | Gabriela Moldovan | 2025-01-29 | 2 | -181/+209 | |
| | | | | | | | | | | | | | | | | | No functional changes, just code motion. | |||||
| | * | | | tor-async-utils: Make SometimesUnboundedSink::send_unbounded() pub(crate). | Gabriela Moldovan | 2025-01-29 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | We are about to use this in the circuit reactor (instead of `pollish_send_unbounded`). | |||||
| * | | | | Merge branch 'ahf/docs-deploy' into 'main' | gabi-250 | 2025-01-30 | 5 | -12/+33 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | Deploy Docusaurus website to https://tpo.pages.torproject.net/core/arti/ See merge request tpo/core/arti!2754 | |||||
| | * | | | docs: Arti's baseURL is /core/arti. | Alexander Hansen Færøy | 2025-01-30 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | docs: Add warning about this site being brand now. | Alexander Hansen Færøy | 2025-01-30 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | We also link to the old site in case people need something from there. | |||||
| | * | | | docs: Only mv coverage directory if it's available. | Alexander Hansen Færøy | 2025-01-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | This is useful when testing just the publish target. | |||||
| | * | | | docs: Simplify command. | Alexander Hansen Færøy | 2025-01-30 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | docs: Reorder deployment commands for making the old site available. | Alexander Hansen Færøy | 2025-01-30 | 1 | -4/+7 | |
| | | | | | ||||||
| | * | | | docs: Add link to Coverage Reports in the sidebar. | Alexander Hansen Færøy | 2025-01-30 | 1 | -0/+5 | |
| | | | | | ||||||
| | * | | | docs: Remove link to public meeting pad from the website sidebar. | Alexander Hansen Færøy | 2025-01-30 | 1 | -5/+0 | |
| | | | | | ||||||
| | * | | | docs: Update build instructions. | Alexander Hansen Færøy | 2025-01-30 | 1 | -3/+4 | |
| | | | | | ||||||
| | * | | | docs: Build Docusaurus website as part of our CI pipeline for scheduled ↵ | Alexander Hansen Færøy | 2025-01-30 | 1 | -3/+13 | |
| | | | | | | | | | | | | | | | | | website builds. | |||||
| * | | | | Merge branch 'typos' into 'main' | David Goulet | 2025-01-30 | 19 | -25/+25 | |
| |\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | fix: fix typos See merge request tpo/core/arti!2751 | |||||
| | * | | | fix: fix typos | Dimitris Apostolou | 2025-01-30 | 19 | -25/+25 | |
| | | | | | ||||||
| * | | | | Merge branch 'ahf/docs-docusaurus-bump' into 'main' | gabi-250 | 2025-01-30 | 4 | -16630/+9893 | |
| |\ \ \ \ | | |/ / | |/| | | | | | | | | | | docs: Docusaurus bump See merge request tpo/core/arti!2752 | |||||
| | * | | | docs: Upgrade to docusaurus 3.7.0. | Alexander Færøy | 2025-01-30 | 2 | -1337/+307 | |
| | | | | | ||||||
| | * | | | docs: Fix broken anchor typo. | Alexander Færøy | 2025-01-30 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | docs: Use yarn.lock instead of npm.lock. | Alexander Færøy | 2025-01-30 | 2 | -16624/+10917 | |
| |/ / / | ||||||
| * | | | Merge branch 'ahf/web-integration-take-2' into 'main' | Alexander Hansen Færøy | 2025-01-30 | 47 | -0/+19226 | |
| |\ \ \ | |/ / |/| | | | | | | | | Integrate arti-doc-project-2023 into web/ sub-directory while preserving history See merge request tpo/core/arti!2749 | |||||
| | * | | docs: Make `check_todos` happy by expanding the XXX like it's done in the ↵ | Alexander Hansen Færøy | 2025-01-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | CHANGELOG.md. | |||||
| | * | | Merge remote-tracking branch 'web/ahf/web-subdir-rebased-4' into ↵ | Alexander Hansen Færøy | 2025-01-29 | 47 | -0/+19226 | |
| | |\ \ | | | | | | | | | | | | | ahf/web-integration-take-2 | |||||
| | | * \ | Merge branch 'docs-guide' into 'main' | oluchinwenyi | 2025-01-29 | 1 | -15/+70 | |
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | docs: Arti Documentation Guide See merge request tpo/core/arti-doc-project-2023!54 | |||||
| | | | * | | docs: added loom | Lulu Nwenyi | 2025-01-29 | 1 | -1/+1 | |
| | | | | | | ||||||
| | | | * | | docs: updated readme with guide | Lulu Nwenyi | 2025-01-29 | 1 | -15/+70 | |
| | | |/ / | ||||||
| | | * | | Merge branch 'arti-configuration-options' into 'main' | Nick Mathewson | 2025-01-29 | 5 | -4/+389 | |
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Arti Configuration Options See merge request tpo/core/arti-doc-project-2023!52 | |||||
| | | | * | | docs: removed unnecessary edits | charles-the-developer | 2025-01-29 | 2 | -11/+4 | |
| | | | | | | ||||||
| | | | * | | docs: fixed broken links | charles-the-developer | 2025-01-29 | 5 | -5/+13 | |
| | | | | | | ||||||
| | | | * | | Merge branch 'arti-configuration-options' of ↵ | charles-the-developer | 2025-01-29 | 1 | -2/+4 | |
| | | | |\ \ | | | | | | | | | | | | | | | | | | | https://gitlab.torproject.org/tpo/core/arti-doc-project-2023 into arti-configuration-options | |||||
| | | | | * | | docs: Apply 10 suggestion(s) to 1 file(s) | Nick Mathewson | 2025-01-29 | 1 | -12/+14 | |
| | | | | | | | ||||||
| | | | * | | | docs: done implementing revisions | charles-the-developer | 2024-01-18 | 1 | -19/+20 | |
| | | | |/ / | ||||||
| | | | * | | docs: done with Arti Configuration Options | charles-the-developer | 2023-12-27 | 2 | -1/+382 | |
| | | | | | | ||||||
| | | * | | | Merge branch 'link-fix' into 'main' | oluchinwenyi | 2024-01-18 | 1 | -1/+1 | |
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: fixed broken link in FAQs See merge request tpo/core/arti-doc-project-2023!53 | |||||
| | | | * | | | docs: fixed broken link | Lulu Nwenyi | 2024-01-18 | 1 | -1/+1 | |
| | | |/ / / | ||||||
| | | * | | | docs: removed staging yaml file from main | Lulu Nwenyi | 2024-01-18 | 1 | -16/+0 | |
| | | | | | | ||||||
| | | * | | | docs: Add .gitlab-ci.yml | oluchinwenyi | 2024-01-18 | 1 | -0/+16 | |
| | | |/ / | ||||||
| | | * | | Merge branch 'exposing-api' into 'main' | Alexander Færøy | 2023-12-20 | 1 | -0/+28 | |
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | docs: Exposing APIs See merge request tpo/core/arti-doc-project-2023!44 | |||||
| | | | * | | docs: made updates based on suggestions | Lulu Nwenyi | 2023-12-20 | 1 | -1/+3 | |
| | | | | | | ||||||
| | | | * | | docs: added exposing new apis guide | Lulu Nwenyi | 2023-11-22 | 1 | -0/+26 | |
| | | | | | | ||||||
| | | * | | | Merge branch 'crates' into 'main' | Alexander Færøy | 2023-12-20 | 1 | -0/+69 | |
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: Adding crates guide See merge request tpo/core/arti-doc-project-2023!43 | |||||
