<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-30T17:46:47Z</updated>
<entry>
<title>tor-proto: extend circ handshake tests to close the circuit</title>
<updated>2026-07-30T17:46:47Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T17:39:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11b8c66449a625816132d4c3d734287a6f2ff930'/>
<id>urn:sha1:11b8c66449a625816132d4c3d734287a6f2ff930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: rename some methods on test `ConnInspector`</title>
<updated>2026-07-30T17:46:47Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T17:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=50c7356a6911b186dc1f18fd97298e19176c9e6e'/>
<id>urn:sha1:50c7356a6911b186dc1f18fd97298e19176c9e6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: don't drop stream rx in tests</title>
<updated>2026-07-30T17:46:47Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T17:26:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aaf3f274b5b8076ca3ebda40cd0e2f5719d31285'/>
<id>urn:sha1:aaf3f274b5b8076ca3ebda40cd0e2f5719d31285</id>
<content type='text'>
Otherwise the new circuit gets closed immediately by the relay.
</content>
</entry>
<entry>
<title>tor-proto: add 'test_utils' mod for channel tests</title>
<updated>2026-07-30T03:41:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T02:58:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be497c5c67c78ae4161038e8e0a3f2af5a7b66ec'/>
<id>urn:sha1:be497c5c67c78ae4161038e8e0a3f2af5a7b66ec</id>
<content type='text'>
These help to establish connected channel objects to be used for tests.
</content>
</entry>
<entry>
<title>proto: Use PeerInfo to log responder channel addr</title>
<updated>2026-07-29T13:30:29Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-07-29T13:30:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eaae93dfc82c44d76e2f3f6337a8edfa7fe78ade'/>
<id>urn:sha1:eaae93dfc82c44d76e2f3f6337a8edfa7fe78ade</id>
<content type='text'>
Inbound channel (as responder) don't have a ChannelMethod as they are
not initiating the type of transport to use (PT vs Direct). It would
result in a log line when receiving a channel request:

    DEBUG tor_proto::channel::handshake: Completed handshake without authentication to [? ] stream_id=Chan 2

This commit uses the `PeerInfo` which is wrapped in a `MaybeSensitive`
and thus safe to log.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>align DestroyReason with torspec!490</title>
<updated>2026-07-28T09:33:30Z</updated>
<author>
<name>ramdoys</name>
<email>ramdoys+tor@protonmail.com</email>
</author>
<published>2026-07-28T09:33:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a54ad33c0aaadba7705288fae8280a6b84fc765'/>
<id>urn:sha1:4a54ad33c0aaadba7705288fae8280a6b84fc765</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: Rename `TimeBound::is_valid_at` to `check_valid_at`</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T16:51:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b97c30a9e666d40601d76b645f44abc6adf42fe9'/>
<id>urn:sha1:b97c30a9e666d40601d76b645f44abc6adf42fe9</id>
<content type='text'>
I find this names confusing.  To my mind "is" implies a function
returning `bool`.
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: Make wrapped type an associated type</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T12:00:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b16e7a5ac48daa3e2f94660bdf7c39f54e7c702c'/>
<id>urn:sha1:b16e7a5ac48daa3e2f94660bdf7c39f54e7c702c</id>
<content type='text'>
It wouldn't make much sense for one concrete type to be unwrappable
variously as different inner types.
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: remove Error associated type</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T15:19:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=726f97b2a2099eea34d804e0132cf742964af8b7'/>
<id>urn:sha1:726f97b2a2099eea34d804e0132cf742964af8b7</id>
<content type='text'>
This was always TimeValidityError.  And we want to rely on that so we
can do the validity checking more centrally.
</content>
</entry>
<entry>
<title>proto: Return the incoming streams from the create handler</title>
<updated>2026-07-22T12:12:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-06-12T11:16:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=96a99ed5cd29d1619368a4e5c3dcb195114d8ba4'/>
<id>urn:sha1:96a99ed5cd29d1619368a4e5c3dcb195114d8ba4</id>
<content type='text'>
We need to return the "futures::Stream of Tor streams" from the CREATE
handler, because these need to be handled from `arti-relay`,
as per `doc/dev/notes/relay-streams.md`

This commit is intentionally (slightly) misformatted to make reviewing a
bit easier (the next commit will rustfmt everything).

Part of #2612
</content>
</entry>
</feed>
