| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 3 | -0/+3 |
| | | |||||
| * | tor-netdir: Use an owned HsBlindId instead of a reference. | Gabriela Moldovan | 2023-08-22 | 1 | -1/+1 |
| | | | | | `HsBlindId` is `Copy`. | ||||
| * | tor-hsclient: Use hs_dirs_download instead of the deprecated hs_dirs. | Gabriela Moldovan | 2023-08-22 | 1 | -6/+5 |
| | | |||||
| * | Lower linkspec list parsing into new tor-linkspec method. | Nick Mathewson | 2023-08-22 | 1 | -5/+1 |
| | | |||||
| * | tor-dirclient: Rename download() to send_request(). | Gabriela Moldovan | 2023-08-16 | 1 | -1/+1 |
| | | | | | | | `download()` is actually a general-purpose function for sending HTTP requests on a stream. We will soon repurpose it for `POST`-ing descriptors, so let's rename it to `send_request`. | ||||
| * | Merge branch 'future_proof_lints' into 'main' | gabi-250 | 2023-08-04 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | add_warning: Change missing_docs,unreachable_pub to warn Closes #951 See merge request tpo/core/arti!1470 | ||||
| | * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 1 | -2/+2 |
| | | | |||||
| * | | tor-proto: Add ClientCirc::start_conversation(). | Gabriela Moldovan | 2023-08-04 | 1 | -3/+4 |
| |/ | | | | | | | | | | | This will enable hidden services to send `RENDEZVOUS1` messages to the `N`th hop of the circuit rather than the `N + 1`th virtual one (which can only used after the client and service have completed the introduction handshake). This also deprecates `start_conversation_last_hop`. Closes #959 | ||||
| * | Run cargo +nightly fmt to format many let ... else ... | Ian Jackson | 2023-07-24 | 3 | -21/+30 |
| | | | | | | | | | | | | rustfmt has grown opinions about how let ... else ... ought to be formatted. They don't always agree with our previous manual decisions. I think our policy is to always insist on rustfmt. When that version of rustfmt hits stable, our CI will start to fail for everyone. (Right now this discrepancy just causes trouble for contributors who are using nightly by default.) | ||||
| * | Fix typos | Dimitris Apostolou | 2023-07-22 | 2 | -10/+10 |
| | | |||||
| * | retry-error: Attempts must be AsRef<dyn Error>; print their sources | Ian Jackson | 2023-07-19 | 2 | -6/+6 |
| | | | | | | | | | The effect is that everywhere a RetryError is used, the error sources for the contained errors will be Display'd. In tor-hsclient we no longer need to explicitly wrap things up in tor_error::Report. | ||||
| * | Merge branch 'clippy-allow' into 'main' | Ian Jackson | 2023-07-11 | 4 | -0/+4 |
| |\ | | | | | | | | | clippy: Allow some of our existing code patterns See merge request tpo/core/arti!1396 | ||||
| | * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 4 | -0/+4 |
| | | | |||||
| * | | Merge branch 'conversation' into 'main' | Alexander Færøy | 2023-07-10 | 1 | -18/+28 |
| |\ \ | | | | | | | | | | | | | Overhaul send_control_message See merge request tpo/core/arti!1367 | ||||
| | * | | tor-proto: run rustfmt | Ian Jackson | 2023-06-30 | 1 | -1/+3 |
| | | | | |||||
| | * | | tor-proto conversation API: Provide ConversationInHandler | Ian Jackson | 2023-06-30 | 1 | -1/+3 |
| | | | | |||||
| | * | | tor-proto conversation API: Return a Conversation | Ian Jackson | 2023-06-30 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | This is just a placeholder for now, but it'll be a thing you can send more messages with. | ||||
| | * | | tor-proto conversation API: Rename to start_conversation_last_hop | Ian Jackson | 2023-06-30 | 1 | -8/+8 |
| | | | | | | | | | | | | | Was send_control_message. | ||||
| | * | | tor-proto conversation API: Make starting message optional | Ian Jackson | 2023-06-30 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | We're going to let people start a conversation and either expect to receive first, or send messages ad-hoc later. | ||||
| | * | | tor-proto conversation API: Rename to ConversationFinished | Ian Jackson | 2023-06-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | Was UninstallHandler. We are going to talk more about conversations and less about handlers (although, the fact of there being a handler will still be visible). | ||||
| * | | | Merge branch 'recurse' into 'main' | Alexander Færøy | 2023-07-10 | 1 | -26/+37 |
| |\| | | |/ |/| | | | | | tor-hsclient: Mock traits: Work around an async boobytrap See merge request tpo/core/arti!1365 | ||||
| | * | tor-hsclient: Mock traits: Work around an async boobytrap | Ian Jackson | 2023-06-30 | 1 | -26/+37 |
| | | | |||||
| * | | Add exceptions for some cases of diverging_sub_expression | Nick Mathewson | 2023-07-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | See here for documentation on the lint: https://rust-lang.github.io/rust-clippy/master/index.html#/diverging_sub_expression The issue here, from what I can tell, is that the lint triggers whenever you use a diverging expression as a function body within an | ||||
| * | | Throughout: Use *_report!() macros for reporting Errors. | Nick Mathewson | 2023-07-07 | 2 | -25/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I identified the cases to replace by searching for the string `.report()`. There are a few that I didn't change: * A couple of cases that used anyhow::Error, * One case that reported two Errors. * Two cases in `tor_hsclient::err` that just did `error!("Bug: {}")`. I have also not audited the cases in `tor-hsclient` where we're using `tor_error::Report` manually. Nonetheless, closes #949. | ||||
| * | | Run add_warning to remove `missing_panics_doc` deny. | Nick Mathewson | 2023-07-06 | 1 | -1/+0 |
| | | | | | | | | | Closes #950. | ||||
| * | | tor-hsclient: Abolish ad-hoc real-world-time sleeps | Ian Jackson | 2023-07-06 | 1 | -12/+4 |
| |/ | | | | | | Now we can reliably wait precisely for the tasks to be all waiting. This test case no longer involves any real executor. | ||||
| * | hsclient: Make HsClientSpecifier a newtype instead of a type alias. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+11 |
| | | |||||
| * | arti-client, hsclient: Typealias HsClientSpecifier to ArtiPathComponent. | Gabriela Moldovan | 2023-06-29 | 1 | -25/+2 |
| | | | | | `ArtiPathComponent` is a more generic version of `HsClientSpecifier`. | ||||
| * | Merge branch 'timeouts' into 'main' | Ian Jackson | 2023-06-29 | 1 | -16/+109 |
| |\ | | | | | | | | | tor-hsclient: Use estimated timeouts See merge request tpo/core/arti!1342 | ||||
| | * | tor-hsclient: Add some notes about timeouts and hops | Ian Jackson | 2023-06-29 | 1 | -0/+8 |
| | | | |||||
| | * | tor-hsclient: Use estimated timeouts for introduction and rendezvous (fmt) | Ian Jackson | 2023-06-29 | 1 | -2/+6 |
| | | | |||||
| | * | tor-hsclient: Use estimated timeouts for introduction and rendezvous | Ian Jackson | 2023-06-29 | 1 | -12/+44 |
| | | | | | | | | | Replacing RPT_IPT_TIMEOUT is not entirely straightforward. | ||||
| | * | tor-hsclient: Use estimated timeout for hsdir fetches (fmt) | Ian Jackson | 2023-06-29 | 1 | -1/+1 |
| | | | |||||
| | * | tor-hsclient: Use estimated timeout for hsdir fetches | Ian Jackson | 2023-06-29 | 1 | -5/+7 |
| | | | |||||
| | * | tor-hsclient: Provide bodge constant for circuit length | Ian Jackson | 2023-06-29 | 1 | -0/+11 |
| | | | |||||
| | * | tor-hsclient: Plumb timeout estimation machinery | Ian Jackson | 2023-06-29 | 1 | -0/+36 |
| | | | |||||
| * | | Merge branch 'maxintro3' into 'main' | Ian Jackson | 2023-06-29 | 1 | -4/+0 |
| |\ \ | |/ |/| | | | | | tor-netdoc: Handle anomalous numbers of introduction points See merge request tpo/core/arti!1332 | ||||
| | * | tor-netdoc: Reject hsdescs with no intro points | Ian Jackson | 2023-06-28 | 1 | -4/+0 |
| | | | | | | | | | None of the existing NetdocErrorKinds seemed right. | ||||
| * | | Merge branch 'debug' into 'main' | Ian Jackson | 2023-06-29 | 1 | -15/+12 |
| |\ \ | | | | | | | | | | | | | tor-hsclient: Reimplement Debug for MockCirc See merge request tpo/core/arti!1324 | ||||
| | * | | tor-hsclient: Reimplement Debug for MockCirc | Ian Jackson | 2023-06-29 | 1 | -15/+12 |
| | | | | | | | | | | | | | | | | This is less code. Also it now dumps the connect_called field which was introduced in the meantime. | ||||
| * | | | Merge branch 'circparams' into 'main' | Ian Jackson | 2023-06-29 | 1 | -2/+2 |
| |\ \ \ | |/ / |/| | | | | | | | | | | | | | | tor-hsclient: Use proper CircParameters Closes #935 See merge request tpo/core/arti!1340 | ||||
| | * | | tor-hsclient: Use proper CircParameters | Ian Jackson | 2023-06-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | Fixes #935 | ||||
| * | | | Merge branch 'handshake-error' into 'main' | Nick Mathewson | 2023-06-29 | 2 | -31/+59 |
| |\| | | | | | | | | | | | | | | tor-hsclient: Handle handshake completion error correctly See merge request tpo/core/arti!1336 | ||||
| | * | | tor-hsclient: err: Mention RENDEZVOUS2 in actual messages (fmt) | Ian Jackson | 2023-06-29 | 1 | -1/+3 |
| | | | | |||||
| | * | | tor-hsclient: err: Rename to RendezvousCompletionCircuitError | Ian Jackson | 2023-06-29 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Thsi is a bit of a mouthful now, but it is comprehensible. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1336#note_2917235 | ||||
| | * | | tor-hsclient: err: Mention RENDEZVOUS2 in actual messages | Ian Jackson | 2023-06-29 | 1 | -2/+2 |
| | | | | |||||
| | * | | tor-hsclient: err: Move doc comment to correct impl | Ian Jackson | 2023-06-29 | 1 | -17/+17 |
| | | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1336#note_2917236 | ||||
| | * | | tor-hsclient: err: Mention RENDEZVOUS2 | Ian Jackson | 2023-06-29 | 1 | -2/+2 |
| | | | | |||||
| | * | | tor-hsclient: err: Reword comments about error | Ian Jackson | 2023-06-29 | 1 | -1/+1 |
| | | | | |||||
| | * | | tor-hsclient: Handle handshake completion error correctly | Ian Jackson | 2023-06-28 | 2 | -6/+31 |
| | | | | |||||
