| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | | | tor-netdoc: Be able to retain unknown flags | Ian Jackson | 2025-11-18 | 4 | -11/+25 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Introduce Unknown and retain_unknown_values option | Ian Jackson | 2025-11-18 | 4 | -3/+143 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Add experimental retain-unknown feature | Ian Jackson | 2025-11-18 | 1 | -0/+4 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: parse2: Introduce ParseOptions (fmt) | Ian Jackson | 2025-11-18 | 1 | -1/+5 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: parse2: Introduce ParseOptions | Ian Jackson | 2025-11-18 | 3 | -8/+63 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | There are currently no options. | |||||
| * | | | | | | tor-netdoc: parse2: Introduce ParseInput intermediate struct | Ian Jackson | 2025-11-18 | 7 | -26/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to add options arguments, effectively, to the parsing entrypoints. To avoid a proliferation of entrypoints (eg, parse_multiple_with_options), encapsulate the run-time input values in this structure. | |||||
| * | | | | | | tor-netdoc: Remove the RelayFlags type alias in netstatus | Ian Jackson | 2025-11-18 | 8 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | I would do `#[deprecated]` but empirically that has no effect... | |||||
| * | | | | | | tor-netdoc: Introduce DocRelayFlags for relay flags in a network document | Ian Jackson | 2025-11-18 | 6 | -12/+39 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This will have space for unknown flags. | |||||
| * | | | | | | tor-netdoc: Make the weird parser not be a FromStr impl | Ian Jackson | 2025-11-18 | 1 | -11/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is the minimal change to provide sanity. | |||||
| * | | | | | | tor-netdoc: Improve and expose RelayFlagsParser | Ian Jackson | 2025-11-18 | 1 | -7/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the only exposed API for parsing RelayFlags is the FromStr impl which is very strange. I'm going to remove it. But there should be a replacement. So improve RelayFlagsParser: * Derive Debug and Clone. * Replace the `&'static str` error. * Make sure unknown `IMPLIED | IMPLICIT` is detected at compile time. * Make it pub. | |||||
| * | | | | | | tor-netdoc: Separate ConsensusRelayFlagsParser and VoteRelayFlagsParser | Ian Jackson | 2025-11-18 | 3 | -10/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a per-variety alias and use it for parsing; no longer impl ItemValueParseable for RelayFlags. | |||||
| * | | | | | | tor-netdoc: Paramterise RelayFlagsParser for varying omitted/implied bits | Ian Jackson | 2025-11-18 | 1 | -5/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Which bits are implied/omitted depends on the document! | |||||
| * | | | | | | tor-netdoc: Introduce a RelayFlagsBits type alias | Ian Jackson | 2025-11-18 | 1 | -1/+4 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Test RelayFlags coherence and encoding | Ian Jackson | 2025-11-18 | 1 | -0/+41 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Provide for encoding RelayFlags | Ian Jackson | 2025-11-18 | 1 | -1/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The API is a bit clumsy, but we're mostly going to use it internally. | |||||
| * | | | | | | tor-netdoc: RelayFlags: add a macro for keyword parsing | Ian Jackson | 2025-11-18 | 1 | -19/+43 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Rename RelayFlags elements for regularity vs spec | Ian Jackson | 2025-11-18 | 6 | -12/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add underscores so that the spec keywords and the flag constants correspond (according to `paste`'s case-changing rules). | |||||
| * | | | | | | tor-netdoc: Improve docs for RelayFlags | Ian Jackson | 2025-11-18 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Document the bizarre FromStr impl. That isn't in my way, so I don't intend to fix it. So I've documented it instead. * Mention the naming discrepancy. | |||||
| * | | | | | | tor-netdoc: Move RelayFlags into its own module | Ian Jackson | 2025-11-18 | 3 | -161/+185 | |
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | We're going to do a lot more with this and it's less confusing to have it all together. | |||||
| * | | | | | proto: Fix up doc links post-refactoring | Gabriela Moldovan | 2025-11-17 | 2 | -9/+9 | |
| | | | | | | ||||||
| * | | | | | proto: Temporarily silence a few warnings | Gabriela Moldovan | 2025-11-17 | 1 | -0/+3 | |
| | | | | | | ||||||
| * | | | | | proto: Use CircHopInbound in the ForwardReactor (fmt) | Gabriela Moldovan | 2025-11-17 | 3 | -6/+4 | |
| | | | | | | ||||||
| * | | | | | proto: Use CircHopInbound in the ForwardReactor | Gabriela Moldovan | 2025-11-17 | 2 | -19/+15 | |
| | | | | | | ||||||
| * | | | | | proto: Use CircHopOutbound in BackwardReactor | Gabriela Moldovan | 2025-11-17 | 2 | -34/+24 | |
| | | | | | | ||||||
| * | | | | | proto: Make cc state shared between CircHop{Inbound,Outbound} | Gabriela Moldovan | 2025-11-17 | 3 | -27/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The relay reactor needs the cc state to be shared between the inbound and outbound components (i.e. the forward and backward reactors), so we need to put the cc state behind a mutex. There will never be any contention on this mutex in the client impl, because the client reactor doesn't split the `CircHop` into `CircHopInbound` and `CircHopOutbound`. In the future, we should work on trying to reduce the number of locks in the `CircHop` states. | |||||
| * | | | | | proto: Make CongestionWindow Copy | Gabriela Moldovan | 2025-11-17 | 3 | -8/+8 | |
| | | | | | | ||||||
| * | | | | | proto: Move CircHop{Inbound,Outbound} out of the client module. | Gabriela Moldovan | 2025-11-17 | 2 | -575/+599 | |
| | | | | | | | | | | | | | | | | | | | | | These will be soon used by relays too. | |||||
| * | | | | | proto: Add constructors for CircHop{Inbound,Outbound} | Gabriela Moldovan | 2025-11-17 | 1 | -19/+46 | |
| | | | | | | ||||||
| * | | | | | proto: Move some of CircHop's impl to CircHop{Inbound,Outbound} | Gabriela Moldovan | 2025-11-17 | 1 | -141/+340 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Inbound/Outbound CircHop states will be used in the relay reactor, so it's helpful to move some of the `CircHop` impl there. | |||||
| * | | | | | proto: Make the hop in SendRelayCell optional (fmt) | Gabriela Moldovan | 2025-11-17 | 1 | -1/+5 | |
| | | | | | | ||||||
| * | | | | | proto: Make the hop in SendRelayCell optional | Gabriela Moldovan | 2025-11-17 | 7 | -20/+22 | |
| | | | | | | ||||||
| * | | | | | proto: Update SendRelayCell docs | Gabriela Moldovan | 2025-11-17 | 1 | -2/+3 | |
| | | | | | | ||||||
| * | | | | | proto: Move SendRelayCell to circhop (fmt) | Gabriela Moldovan | 2025-11-17 | 4 | -5/+5 | |
| | | | | | | ||||||
| * | | | | | proto: Move SendRelayCell to circhop | Gabriela Moldovan | 2025-11-17 | 5 | -20/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used by relays too, once we modify it to make the `HopNum` optional. | |||||
| * | | | | | proto: Split CircHop into inbound and outbound components (fmt) | Gabriela Moldovan | 2025-11-17 | 1 | -7/+13 | |
| | | | | | | ||||||
| * | | | | | proto: Split CircHop into inbound and outbound components | Gabriela Moldovan | 2025-11-17 | 1 | -52/+76 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike the client reactor, the relay reactor uses these components in separate tasks. Splitting `CircHop` this way enables us to reuse its parts instead of duplicating them in the relay impl. Eventually, I'd like us to rewrite the client reactor to follow a similar pattern. | |||||
| * | | | | | proto: Rename cell decoder field for clarity | Gabriela Moldovan | 2025-11-14 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | proto: Avoid exposing stream map field (fmt) | Gabriela Moldovan | 2025-11-14 | 1 | -8/+11 | |
| | | | | | | ||||||
| * | | | | | proto: Avoid exposing stream map field | Gabriela Moldovan | 2025-11-14 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | proto: Import StreamMap to reduce cognitive complexity | Gabriela Moldovan | 2025-11-14 | 1 | -6/+6 | |
| | | | | | | ||||||
| * | | | | | proto: Move CloseStreamBehavior to top-level stream module | Gabriela Moldovan | 2025-11-14 | 5 | -26/+29 | |
| | | | | | | ||||||
| * | | | | | proto: Remove extraneous backtick in CloseStreamBehavior docs | Gabriela Moldovan | 2025-11-14 | 1 | -1/+1 | |
| | |_|_|/ |/| | | | ||||||
| * | | | | http_connect: Add AsyncReadExt to fix compilation. | Nick Mathewson | 2025-11-13 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | Merge branch 'opentelemetry-options-without-feature-warning' into 'main' | Nick Mathewson | 2025-11-13 | 1 | -1/+17 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Warning when opentelemetry config is set but not build with feature Closes #2247 See merge request tpo/core/arti!3458 | |||||
| | * | | | | arti: Boyscout fix | nield | 2025-11-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | It seems this config is for tokio-console and not the RPC. | |||||
| | * | | | | arti: Warning when opentelemetry config is set but not build with feature | nield | 2025-11-13 | 1 | -0/+16 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'http_xsprobe' into 'main' | Nick Mathewson | 2025-11-13 | 1 | -1/+142 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Validate Host header for non-CONNECT requests to HTTP CONNECT port See merge request tpo/core/arti!3429 | |||||
| | * | | | | | http_connect: prevent tests from colliding on directories | Nick Mathewson | 2025-11-13 | 1 | -5/+16 | |
| | | | | | | | ||||||
| | * | | | | | http_connect: fix to conform to MSRV | Nick Mathewson | 2025-11-13 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | http_connect: add a test for Host validation. | Nick Mathewson | 2025-11-13 | 1 | -0/+73 | |
| | | | | | | | ||||||
