<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/streammap.rs, branch arti-v1.1.11</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.11</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.11'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-25T20:34:55Z</updated>
<entry>
<title>Convert StreamId to NonZeroU16</title>
<updated>2023-10-25T20:34:55Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-10-23T22:57:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48d95b8be53177d34012c53dd84ed888ebfb5cc8'/>
<id>urn:sha1:48d95b8be53177d34012c53dd84ed888ebfb5cc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Have EndSent remember if we have dropped the stream target.</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T13:53:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6cbde09414c1411d8ab3267b732da49068f8ef4a'/>
<id>urn:sha1:6cbde09414c1411d8ab3267b732da49068f8ef4a</id>
<content type='text'>
The rule is that we allow up to one explicit `close_pending`,
followed by exactly one final `mpsc::Sender` drop.
</content>
</entry>
<entry>
<title>proto: Give StreamMap::terminate a "why" argument</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T13:42:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=487e0cb45ad57b050223f4427f8bca793d646d32'/>
<id>urn:sha1:487e0cb45ad57b050223f4427f8bca793d646d32</id>
<content type='text'>
We will use this to enforce correct ordering on "close" vs "drop"
APIs.
</content>
</entry>
<entry>
<title>proto: Remove a TODO about merging two functions.</title>
<updated>2023-10-12T13:04:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-12T13:02:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c44f028920269a00aed51b0d0e7d9c9ca3deb66'/>
<id>urn:sha1:1c44f028920269a00aed51b0d0e7d9c9ca3deb66</id>
<content type='text'>
There is some similarity, but there's not really a logical way
to combine the two that actually results in less, clearer code.
</content>
</entry>
<entry>
<title>Lower and downgrade a TODO about StreamID and NonZeroU16.</title>
<updated>2023-10-12T12:58:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-12T12:58:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=43de6d1f1411cfe684b28995799de95955d65561'/>
<id>urn:sha1:43de6d1f1411cfe684b28995799de95955d65561</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Add a helper for adding a stream entry with a specific stream ID.</title>
<updated>2023-08-03T15:25:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-28T19:33:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18b01f94cc64a67d486ef4ae1f7995843e759b2c'/>
<id>urn:sha1:18b01f94cc64a67d486ef4ae1f7995843e759b2c</id>
<content type='text'>
This adds a new `add_ent_with_id` function for adding a new entry to the
`StreamMap`. The existing `add_ent` function auto-generates a new stream
ID, which is not good if we're a hidden service, as stream IDs are
supposed to be chosen by the OP (client). When accepting a new stream,
services, exit relays, and dir auths need to use the stream ID received
in the BEGIN cell (instead of generating a new stream ID).
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid matches!(x, None), matches!(x, Ok(_))</title>
<updated>2023-07-06T18:26:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-03T12:43:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=07b4b11d7ad71c1b5b03329a3e5bfa857c44fca1'/>
<id>urn:sha1:07b4b11d7ad71c1b5b03329a3e5bfa857c44fca1</id>
<content type='text'>
This appeases clippy-nightly.
</content>
</entry>
<entry>
<title>tor-guardmgr, tor-proto: minor logging tweaks</title>
<updated>2023-05-18T15:04:11Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-05-18T13:55:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4665835ee8879bf4d11ccf56420b899909cf32ff'/>
<id>urn:sha1:4665835ee8879bf4d11ccf56420b899909cf32ff</id>
<content type='text'>
- We make the tor-guardmgr "We have found that {} is usable" line
  include the word "guard", otherwise it doesn't appear very useful to a
  user in safe logging mode, since the guard gets replaced with
  [scrubbed].
- The "Actually got an end cell..." message is downgraded to DEBUG.
</content>
</entry>
</feed>
