<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/util/err.rs, 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-01T10:57:05Z</updated>
<entry>
<title>proto: Add docs for ExcessPadding</title>
<updated>2025-12-01T10:57:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-01T10:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f19c77c54b972a632fcf8e9d1a444c6b29b9cf5'/>
<id>urn:sha1:4f19c77c54b972a632fcf8e9d1a444c6b29b9cf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Add new error type for cells received on non-existent streams.</title>
<updated>2025-09-22T15:25:45Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-09-22T14:40:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cb72b6403f1fff16ae590777119399e1c48972c4'/>
<id>urn:sha1:cb72b6403f1fff16ae590777119399e1c48972c4</id>
<content type='text'>
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3267#note_3261239
</content>
</entry>
<entry>
<title>proto: Use a new error type for excess padding.</title>
<updated>2025-09-15T12:32:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-15T12:32:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=07328f325a06da8dc477db648d7f721b7cf13c02'/>
<id>urn:sha1:07328f325a06da8dc477db648d7f721b7cf13c02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Make the OutboundClientHandshake use new cell handler</title>
<updated>2025-08-20T17:22:16Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-03T13:16:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d52396e8f6e68859508e1f8fbef7a62458857bc'/>
<id>urn:sha1:8d52396e8f6e68859508e1f8fbef7a62458857bc</id>
<content type='text'>
Use the ChannelFrame&lt;&gt; for the entirety of the outbound client handshake
that is the ClientInitiator channel type.

With this change, the codec.rs code is not needed anymore along its
CodecError as well which has been normalized onto the crate::Error
instead in order to simplify error handling and avoid duplication of
error types.

Unit tests have been modified to reflect this change of what can be done
with a channel frame. Also renamed to focus on client behavior.

Part of #1597

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Implement a From&lt;std::io::Error&gt; for Error</title>
<updated>2025-08-20T16:41:03Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-01T17:44:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3261efe62fd0a8e48381e2af6a4440ef0732c452'/>
<id>urn:sha1:3261efe62fd0a8e48381e2af6a4440ef0732c452</id>
<content type='text'>
To be able to return a crate::Error from the Decoded/Encoder trait, it
needs to implement this conversion.

Part of #1597

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>proto: Add the ability to enforce a maximum number of cells per hop</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-24T16:26:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01a60a72ca746d1d5bdaa2269d8a7daf6ceb903e'/>
<id>urn:sha1:01a60a72ca746d1d5bdaa2269d8a7daf6ceb903e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Add error and channel types for conflux handshake outcome.</title>
<updated>2025-05-06T12:08:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-04-14T10:11:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b3ba6a210e6a5dcdeff911c719a1a9a92518ae2'/>
<id>urn:sha1:7b3ba6a210e6a5dcdeff911c719a1a9a92518ae2</id>
<content type='text'>
These will be used for sending the conflux handshake outcome to the
reactor user.
</content>
</entry>
<entry>
<title>tor-proto: Add line breaks between impl blocks.</title>
<updated>2025-02-25T10:10:12Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-02-11T14:24:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=73ab878854816b7dbddc5f7ea70f8fc44c824fc0'/>
<id>urn:sha1:73ab878854816b7dbddc5f7ea70f8fc44c824fc0</id>
<content type='text'>
For readability
</content>
</entry>
<entry>
<title>tor-proto: Implement From&lt;Bug&gt; for ReactorError.</title>
<updated>2025-02-25T10:10:12Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-02-11T14:19:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=369101b1fa5ab2eca59c04173c474e6d12239119'/>
<id>urn:sha1:369101b1fa5ab2eca59c04173c474e6d12239119</id>
<content type='text'>
We will soon have a `ConfluxSet` type. Some of its operations will
return `Bug` (for example, the method for getting the *only* leg of the
conflux set will return a `Bug` if the set has no legs, or more than 1
leg).

This conversion function will make it easier these errors to
`ReactorError`.
</content>
</entry>
</feed>
