| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | tor-chanmgr: improve readability of `choose_best_channel` | Steven Engler | 2024-10-01 | 1 | -13/+45 | |
| | | |/ / / | |/| | | | ||||||
| * | | | | | Merge branch 'ffi_seal' into 'main' | Nick Mathewson | 2024-10-02 | 1 | -34/+41 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | artilib: Take a different approach to sealing a pair of traits. See merge request tpo/core/arti!2472 | |||||
| | * | | | | | artilib: Take a different approach to sealing a pair of traits. | Nick Mathewson | 2024-10-01 | 1 | -34/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This resolves a "TODO MSRV" comment. | |||||
| * | | | | | | Merge branch 'close-channel-2' into 'main' | Nick Mathewson | 2024-10-02 | 5 | -13/+96 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide and implement SinkCloseChannel See merge request tpo/core/arti!2485 | |||||
| | * | | | | | | tor-async-utils: Fix typo. | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-async-utils: SinkCloseChannel: Tidy up doc comment | Ian Jackson | 2024-10-02 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2485#note_3086969 | |||||
| | * | | | | | | tor-proto: Use trait methods for try_send and channel_close (fmt) | Ian Jackson | 2024-10-01 | 1 | -10/+7 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-proto: Use trait methods for try_send and channel_close | Ian Jackson | 2024-10-01 | 2 | -5/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prepares us to change the types of these queues. | |||||
| | * | | | | | | tor-memquota: Implement SinkChannelClose for mq_queue | Ian Jackson | 2024-10-01 | 1 | -1/+12 | |
| | | | | | | | | ||||||
| | * | | | | | | Provide SinkCloseChannel | Ian Jackson | 2024-10-01 | 2 | -0/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The circuit reactor calls mpsc::Channel::close_channel, but we want to wrap up the mpsc, so we need to make this a trait method. | |||||
| * | | | | | | | Merge branch 'sink-try-send-2' into 'main' | Nick Mathewson | 2024-10-02 | 2 | -11/+94 | |
| |\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | tor-async-utils: SinkTrySend improvements See merge request tpo/core/arti!2490 | |||||
| | * | | | | | | tor-memquota: Test error handling paths in try_send impl | Ian Jackson | 2024-10-02 | 1 | -0/+54 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-memquota: Prepare for SinkTrySend tests | Ian Jackson | 2024-10-02 | 1 | -3/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement SinkTrySend for BustedSink. Implement SinkTrySendError for BustedError. Add an is_disconnected field (so we can test different error paths). | |||||
| | * | | | | | | tor-memquota: Make BustedSink contain the BustedError to yield (fmt) | Ian Jackson | 2024-10-02 | 1 | -1/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-memquota: Make BustedSink contain the BustedError to yield | Ian Jackson | 2024-10-02 | 1 | -8/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us test different errors. | |||||
| | * | | | | | | tor-async-utils: SinkTrySend: Fix a doc comment | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a copypaste error, resulting in a statement with the wrong sense. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2468#note_3086961 | |||||
| * | | | | | | Merge branch 'rpc_unexpected_reply' into 'main' | Nick Mathewson | 2024-10-02 | 6 | -46/+121 | |
| |\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpclib: Unify code for internally generated requests Closes #1587 See merge request tpo/core/arti!2456 | |||||
| | * | | | | | rpclib: Add a #[source] annotation. | Nick Mathewson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Apply 1 suggestion(s) to 1 file(s) | Nick Mathewson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | Co-authored-by: gabi-250 <[email protected]> | |||||
| | * | | | | | update cbindgen warnings. | Nick Mathewson | 2024-09-25 | 1 | -0/+1 | |
| | | | | | | | ||||||
| | * | | | | | rpclib: Unify code internally generated requests | Nick Mathewson | 2024-09-25 | 4 | -45/+112 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have a single type to represent the error "A request that we made internally didn't get a result we expected." The functions to generate these requests are now centralized too. Closes #1587. | |||||
| | * | | | | | rpclib: Implement Display for Utf8CString. | Nick Mathewson | 2024-09-25 | 1 | -0/+7 | |
| | | | | | | | ||||||
| | * | | | | | rpc: Finish an incomplete sentence in a doc. | Nick Mathewson | 2024-09-25 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'rpc-doc-socks-objectid' into 'main' | Nick Mathewson | 2024-10-02 | 1 | -0/+16 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy section on objectid/isolation restrictions from prop351. See merge request tpo/core/arti!2474 | |||||
| | * | | | | | | Copy section on objectid/isolation restrictions from prop351. | Nick Mathewson | 2024-09-30 | 1 | -0/+16 | |
| | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Eventually it belongs in an RPC spec, but for now the relevant discussion goes here. | |||||
| * | | | | | | Merge branch 'coarse' into 'main' | Nick Mathewson | 2024-10-02 | 2 | -11/+21 | |
| |\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders See merge request tpo/core/arti!2482 | |||||
| | * | | | | | tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders (fmt) | Ian Jackson | 2024-10-01 | 1 | -4/+14 | |
| | | | | | | | ||||||
| | * | | | | | tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders | Ian Jackson | 2024-10-01 | 2 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The memquota arranagements are going to use this. We *don't* apply this to Channel (or to other types that aren't already generic over SleepProvider). | |||||
| * | | | | | | Merge branch 'socksproto-3' into 'main' | Ian Jackson | 2024-10-01 | 16 | -387/+1033 | |
| |\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New tor-socksproto API Closes #1627 See merge request tpo/core/arti!2436 | |||||
| | * | | | | | tor-socksproto: Handle 0-byte reads (EOF) correctly (fmt) | Ian Jackson | 2024-10-01 | 1 | -1/+3 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Handle 0-byte reads (EOF) correctly | Ian Jackson | 2024-10-01 | 6 | -7/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores the functionality of socks users: detect closed sockets. 0c595818f713916d94b7b0e4062f953fad7c9799 which we reverted as part of rebasing this branch onto main. | |||||
| | * | | | | | fixup! tor-socksproto: Fix doc comment for new_precise | Ian Jackson | 2024-10-01 | 1 | -6/+3 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Fix doc comment for ReadPrecision | Ian Jackson | 2024-10-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2436#note_3081884 | |||||
| | * | | | | | tor-socksproto: Fix doc comment for new_precise | Ian Jackson | 2024-10-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2436#note_3081885 | |||||
| | * | | | | | tor-socksproto: Code motion to tidy up | Ian Jackson | 2024-10-01 | 2 | -31/+25 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Deprecate old API | Ian Jackson | 2024-10-01 | 4 | -6/+13 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Introduce handshake_for_tests method (fmt) | Ian Jackson | 2024-10-01 | 3 | -5/+20 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Introduce handshake_for_tests method | Ian Jackson | 2024-10-01 | 4 | -36/+44 | |
| | | | | | | | ||||||
| | * | | | | | tor-chanmgr: Use new tor-socksproto API (fmt) | Ian Jackson | 2024-10-01 | 1 | -2/+1 | |
| | | | | | | | ||||||
| | * | | | | | tor-chanmgr: Use new tor-socksproto API | Ian Jackson | 2024-10-01 | 1 | -56/+16 | |
| | | | | | | | ||||||
| | * | | | | | arti-rpc-client-core: Use new tor-socksproto API (fmt) | Ian Jackson | 2024-10-01 | 1 | -2/+1 | |
| | | | | | | | ||||||
| | * | | | | | arti-rpc-client-core: Use new tor-socksproto API | Ian Jackson | 2024-10-01 | 2 | -33/+17 | |
| | | | | | | | ||||||
| | * | | | | | arti SOCKS proxy: Defer splitting the socks stream | Ian Jackson | 2024-10-01 | 1 | -13/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is neater, I think. | |||||
| | * | | | | | arti SOCKS proxy: Reject pipelined client data | Ian Jackson | 2024-10-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1627 / TROVE-2024-010 | |||||
| | * | | | | | tor-socksproto: Introduce into_output_forbid_pipelining | Ian Jackson | 2024-10-01 | 2 | -0/+26 | |
| | | | | | | | ||||||
| | * | | | | | arti SOCKS proxy: Use new tor-socksproto API | Ian Jackson | 2024-10-01 | 1 | -40/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | No functional change. | |||||
| | * | | | | | tor-socksproto tests: Run test cases via new API in various modes | Ian Jackson | 2024-10-01 | 1 | -4/+117 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto tests: Use crate::* rather than ad-hoc imports | Ian Jackson | 2024-10-01 | 1 | -7/+1 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Introduce new API (fmt) | Ian Jackson | 2024-10-01 | 2 | -3/+4 | |
| | | | | | | | ||||||
| | * | | | | | tor-socksproto: Introduce new API | Ian Jackson | 2024-10-01 | 5 | -4/+444 | |
| | | | | | | | ||||||
