<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src, branch arti-v1.9.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-12-10T16:04:26Z</updated>
<entry>
<title>proto: Add an immediate order for client CircuitEvent ordering</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-10T15:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a448ab20270f8637d3f34b2af363453fefd621f5'/>
<id>urn:sha1:a448ab20270f8637d3f34b2af363453fefd621f5</id>
<content type='text'>
With a protocol violation, we have to immediately deal with such event
before emitting anything on the wire.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Rename CircuitAction and cie to CircuitEvent</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-10T15:20:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e69f0b2d31acfad14c3d046e89f8633626785f8'/>
<id>urn:sha1:7e69f0b2d31acfad14c3d046e89f8633626785f8</id>
<content type='text'>
This mirrors also the relay reactor. We've introduced the ProtoViolation
into a previous commit which is not an action but rather an "event" that
happened on a circuit.

And so, better semantic. No behavior change.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: #[macro_use] be gone!</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-10T14:48:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e75cf8408365b83c236a305a5c014c94d9f1069'/>
<id>urn:sha1:7e75cf8408365b83c236a305a5c014c94d9f1069</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Rename Circuit{Action/Event}::Shutdown to ProtoViolation</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-10T14:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c97ec8836f227209e8dbc19253afcbe1f9e2610'/>
<id>urn:sha1:1c97ec8836f227209e8dbc19253afcbe1f9e2610</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add TODO in client reactor for bad cell</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-09T15:06:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d83f860282020e535a50ebb183fe27e41b2d5830'/>
<id>urn:sha1:d83f860282020e535a50ebb183fe27e41b2d5830</id>
<content type='text'>
Because of https://gitlab.torproject.org/tpo/core/torspec/-/issues/385

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Move relay specific unit test to relay module</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T19:39:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=238c0173485eeda66d09beec11896193b990ae96'/>
<id>urn:sha1:238c0173485eeda66d09beec11896193b990ae96</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Relay circuit reactor now handles AnyChanMsg</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T19:35:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252cff2fb8e40b37e28b4faff8abb47862fabb7c'/>
<id>urn:sha1:252cff2fb8e40b37e28b4faff8abb47862fabb7c</id>
<content type='text'>
Same as the client reactor, a message outside of our restricted set
leads to a reactor shutdown.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Make ClientCircChanMsg pub(super)</title>
<updated>2025-12-10T16:03:12Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T19:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3bf91f92092d6e10c8b795f8685e1a80c289d19'/>
<id>urn:sha1:f3bf91f92092d6e10c8b795f8685e1a80c289d19</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Move unit tests and minor fix</title>
<updated>2025-12-10T16:03:12Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T19:23:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1aa2a0abd5b4079d346bd5b75c9049dd6ba86644'/>
<id>urn:sha1:1aa2a0abd5b4079d346bd5b75c9049dd6ba86644</id>
<content type='text'>
Move the client specific unit tests into the client module.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Client circuit reactor now handles AnyChanMsg</title>
<updated>2025-12-10T16:03:12Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T19:16:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d5ad6142db84d917f0035060f92678da3ba98ee1'/>
<id>urn:sha1:d5ad6142db84d917f0035060f92678da3ba98ee1</id>
<content type='text'>
This commit removes the CircuitRx* based solely on the client circuit
message and moves it into the top level of the crate so all reactors can
use them.

The client reactor then upon receiving the message, it converts the
AnyChanMsg into a ClientCircChanMsg. On error, this leads to a shutdown
of the entire reactor due to a fatal error.

In order to pull this off, we added a CircuitAction::Shutdown that is
handled as a priority.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
