<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream/data.rs, branch arti-v1.4.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-04-16T14:58:49Z</updated>
<entry>
<title>cell, proto: Use correct Data sizes for v1 relay cells</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T01:57:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=497e5f1acd27c2c316c3f5bbf7158c9516fef159'/>
<id>urn:sha1:497e5f1acd27c2c316c3f5bbf7158c9516fef159</id>
<content type='text'>
Since v1 cells have a longer tag, they can fit less data into a
single cell.  Ah well, that's the cost of improved security.

The code in data.rs is a little wonky, in that it currently requires
its buffer to be exactly the maximum size for a data cell.  We have
a TODO about fixing that in the future, but for now I've moved it to
use a boxed slice rather than a boxed array.

Part of #1944.
</content>
</entry>
<entry>
<title>Apply 1 suggestion(s) to 1 file(s)</title>
<updated>2025-02-27T13:24:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-27T13:24:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d9f6890b138d7785683f1cdeb38da5e0641cfd0'/>
<id>urn:sha1:8d9f6890b138d7785683f1cdeb38da5e0641cfd0</id>
<content type='text'>
Co-authored-by: Ian Jackson &lt;iwj@torproject.org&gt;</content>
</entry>
<entry>
<title>Make DataStream, and its members, implement Sync.</title>
<updated>2025-02-26T17:34:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-26T17:34:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfb9fb05e4a170626722436a7c4af5261438ed0b'/>
<id>urn:sha1:bfb9fb05e4a170626722436a7c4af5261438ed0b</id>
<content type='text'>
Also, use static_assertions to enforce that that they
_stay_ Send+Sync.

Closes #1859.
</content>
</entry>
<entry>
<title>tor-proto: Add a tunnel module.</title>
<updated>2025-02-20T20:15:12Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-02-13T16:58:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31ee1dbbe88f92d99d66614d0625cb6e87d48edd'/>
<id>urn:sha1:31ee1dbbe88f92d99d66614d0625cb6e87d48edd</id>
<content type='text'>
Move StreamTarget to the tunnel module and the circuit module.

From now on streams will be implemented on tunnels, not circuits.

This moves `StreamTarget` to the tunnel module. A future change will
replace `ClientCirc` with `ClientTunnel` inside `StreamTarget`.

This is mostly code motion, best reviewed with `--color-moved`.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-proto: Remove deprecated DataStream API.</title>
<updated>2025-02-13T17:51:00Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-02-13T17:33:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d478e5e7d368773a5198a5bbe4d6d4ba7bb0da04'/>
<id>urn:sha1:d478e5e7d368773a5198a5bbe4d6d4ba7bb0da04</id>
<content type='text'>
Reducing `ClientCirc` proliferation will make our lives easier when
implementing !2790.
</content>
</entry>
<entry>
<title>proto: deprecate DataStream::circuit</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T16:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d0e07702225cc0c9f829f1db1c571e8c2ffee4c3'/>
<id>urn:sha1:d0e07702225cc0c9f829f1db1c571e8c2ffee4c3</id>
<content type='text'>
This method is experimental, so no semver note is needed.
It is redundant with `client_stream_ctrl()?.circuit()?`.

(The name and the unconditional return type of this method
are probably an error.)
</content>
</entry>
<entry>
<title>proto: Rename (experimental) DataStream functions for ctrl access</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:48:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01197344045835a2e901cf68488332bf3c8ccd56'/>
<id>urn:sha1:01197344045835a2e901cf68488332bf3c8ccd56</id>
<content type='text'>
Since these return a client-specific type,
they need a client-specific name before we can stabilize them for RPC.
</content>
</entry>
<entry>
<title>proto: Rename ClientDataStreamCtrl::{is_open=&gt;is_connected}</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:41:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0f5e3f43c3fc3de23e83dc97f162e783f03edbd'/>
<id>urn:sha1:f0f5e3f43c3fc3de23e83dc97f162e783f03edbd</id>
<content type='text'>
Semantically, the new name matches the behavior much better.
(A stream could well count as open if we had sent a RESOLVE but not
received a RESOLVED, so we might someday want to have an `is_open`
defined for _all_ streams, not just data streams.)
</content>
</entry>
<entry>
<title>proto: Rename DataStreamCtrl to ClientDataStreamCtrl</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:31:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af6ba7ea0379e2129e1cef1952d193f6783c5bbb'/>
<id>urn:sha1:af6ba7ea0379e2129e1cef1952d193f6783c5bbb</id>
<content type='text'>
The API for this type, and the fact that it implements
ClientStreamCtrl unconditionally, means that it is only for client
DataStreams.
</content>
</entry>
<entry>
<title>memquota: Use _ rather than allow(dead_code)</title>
<updated>2024-10-22T12:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-22T12:16:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eed28245887b87a7bf1e884b568f8062148cdd76'/>
<id>urn:sha1:eed28245887b87a7bf1e884b568f8062148cdd76</id>
<content type='text'>
Promote the associated comments.

As suggested here:
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2560#note_3097188
</content>
</entry>
</feed>
