<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src, 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>tor-hsservice: Recreate the file watcher on every key_dir change event.</title>
<updated>2024-08-27T13:35:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-27T10:48:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=59bd96ddcc073880655bd9ee18c60c85df01ae82'/>
<id>urn:sha1:59bd96ddcc073880655bd9ee18c60c85df01ae82</id>
<content type='text'>
This ensures that if a directory used as a `key_dir` is moved (e.g.
renamed), and then moved back to its original location (the one
specified in `key_dirs`), our watcher continues watching the `key_dirs`
contents.
</content>
</entry>
<entry>
<title>tor-config: Rename watch_file to watch_path.</title>
<updated>2024-08-27T13:35:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-27T11:30:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5619aa0ed22a2421defa53189564baea24a0bf16'/>
<id>urn:sha1:5619aa0ed22a2421defa53189564baea24a0bf16</id>
<content type='text'>
`FileWatcher::watch_file` can be used with arbitrary paths.
</content>
</entry>
<entry>
<title>tor-hsservice: Make sure we always watch the parents of the key_dirs.</title>
<updated>2024-08-27T13:35:11Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-27T11:24:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6de13a8b96892e40041f773b5e937e323a087b2e'/>
<id>urn:sha1:6de13a8b96892e40041f773b5e937e323a087b2e</id>
<content type='text'>
This ensures that if a `key_dir` is created after we start watching it
(or if it's moved), we are still able to detect changes.
</content>
</entry>
<entry>
<title>tor-hsservice: Always recreate the file watcher if the config changes.</title>
<updated>2024-08-27T13:08:38Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-22T14:59:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=973a1c171475cf1a79e8fa13e2eb80f25914324c'/>
<id>urn:sha1:973a1c171475cf1a79e8fa13e2eb80f25914324c</id>
<content type='text'>
While this means we will be recreating the watcher slightly more often
than necessary, this new approach is less error-prone than what we had
before.
</content>
</entry>
<entry>
<title>tor-hsservice: Add a TODO about rethinking publish rate-limiting.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-20T11:22:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcd939c18fa3918c741bb341ec840a12fc9791b4'/>
<id>urn:sha1:dcd939c18fa3918c741bb341ec840a12fc9791b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservive: Document how restricted discovery live reloading works.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-20T10:46:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cd65f60be9d04b75e989889f739eb7249dee7504'/>
<id>urn:sha1:cd65f60be9d04b75e989889f739eb7249dee7504</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Remove a TODO that is no longer relevant.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-20T10:29:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=438b7b24d54feeb140055715e73e54eb5c3f8871'/>
<id>urn:sha1:438b7b24d54feeb140055715e73e54eb5c3f8871</id>
<content type='text'>
This is now implemented.
</content>
</entry>
<entry>
<title>tor-hsservice: Add TODO about updating publisher status on error.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-19T10:59:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cb7184e3033ac399fd5f34b31e39cb6bad58fbe5'/>
<id>urn:sha1:cb7184e3033ac399fd5f34b31e39cb6bad58fbe5</id>
<content type='text'>
This is a general issue with the publisher that will need to be
addressed soon.
</content>
</entry>
<entry>
<title>tor-hsservice: Update the authorized_clients and watcher when the config changes.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-13T15:36:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1e79c6faa491ded423b626edf0937e94cbf447c5'/>
<id>urn:sha1:1e79c6faa491ded423b626edf0937e94cbf447c5</id>
<content type='text'>
</content>
</entry>
</feed>
