<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src, branch arti-v1.1.13</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-01-17T18:27:09Z</updated>
<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>
<entry>
<title>Downgrade and convert TODO HSSs to #1190.</title>
<updated>2024-01-10T14:58:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-10T14:58:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c4b31b631d16baa7432822bfe0c0e969f28461d'/>
<id>urn:sha1:0c4b31b631d16baa7432822bfe0c0e969f28461d</id>
<content type='text'>
These are about making allow_incoming_streams give an error if a
handler is already installed.

I'm calling these non-MUST, since they don't affect the actual API
here, and we already have comments telling you not to do that.  We
can add them later.
</content>
</entry>
<entry>
<title>Convert a TODO HSS about excessive BEGINs to #1189.</title>
<updated>2024-01-10T14:53:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-10T14:53:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=862d041e2adfe633d182d97c1bf321b2af1e2f00'/>
<id>urn:sha1:862d041e2adfe633d182d97c1bf321b2af1e2f00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Downgrade TODO HSS about HopNum in IncomingStreamRequestComment</title>
<updated>2024-01-10T14:29:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-10T14:24:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64f78cf1fea5a81578d618d20d5689ad44d89e06'/>
<id>urn:sha1:64f78cf1fea5a81578d618d20d5689ad44d89e06</id>
<content type='text'>
These comments are about internal representations and future extensions.

Also, add a fail-safe check to make sure that hop_num consistency is
enforced.
</content>
</entry>
</feed>
