<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/builder.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-28T16:47:22Z</updated>
<entry>
<title>arti-client: Document the unspecified behavior of create_inert().</title>
<updated>2024-08-28T16:47:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-28T13:26:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8e6dfc5703b1947ab7b87719f25879da30f75670'/>
<id>urn:sha1:8e6dfc5703b1947ab7b87719f25879da30f75670</id>
<content type='text'>
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2370#note_3066621
</content>
</entry>
<entry>
<title>arti-client: Add an InertTorClient for accessing client state (fmt).</title>
<updated>2024-08-28T16:47:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-27T14:20:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aa72f0c59e17f939d16c6fc4663df21fdb00c2dc'/>
<id>urn:sha1:aa72f0c59e17f939d16c6fc4663df21fdb00c2dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-client: Add an InertTorClient for accessing client state.</title>
<updated>2024-08-28T16:47:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-27T14:16:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d99be523d4a0237c19ae3a25c24f0481934f51ef'/>
<id>urn:sha1:d99be523d4a0237c19ae3a25c24f0481934f51ef</id>
<content type='text'>
Implements the `TorClientThatIsntRunning` mentioned in !2314 (see also
`doc/dev/notes/keymgr-porcelain.md`), except `TorClientThatIsntRunning`
is called `InertTorClient`.

This commit is mostly code motion: I've moved the `create_keymgr`
function and the impls of `generate_service_discovery_key` and
`get_service_discovery_key` from `TorClient` to `InertTorClient`.

The `InertTorClient` advertises itself as a handle for accessing the
keystores and other persistent state, but it currently only has 2
functions (`generate_service_discovery_key` and
`get_service_discovery_key`). I expect it will grow additional
functionality in the future.
</content>
</entry>
<entry>
<title>Resolve a rustdoc warning.</title>
<updated>2024-06-24T13:30:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-24T13:29:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=197a0976fdc344ae9a5f161129854f0ca457d681'/>
<id>urn:sha1:197a0976fdc344ae9a5f161129854f0ca457d681</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a maximum to local_resource_timeout.</title>
<updated>2024-06-24T12:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-18T14:01:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c3f967dbe101e3d6cda88cff56df6ae7954c54ad'/>
<id>urn:sha1:c3f967dbe101e3d6cda88cff56df6ae7954c54ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>local_resource_timeout: Change wait interval to 50 ms.</title>
<updated>2024-06-24T12:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-12T19:18:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ed129965a893a6c544ea0ed42852031f0a9ce3c'/>
<id>urn:sha1:3ed129965a893a6c544ea0ed42852031f0a9ce3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename fslock_timeout to local_resource_timeout</title>
<updated>2024-06-24T12:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-12T19:16:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=da9526e2128c317c61dc7fd4098a9144659445b8'/>
<id>urn:sha1:da9526e2128c317c61dc7fd4098a9144659445b8</id>
<content type='text'>
Name chosen to match the error kind that we're detecting.
</content>
</entry>
<entry>
<title>Clarify documentation about blocking.</title>
<updated>2024-06-24T12:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-12T19:04:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5b808e5e0d38f5c3c48af5b2bd1456d0764ddd2e'/>
<id>urn:sha1:5b808e5e0d38f5c3c48af5b2bd1456d0764ddd2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TorClientBuilder: Wait for a little while if the lockfiles are held.</title>
<updated>2024-06-24T12:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-11T14:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6fd5145762d9fb74f4b2fd6b48ad0ac4eb530087'/>
<id>urn:sha1:6fd5145762d9fb74f4b2fd6b48ad0ac4eb530087</id>
<content type='text'>
This commit adds a parameter to TorClientBuilder that control how long
we should retry constructing a TorClient if we get a
LocalResourceInUse error.  When this parameter is not set, we
default to 500 milliseconds for async entry points and 0
milliseconds for sync entry points.

(`LocalResourceInUse` usually means that a lockfile is held by
somebody else; but when the resource is some other type, we
typically want the same behavior anyway.)

(I really don't want to introduce delays by default for the
create_unbootstrapped case, since it previously had no delay at
all.)

There is now also an async entry point to create an unbootstrapped
TorClient.

Closes #1464.
</content>
</entry>
<entry>
<title>TorClientBuilder: take self by reference when building</title>
<updated>2024-06-24T12:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-11T14:27:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b71afdeca631c5a889f0bd27cd02ee3b83f45bdd'/>
<id>urn:sha1:b71afdeca631c5a889f0bd27cd02ee3b83f45bdd</id>
<content type='text'>
There is no actual reason to consume this type, and taking it by
reference allows us to retry.
</content>
</entry>
</feed>
