<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream/incoming.rs, branch arti-v1.2.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-26T16:55:05Z</updated>
<entry>
<title>Rename the old IncomingStreamRequestContext to StreamReqInfo.</title>
<updated>2024-03-26T16:55:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-26T12:51:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=500f7c562d0b28f3047fc5cee7cce34ee077517c'/>
<id>urn:sha1:500f7c562d0b28f3047fc5cee7cce34ee077517c</id>
<content type='text'>
(Doing this to prevent us having two structs with the same name.)
</content>
</entry>
<entry>
<title>Add an IncomingStreamRequestFilter to check early properties</title>
<updated>2024-03-26T16:55:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T15:39:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25da33c91ccbd3ac266edf871925ee6a341d4729'/>
<id>urn:sha1:25da33c91ccbd3ac266edf871925ee6a341d4729</id>
<content type='text'>
Based on designs in #1124.

Note that there is a TODO here about a hack I had to do to appease
the borrow checker.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>relay-cell: Update relay cell decoding API for prop340</title>
<updated>2024-03-12T15:58:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-05T20:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d427eb93d699e779c608f71a243d581b1027a73'/>
<id>urn:sha1:2d427eb93d699e779c608f71a243d581b1027a73</id>
<content type='text'>
Prop 340:
https://spec.torproject.org/proposals/340-packed-and-fragmented.html

This updates the decoding API to support multiple versions of the relay
cell encoding, including the new encoding proposed in prop340 that
supports relay message packing and fragmentation.

This commit doesn't actually add support for that new encoding yet.
</content>
</entry>
<entry>
<title>Rename UnparsedRelayCell -&gt; UnparsedRelayMsg</title>
<updated>2024-03-12T15:58:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-04T17:17:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=190d1cba722c1ebe840eca2b06d82a89678847dc'/>
<id>urn:sha1:190d1cba722c1ebe840eca2b06d82a89678847dc</id>
<content type='text'>
For consistency with the terminology proposed in
https://gitlab.torproject.org/tpo/core/torspec/-/issues/253
</content>
</entry>
<entry>
<title>tor_cell: never construct empty DATA messages.</title>
<updated>2024-02-13T14:37:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-13T14:37:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b5c70dad02124549a13e25f62c8073fef4a063fe'/>
<id>urn:sha1:b5c70dad02124549a13e25f62c8073fef4a063fe</id>
<content type='text'>
We never actually constructed these before, but now we enforce it at
the API level.

Part of #1269.
</content>
</entry>
<entry>
<title>Rename {Any}RelayCell to {Any}RelayMsgOuter</title>
<updated>2023-12-14T16:56:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T16:43:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c0b166de3057e0ddb0d7771e50ad5a366bdd7c8'/>
<id>urn:sha1:8c0b166de3057e0ddb0d7771e50ad5a366bdd7c8</id>
<content type='text'>
This commit is pure renaming, done automatically with rust-analyzer.
Comment fixes and other cleanups will be in the subsequent commits.

We're doing this renaming because we need a name for
the combination of a `RelayMsg` and an `Option&lt;StreamId&gt;`
that we use when we have a `RelayMsg`
we intend to route to a given stream or circuit internally.
Previously we called this a `RelayCell`,
but that name was already somewhat inaccurate,
and will become _very_ inaccurate with the arrival of prop340,
which breaksthe 1:1 relationship between relay cells
and relay messages.

(If we didn't do this renaming now, we'd soon be making
the relationship between `UnparsedRelayCell`and `RelayCell`
many-to-many, which would be ridiculous and confusing.)

The `RelayMsgOuter` name is a placeholder:
We expect that we'll want to rename this type,
and may also want to rename `RelayMsg`,
and unify our vocabulary in other areas too.
But such a renaming will have to wait
for a larger discussion affecting the specifications,
so that we can use the same vocabulary everywhere.
</content>
</entry>
<entry>
<title>Convert StreamId to NonZeroU16</title>
<updated>2023-10-25T20:34:55Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-10-23T22:57:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48d95b8be53177d34012c53dd84ed888ebfb5cc8'/>
<id>urn:sha1:48d95b8be53177d34012c53dd84ed888ebfb5cc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Revise the behavior of IncomingStream::discard().</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T14:30:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1b2a4de2eb6a11157879cb53839eaee9e658ba4d'/>
<id>urn:sha1:1b2a4de2eb6a11157879cb53839eaee9e658ba4d</id>
<content type='text'>
Because dropping a `StreamTarget` causes the circuit reactor to send
an End, the previous do-nothing implementation of `discard()` wasn't
sufficient to cause the request to be ignored without sending an
End.

This commit modifies our "close pending stream" behavior to only
optionally send an End message.  To avoid confusion, I'm using a new
`CloseStreamBehavior` enum rather than an `Option&lt;End&gt;`, since we
had previously used `None` in some cases to indicate a default
(misc) end message.
</content>
</entry>
<entry>
<title>IncomingStream:: flatten IncomingStreamInner.</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T14:18:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d51927c7ad3d0523b533acaa467ac2a083854e0f'/>
<id>urn:sha1:d51927c7ad3d0523b533acaa467ac2a083854e0f</id>
<content type='text'>
</content>
</entry>
</feed>
