<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/ipt_set.rs, branch arti-v1.2.0</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.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-01T11:21:44Z</updated>
<entry>
<title>tor-hsservice: Use tor_persist::state_dir</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T15:42:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4a7f0fca0d231eb9c0298b78deee9ed3c1bbc7e'/>
<id>urn:sha1:b4a7f0fca0d231eb9c0298b78deee9ed3c1bbc7e</id>
<content type='text'>
We no longer do replay log locking in IptManager::new.  Instead, we
rely on the acquire_instance call in OnionService::launch, which ends
up with ipt_mgr getting an InstanceHandle (which contains a lock
guard).

OnionServiceStateMgr is abolished; it existed to deal with the
generics in the tor_persist::StateMgr API.  state_dir has no
generics (other than the T being loaded/stored).

Many places (structs and argument lists) now have state_dir types
which embody a path (or a CheckeDir) along with a lock, rather than
separate path+lock+mistrust.

The creation/startup code uses the new calls from state_dir.

Other more minor changes:
 - StartupError::StateDirectoryInaccessible contains tor_persist::Error
 - test::create_storage_handles_from_state_dir changed and renamed,
   from _from_state_mgr.
 - replay::PersistFile's (separate) file lock is now fslock_guard's
</content>
</entry>
<entry>
<title>tor-hsservice: tests: create_storage_handles: use a real directory</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T14:57:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b119723c5ad09160ee920b289c3508a313f4a8bc'/>
<id>urn:sha1:b119723c5ad09160ee920b289c3508a313f4a8bc</id>
<content type='text'>
state_dir doesn't have the in-memory dummy implementation,
so there will have to be a real directory here.

Do that now, as prep.
</content>
</entry>
<entry>
<title>tor-hsservice: storage: Move Arcs into type aliases</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T12:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03825a0ccccf33940c4812d213e1ea00410c39d2'/>
<id>urn:sha1:03825a0ccccf33940c4812d213e1ea00410c39d2</id>
<content type='text'>
These are here because that's what you get from the tor_persist
singleton StageMgr API (for type erasure reasons).  We're going to
change these to tor_persist::state_dir types and those don't involve
Arcs.
</content>
</entry>
<entry>
<title>tor-hsservice: ipt_set: Make store method take &amp;mut self</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T12:33:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90ef0de5d3769e78ee460e60aca94f30f118fe87'/>
<id>urn:sha1:90ef0de5d3769e78ee460e60aca94f30f118fe87</id>
<content type='text'>
Only people who can mutate the state ought to be saving it.  Otherwise
there might be concurrent overwrites.
</content>
</entry>
<entry>
<title>Base INTRO_POINT_EXPIRY_SLOP on OVERALL_UPLOAD_TIMEOUT.</title>
<updated>2024-01-25T16:37:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-25T16:37:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ec769a8aed5972f92283cdb4a98724b5ec6e569c'/>
<id>urn:sha1:ec769a8aed5972f92283cdb4a98724b5ec6e569c</id>
<content type='text'>
See discussion at #1210, "question 5".
</content>
</entry>
<entry>
<title>Merge branch 'ratelim' into 'main'</title>
<updated>2024-01-11T17:08:45Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-11T17:08:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6304630e8952b896496fd5e50339cafe556302a'/>
<id>urn:sha1:f6304630e8952b896496fd5e50339cafe556302a</id>
<content type='text'>
tor-hsservice: todos: Use log_ratelim at one call site

See merge request tpo/core/arti!1871</content>
</entry>
<entry>
<title>tor-hsservice: todos: Use log_ratelim at one call site</title>
<updated>2024-01-11T15:31:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-11T15:31:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3bce1d5a03b65de6f3389f84e710000399cabd67'/>
<id>urn:sha1:3bce1d5a03b65de6f3389f84e710000399cabd67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: todos: Remove a done TODO</title>
<updated>2024-01-11T15:23:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-11T15:23:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3dd0a46dd797645db1cb64a7980c2533655ffb1f'/>
<id>urn:sha1:3dd0a46dd797645db1cb64a7980c2533655ffb1f</id>
<content type='text'>
The call to `load` is right there!
</content>
</entry>
<entry>
<title>tor-hsservice: todos: Add another parameter to the ticket</title>
<updated>2024-01-11T15:22:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-11T15:22:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b295b30345d23f62597dbb30a9c8e833efb93731'/>
<id>urn:sha1:b295b30345d23f62597dbb30a9c8e833efb93731</id>
<content type='text'>
This is a MUST ticket.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-01-08T18:19:11Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-01-04T18:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4eb54be0657862f5d56b047c16c08dabde6a7377'/>
<id>urn:sha1:4eb54be0657862f5d56b047c16c08dabde6a7377</id>
<content type='text'>
</content>
</entry>
</feed>
