summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-proto: Rewrite circuit reactor run_once() loop to use select!.Gabriela Moldovan2025-01-299-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 Moldovan2025-01-293-8/+8
| | | |
| * | | tor-proto: Add enums for representing run_once() commands.Gabriela Moldovan2025-01-291-0/+104
| | | |
| * | | tor-proto: Move SendMsgAndInstallHandler handling to a separate function.Gabriela Moldovan2025-01-291-13/+24
| | | |
| * | | tor-proto: Move the CircuitExtender to a separate module.Gabriela Moldovan2025-01-292-266/+295
| | | |
| * | | tor-proto: Move CtrlMsg to its own module.Gabriela Moldovan2025-01-292-181/+209
| | | | | | | | | | | | | | | | No functional changes, just code motion.
| * | | tor-async-utils: Make SometimesUnboundedSink::send_unbounded() pub(crate).Gabriela Moldovan2025-01-291-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-2502025-01-305-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øy2025-01-301-1/+1
| | | |
| * | | docs: Add warning about this site being brand now.Alexander Hansen Færøy2025-01-301-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øy2025-01-301-1/+1
| | | | | | | | | | | | | | | | This is useful when testing just the publish target.
| * | | docs: Simplify command.Alexander Hansen Færøy2025-01-301-1/+1
| | | |
| * | | docs: Reorder deployment commands for making the old site available.Alexander Hansen Færøy2025-01-301-4/+7
| | | |
| * | | docs: Add link to Coverage Reports in the sidebar.Alexander Hansen Færøy2025-01-301-0/+5
| | | |
| * | | docs: Remove link to public meeting pad from the website sidebar.Alexander Hansen Færøy2025-01-301-5/+0
| | | |
| * | | docs: Update build instructions.Alexander Hansen Færøy2025-01-301-3/+4
| | | |
| * | | docs: Build Docusaurus website as part of our CI pipeline for scheduled ↵Alexander Hansen Færøy2025-01-301-3/+13
| | | | | | | | | | | | | | | | website builds.
* | | | Merge branch 'typos' into 'main'David Goulet2025-01-3019-25/+25
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | fix: fix typos See merge request tpo/core/arti!2751
| * | | fix: fix typosDimitris Apostolou2025-01-3019-25/+25
| | | |
* | | | Merge branch 'ahf/docs-docusaurus-bump' into 'main'gabi-2502025-01-304-16630/+9893
|\ \ \ \ | | |/ / | |/| | | | | | | | | | docs: Docusaurus bump See merge request tpo/core/arti!2752
| * | | docs: Upgrade to docusaurus 3.7.0.Alexander Færøy2025-01-302-1337/+307
| | | |
| * | | docs: Fix broken anchor typo.Alexander Færøy2025-01-301-1/+1
| | | |
| * | | docs: Use yarn.lock instead of npm.lock.Alexander Færøy2025-01-302-16624/+10917
|/ / /
* | | Merge branch 'ahf/web-integration-take-2' into 'main'Alexander Hansen Færøy2025-01-3047-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øy2025-01-291-1/+1
| | | | | | | | | | | | CHANGELOG.md.
| * | Merge remote-tracking branch 'web/ahf/web-subdir-rebased-4' into ↵Alexander Hansen Færøy2025-01-2947-0/+19226
| |\ \ | | | | | | | | | | | | ahf/web-integration-take-2
| | * \ Merge branch 'docs-guide' into 'main'oluchinwenyi2025-01-291-15/+70
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | docs: Arti Documentation Guide See merge request tpo/core/arti-doc-project-2023!54
| | | * | docs: added loomLulu Nwenyi2025-01-291-1/+1
| | | | |
| | | * | docs: updated readme with guideLulu Nwenyi2025-01-291-15/+70
| | |/ /
| | * | Merge branch 'arti-configuration-options' into 'main'Nick Mathewson2025-01-295-4/+389
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Arti Configuration Options See merge request tpo/core/arti-doc-project-2023!52
| | | * | docs: removed unnecessary editscharles-the-developer2025-01-292-11/+4
| | | | |
| | | * | docs: fixed broken linkscharles-the-developer2025-01-295-5/+13
| | | | |
| | | * | Merge branch 'arti-configuration-options' of ↵charles-the-developer2025-01-291-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 Mathewson2025-01-291-12/+14
| | | | | |
| | | * | | docs: done implementing revisionscharles-the-developer2024-01-181-19/+20
| | | |/ /
| | | * | docs: done with Arti Configuration Optionscharles-the-developer2023-12-272-1/+382
| | | | |
| | * | | Merge branch 'link-fix' into 'main'oluchinwenyi2024-01-181-1/+1
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: fixed broken link in FAQs See merge request tpo/core/arti-doc-project-2023!53
| | | * | | docs: fixed broken linkLulu Nwenyi2024-01-181-1/+1
| | |/ / /
| | * | | docs: removed staging yaml file from mainLulu Nwenyi2024-01-181-16/+0
| | | | |
| | * | | docs: Add .gitlab-ci.ymloluchinwenyi2024-01-181-0/+16
| | |/ /
| | * | Merge branch 'exposing-api' into 'main'Alexander Færøy2023-12-201-0/+28
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | docs: Exposing APIs See merge request tpo/core/arti-doc-project-2023!44
| | | * | docs: made updates based on suggestionsLulu Nwenyi2023-12-201-1/+3
| | | | |
| | | * | docs: added exposing new apis guideLulu Nwenyi2023-11-221-0/+26
| | | | |
| | * | | Merge branch 'crates' into 'main'Alexander Færøy2023-12-201-0/+69
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: Adding crates guide See merge request tpo/core/arti-doc-project-2023!43
| | | * | | docs: made updates to tests section in guideLulu Nwenyi2023-12-201-1/+1
| | | | | |
| | | * | | docs: made updates based on suggestionLulu Nwenyi2023-12-141-25/+8
| | | | | |
| | | * | | docs: added crates docLulu Nwenyi2023-12-061-0/+86
| | | | | |
| | * | | | Merge branch 'config-manual' into 'main'Alexander Færøy2023-12-202-4/+6
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: Added configuration reference link See merge request tpo/core/arti-doc-project-2023!48
| | | * | | | docs: added configuration reference linkLulu Nwenyi2023-12-201-1/+1
| | | | | | |
| | | * | | | docs: added configuration reference linkLulu Nwenyi2023-12-202-4/+6
| | | | | | |