<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/tor-circmgr/src/usage.rs, branch arti-v0.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-06-19T17:08:46Z</updated>
<entry>
<title>A little testing and refactgoring in tor-circmgr.</title>
<updated>2021-06-19T17:08:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-06-19T17:08:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89de6227b82a7f1080d04df017bac495995d0067'/>
<id>urn:sha1:89de6227b82a7f1080d04df017bac495995d0067</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Notes about badexit flag and opportunities for error</title>
<updated>2021-06-16T19:10:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-06-16T19:10:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=321fd79632b0d8cf0a3c537e7eddb637ea663bf3'/>
<id>urn:sha1:321fd79632b0d8cf0a3c537e7eddb637ea663bf3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tests for circmgr::usage</title>
<updated>2021-06-16T15:36:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-06-16T15:36:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d3f27716d9ece0e4a89599ec38ed6f4f8539bfad'/>
<id>urn:sha1:d3f27716d9ece0e4a89599ec38ed6f4f8539bfad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enormous tor-circmgr rewrite.</title>
<updated>2021-06-14T16:12:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-05-27T19:48:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83b1150c812f756b654727041111105f30bedab0'/>
<id>urn:sha1:83b1150c812f756b654727041111105f30bedab0</id>
<content type='text'>
As with the tor-chanmgr code, the circuit manager is now implemented
using an AbstractCircMgr type that uses traits to abstract the
particular behavior of other types that it uses.  (Specifically:
circuits, building circuits, and telling whether one circuit usage
is compatible with another.)  Abstracting out the dependencies in
this ways makes it possible to test the circuit manager without
having to actually build real circuits.

This commit also introduces new behavior for handling pending
circuit requests.  Upon getting a new request, first we check to see
if there's an existing circuit we can use.  If there isn't, we look
for pending circuits and wait for them.  If there aren't any pending
circuits we can use, we launch one or more, and wait for them.

So far, that's the same as the old behavior.  But here's a change:
if, while we are waiting for some pending circuits, a different
circuit is completed, and it's one we could use, then the task that
was building _that_ circuit will tell us: "please look at this
circuit".  This gives us better changes of getting a usable circuit
fast.

Minor changes:

* The Error type in CircMgr no longer uses anyhow; several errors
  have been simplified.

* We've gotten more formal about the relationship between circuit
  usage and target usage.
</content>
</entry>
<entry>
<title>cirmgr: Move  usage-related code into a submodule, and refactor.</title>
<updated>2021-06-03T00:01:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-06-02T17:39:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0b2c3ee285e6bffb3977673e63847d74c3e3689e'/>
<id>urn:sha1:0b2c3ee285e6bffb3977673e63847d74c3e3689e</id>
<content type='text'>
</content>
</entry>
</feed>
