<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/reactor.rs, 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-17T14:25:56Z</updated>
<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>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>
<entry>
<title>proto: Downgrade TODO HSS comments about hop lookup</title>
<updated>2024-01-10T14:19:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-10T14:19:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a7f9f481f488e8be60808332b0a07e325f11505e'/>
<id>urn:sha1:a7f9f481f488e8be60808332b0a07e325f11505e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Change some TODO HSS comments to refer to #1188</title>
<updated>2024-01-10T14:18:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-10T14:18:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=928bd6829347ebd6cc1075fee5364e1b9b859a5f'/>
<id>urn:sha1:928bd6829347ebd6cc1075fee5364e1b9b859a5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clippy nightly: For now, locally allow blocks_in_conditions</title>
<updated>2024-01-02T15:04:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-02T14:51:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e459400ebc4cb40622cf2eb42803afafbc05ad4'/>
<id>urn:sha1:2e459400ebc4cb40622cf2eb42803afafbc05ad4</id>
<content type='text'>
Filed
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1176
proposing a final fix.
</content>
</entry>
<entry>
<title>Rename {Any}RelayCell to {Any}RelayMsgOuter</title>
<updated>2023-12-14T16:56:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T16:43:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c0b166de3057e0ddb0d7771e50ad5a366bdd7c8'/>
<id>urn:sha1:8c0b166de3057e0ddb0d7771e50ad5a366bdd7c8</id>
<content type='text'>
This commit is pure renaming, done automatically with rust-analyzer.
Comment fixes and other cleanups will be in the subsequent commits.

We're doing this renaming because we need a name for
the combination of a `RelayMsg` and an `Option&lt;StreamId&gt;`
that we use when we have a `RelayMsg`
we intend to route to a given stream or circuit internally.
Previously we called this a `RelayCell`,
but that name was already somewhat inaccurate,
and will become _very_ inaccurate with the arrival of prop340,
which breaksthe 1:1 relationship between relay cells
and relay messages.

(If we didn't do this renaming now, we'd soon be making
the relationship between `UnparsedRelayCell`and `RelayCell`
many-to-many, which would be ridiculous and confusing.)

The `RelayMsgOuter` name is a placeholder:
We expect that we'll want to rename this type,
and may also want to rename `RelayMsg`,
and unify our vocabulary in other areas too.
But such a renaming will have to wait
for a larger discussion affecting the specifications,
so that we can use the same vocabulary everywhere.
</content>
</entry>
</feed>
