<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit.rs, branch arti-v1.2.7</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.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-28T14:27:46Z</updated>
<entry>
<title>extract tor_async_utils::oneshot into ::oneshot-fused-workaround</title>
<updated>2024-08-28T14:27:46Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-22T19:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f7f01092e6ac55e3e958dc3a2228b1d36e26a1'/>
<id>urn:sha1:46f7f01092e6ac55e3e958dc3a2228b1d36e26a1</id>
<content type='text'>
Having this in the `tor-async-utils` crate prevents us from doing both
of the following without introducing a circular dependency:

* using it in `tor-rtmock` (which we currently do, particularly in
  tests).
* using `tor-rtmock` to test things in `tor-async-utils`. We don't do
  this yet, but it is generally sensible to do so. In particular we
  want to move the `stream_peak` module there, which is currently tested
  with `tor-rtmock`.

Moving this into its own crate avoids this circular dependency.
</content>
</entry>
<entry>
<title>`circuit` docs: delete comment about no flow-control etc</title>
<updated>2024-08-26T19:53:11Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-26T19:44:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=508d67054c282e9aedda4e5d1e700b8b9e5f3da1'/>
<id>urn:sha1:508d67054c282e9aedda4e5d1e700b8b9e5f3da1</id>
<content type='text'>
There is now (sendme-style) flow control, and some fairness
(via round robin scheduling of streams).
</content>
</entry>
<entry>
<title>`circuit` docs: delete "one big mutex" limitation</title>
<updated>2024-08-26T19:36:01Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-26T19:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e5918dfdc4f155ab0c973860a9522faa41f2137a'/>
<id>urn:sha1:e5918dfdc4f155ab0c973860a9522faa41f2137a</id>
<content type='text'>
There is a mutex for some of the "mutable state", but the reactor only
needs to lock it when adding a hop. It's not needed "to process a cell"
or when streams send. Probably not worth calling out here.
</content>
</entry>
<entry>
<title>tor-proto circuit: add unit test for fairness</title>
<updated>2024-08-22T18:51:03Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-07-31T20:26:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9866eb8f31660052a145d9a52af50434ab1a5ab8'/>
<id>urn:sha1:9866eb8f31660052a145d9a52af50434ab1a5ab8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto::circuit: Move test-only methods into test module</title>
<updated>2024-07-29T16:15:06Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-07-29T15:53:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c24866a2eb35447f0eb7da212960bb1dc6cc261d'/>
<id>urn:sha1:c24866a2eb35447f0eb7da212960bb1dc6cc261d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto circuit tests: dedupe circid magic number</title>
<updated>2024-07-29T16:15:06Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-07-25T21:38:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a8245f5ae89eb7429db8e7d23bc0bddc15e9a6ec'/>
<id>urn:sha1:a8245f5ae89eb7429db8e7d23bc0bddc15e9a6ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto circuit test: Move  to tighter scope and shadow outer def</title>
<updated>2024-07-29T16:15:06Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-07-25T21:10:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d3be01bb4d6d3d035cd94bece2937687ea0beebe'/>
<id>urn:sha1:d3be01bb4d6d3d035cd94bece2937687ea0beebe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto circuit tests: delete stale commented-out test</title>
<updated>2024-07-29T16:15:06Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-07-25T19:51:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f9a21aca66ea000d1de140ae3713cce2718700c5'/>
<id>urn:sha1:f9a21aca66ea000d1de140ae3713cce2718700c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto circuit tests: fix some comment copy-pasta</title>
<updated>2024-07-29T16:15:06Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-07-25T19:50:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fe81ce174781e2238d5b35c0a306f9e526b3fd'/>
<id>urn:sha1:a5fe81ce174781e2238d5b35c0a306f9e526b3fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Return proper `Error::MissingId`</title>
<updated>2024-07-12T11:49:05Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2024-07-12T11:49:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a36d157be23f3498dd351efdadffa8ddfe6dbfad'/>
<id>urn:sha1:a36d157be23f3498dd351efdadffa8ddfe6dbfad</id>
<content type='text'>
This commit fixes a bug in the `ClientCirc::extend_ntor` function, which
currently returns a `Error::MissingId(Ed25519)` in the case that no RSA
identity has been found in the accompanying channel target.

This behavior is obviously wrong, because a missing RSA identity should
yield a `Error::MissingId(Rsa)`.
</content>
</entry>
</feed>
