<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src, branch arti-v1.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-27T17:01:33Z</updated>
<entry>
<title>tor-proto: Add function for peeking at pending circ unique ID.</title>
<updated>2024-02-27T17:01:33Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-27T13:52:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e03371e7933deed293044d3e6b256dda88f5ba62'/>
<id>urn:sha1:e03371e7933deed293044d3e6b256dda88f5ba62</id>
<content type='text'>
`tor_circmgr::Error::Protocol` will soon include an optional `UniqId`.

Since `Protocol` errors can be caused by pending circuits, we need to be
able to peek at their `UniqId`.

Part of #1297
</content>
</entry>
<entry>
<title>tor-circmgr: Add a helper for displaying optional UniqIds.</title>
<updated>2024-02-27T16:57:25Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-27T15:06:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62923a6758be629b684d67237f7d7207abad33f0'/>
<id>urn:sha1:62923a6758be629b684d67237f7d7207abad33f0</id>
<content type='text'>
Some of the `tor_circmgr::Error` variants will include the `UniqId` of the
corresponding circuit, so we'll need to be able to display it without the
`Circ ` prefix.

Part of #1297
</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>Merge branch 'send_incoming_request_failures' into 'main'</title>
<updated>2024-01-17T18:27:09Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-17T18:27:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=572078cd57fc3a916d7d4cc9a2ad3dfcd2d13fd8'/>
<id>urn:sha1:572078cd57fc3a916d7d4cc9a2ad3dfcd2d13fd8</id>
<content type='text'>
Several clean-ups around failures in incoming stream request handlers.

Closes #1190, #1189, and #1188

See merge request tpo/core/arti!1892</content>
</entry>
<entry>
<title>Remove TODO for #1191</title>
<updated>2024-01-17T16:19:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-17T16:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25258bfc1061429f99a62426d41824be29d46df1'/>
<id>urn:sha1:25258bfc1061429f99a62426d41824be29d46df1</id>
<content type='text'>
The bug described here was already fixed as #1065 via !1681.

Closes #1191.
</content>
</entry>
<entry>
<title>proto: Use log_ratelim to report problems delivering BEGIN messges.</title>
<updated>2024-01-17T14:25:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-17T14:25:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c5478deab5b8bb4a1ea55946483bad948ff9eca0'/>
<id>urn:sha1:c5478deab5b8bb4a1ea55946483bad948ff9eca0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Give an error on duplicate call to allow_stream_requests.</title>
<updated>2024-01-17T14:00:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-17T14:00:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8bff4734d70bc1260cfd5fdfb230e479b79065fc'/>
<id>urn:sha1:8bff4734d70bc1260cfd5fdfb230e479b79065fc</id>
<content type='text'>
Closes #1190
</content>
</entry>
<entry>
<title>proto: Close circuit _intentionally_ when Request Sink is dropped.</title>
<updated>2024-01-17T13:45:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-17T13:45:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=163aec238f5cba8434826130d5637f6ae3a24a4b'/>
<id>urn:sha1:163aec238f5cba8434826130d5637f6ae3a24a4b</id>
<content type='text'>
In theory, it might be better to just un-register the
IncomingStreamRequestHandler when the Receiver for the stream
requests is dropped.  However, there are two reasons not to do so:

1. It's tricky.  We never actually poll on the corresponding Sink,
   so there isn't a place where the Reactor would expect to get a
   prompt notification of closure.  We only find out that the
   Receiver has been dropped when an attempt to send on the Sink
   returns an `is_disconnected` error.

2. It's unnecessary.  In the Tor protocols, once we have decided to
   accept incoming stream requests on a circuit, we want to continue
   to do so until one of the parties closes the circuit.

I've documented this in several comments, in case whe want to get
fancier in the future.

Closes #1188.
</content>
</entry>
<entry>
<title>proto: Send END when buffer of IncomingRequests is full</title>
<updated>2024-01-17T13:16:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-17T13:16:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=428285a3b9df515e25a4b4265950b3a0fc788430'/>
<id>urn:sha1:428285a3b9df515e25a4b4265950b3a0fc788430</id>
<content type='text'>
Closes #1189.
</content>
</entry>
<entry>
<title>proto: Convert a TODO HSS to ticket #1191</title>
<updated>2024-01-10T15:04:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-10T15:04:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca44209c77d2c1267c3fe9e5a0fa707e88e5868b'/>
<id>urn:sha1:ca44209c77d2c1267c3fe9e5a0fa707e88e5868b</id>
<content type='text'>
</content>
</entry>
</feed>
