| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-proto: Implement IncomingStream::discard(). | Gabriela Moldovan | 2023-08-08 | 1 | -2/+2 | |
| | | ||||||
| * | tor-proto: Replace boolean flags with an IncomingStreamState enum. | Gabriela Moldovan | 2023-08-08 | 1 | -18/+56 | |
| | | | | | | | | | | | This commit introduces an `IncomingStreamState` enum, which indicates whether the stream was accepted, discarded, or rejected, or if it is still pending. The `is_rejected`/`is_accepted` boolean flags are no longer needed. Without this change, we'd need to introduce yet another boolean flag when we implement `discard()` (for the "discarded" state). | |||||
| * | Merge branch 'tor-proto-incoming-todo' into 'main' | gabi-250 | 2023-08-08 | 1 | -18/+15 | |
| |\ | | | | | | | | | tor-proto: Replace IncomingStreamMsg with IncomingStreamRequest. See merge request tpo/core/arti!1477 | |||||
| | * | tor-proto: Replace IncomingStreamMsg with IncomingStreamRequest. | Gabriela Moldovan | 2023-08-07 | 1 | -18/+15 | |
| | | | | | | | | | | | | | | | | | The two enums essentially serve the same purpose, so we don't need both of them. This also addresses the TODO that says we should return an error if `accept_data` is called for a RESOLVE stream. | |||||
| * | | tor-proto: Fix broken docs. | Gabriela Moldovan | 2023-08-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-proto: Make it obvious that we're discarding a Result. | Gabriela Moldovan | 2023-08-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-proto: Make StreamTarget::close return the oneshot::Receiver instead of ↵ | Gabriela Moldovan | 2023-08-08 | 1 | -10/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | blocking. Instead of having 2 version of `StreamTarget::close` (a blocking one and a nonblocking one), we can just return the `oneshot::Receiver` for receiving the reactor's response and let the caller of `StreamTarget::close` decide whether to block. This allows us to reduce some code duplication in the `IncomingStream` implementation. | |||||
| * | | tor-proto: Make take_inner() use mut_inner() to check the inner value. | Gabriela Moldovan | 2023-08-08 | 1 | -3/+6 | |
| |/ | ||||||
| * | tor-proto: Implement `Drop` for `IncomingStream`. | Gabriela Moldovan | 2023-08-07 | 1 | -11/+64 | |
| | | ||||||
| * | tor-proto: Keep track of whether the `IncomingStream` was accepted. | Gabriela Moldovan | 2023-08-07 | 1 | -0/+5 | |
| | | | | | | The behaviour of `IncomingStream::drop` is going to depend on whether the stream was accepted or not. | |||||
| * | tor-proto: Implement IncomingStream::{accept_data, request, reject}. | Gabriela Moldovan | 2023-08-03 | 1 | -6/+32 | |
| | | ||||||
| * | tor-proto: Add a constructor for IncomingStream. | Gabriela Moldovan | 2023-08-03 | 1 | -0/+13 | |
| | | ||||||
| * | tor-proto: Add imports for commonly used types. | Gabriela Moldovan | 2023-08-03 | 1 | -4/+4 | |
| | | ||||||
| * | tor-proto: Add IncomingCmdChecker for IncomingStream. | Gabriela Moldovan | 2023-08-03 | 1 | -2/+59 | |
| | | ||||||
| * | Remove explicit allows for missing_panics_docs. | Nick Mathewson | 2023-07-06 | 1 | -6/+1 | |
| | | | | | These are no longer needed. | |||||
| * | proto: downgrade some "TODO HS" comments to "HSS" | Nick Mathewson | 2023-06-21 | 1 | -5/+5 | |
| | | | | | | These are all related to issues that will come up for the service side of the onion service implementation. | |||||
| * | tor-proto: note implications for future HS work | Nick Mathewson | 2023-02-15 | 1 | -0/+2 | |
| | | ||||||
| * | tor-proto: Draft API to handle incoming BEGIN requests. | Nick Mathewson | 2023-01-17 | 1 | -0/+67 | |
| Onion services (and later, exits and caches) will need this. | ||||||
