<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/replay.rs, branch arti-v1.1.13</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<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: Drop now-unused fslock dependency</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:52:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa943898292e3110cba343064b2f48ad9f661a25'/>
<id>urn:sha1:fa943898292e3110cba343064b2f48ad9f661a25</id>
<content type='text'>
We're just using fslock-guard now.
</content>
</entry>
<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>test-temp-dir: New crate</title>
<updated>2024-01-25T16:40:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-25T16:28:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f8e218ca508697c43fd7e7a1a00f44c2d5f3ff35'/>
<id>urn:sha1:f8e218ca508697c43fd7e7a1a00f44c2d5f3ff35</id>
<content type='text'>
Introduce the crate, move the code motion, and make minimal necessary
changes.
</content>
</entry>
<entry>
<title>tor-hsservice: replay: partial write test - commentary</title>
<updated>2024-01-25T15:05:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-25T14:47:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ee077e41a032b85c6c15ebb5e69a65cb272392e'/>
<id>urn:sha1:2ee077e41a032b85c6c15ebb5e69a65cb272392e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: replay: partial write test</title>
<updated>2024-01-25T14:13:27Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-25T12:49:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=67632cc54b67728ecdbd932ab902212208d4b4d0'/>
<id>urn:sha1:67632cc54b67728ecdbd932ab902212208d4b4d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: replay: partial write test, skeleton</title>
<updated>2024-01-25T14:13:27Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-25T10:35:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=594f2d7f7017e44d75349defee4b65f576a75818'/>
<id>urn:sha1:594f2d7f7017e44d75349defee4b65f576a75818</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test_temp_dir: Split up .used_by</title>
<updated>2024-01-25T14:12:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-25T11:40:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ecad2d7b4ddd365dee3fb3d05772b38a5627aac'/>
<id>urn:sha1:3ecad2d7b4ddd365dee3fb3d05772b38a5627aac</id>
<content type='text'>
This method combined two things:
 1. the lifetime guard API
 2. creation of a subdirectory.

2 is available in raw form too, but not 1.  So rename the combined
method to .subdir_used_by and implement it in terms of a new .used_by
which doesn't make a subdirectory.
</content>
</entry>
<entry>
<title>tor-hsservice: Recover from partial writes</title>
<updated>2024-01-25T14:12:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-24T19:41:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=de28cfaff3b3c7cd2dfb98003882e3ff36a9ced4'/>
<id>urn:sha1:de28cfaff3b3c7cd2dfb98003882e3ff36a9ced4</id>
<content type='text'>
Fixes #1207.
</content>
</entry>
<entry>
<title>tor-hsservice: replay: Introduce an EH IEFE (fmt)</title>
<updated>2024-01-25T14:12:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-24T19:40:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=71fd688f663013150bcd31b08d8abb5e7c4cdb1b'/>
<id>urn:sha1:71fd688f663013150bcd31b08d8abb5e7c4cdb1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: replay: Introduce an EH IEFE</title>
<updated>2024-01-25T14:12:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-24T19:36:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9235a6a5f38be85c39501bfcecb02f7ae08a1c9d'/>
<id>urn:sha1:9235a6a5f38be85c39501bfcecb02f7ae08a1c9d</id>
<content type='text'>
We're going to want to do more things here, all of which want the same
error handling.
</content>
</entry>
</feed>
