<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirserver/src/http.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-08-12T15:15:51Z</updated>
<entry>
<title>tor-dirserver: Disallow non GET methods</title>
<updated>2026-08-12T15:15:51Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-08-12T15:15:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ba3504fd27ac1f95a2b071e8f0bf8381b9479df'/>
<id>urn:sha1:7ba3504fd27ac1f95a2b071e8f0bf8381b9479df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirserver: Improve empty body check</title>
<updated>2026-08-12T15:11:37Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-08-12T15:11:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62f10147ebbd12787277d88c8119a72cdefa82a6'/>
<id>urn:sha1:62f10147ebbd12787277d88c8119a72cdefa82a6</id>
<content type='text'>
This commit improves the empty body check by failing if it has happened.
</content>
</entry>
<entry>
<title>tor-dirserver: Support DirBackendPlugin kludge</title>
<updated>2026-08-12T12:56:16Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-08-12T12:56:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83144aaf97ac5580a1cb4a98506a3103d31e617b'/>
<id>urn:sha1:83144aaf97ac5580a1cb4a98506a3103d31e617b</id>
<content type='text'>
This commit adds support for the directory backend plugin kludge by
adding a new wrapper struct called `DirMirrorWithBackend`.

It also moves http-body-util from a development dependency to a real
dependency, as this makes working with hyper a lot more comfortable.
</content>
</entry>
<entry>
<title>tor-dirserver: fix tests on OpenBSD</title>
<updated>2026-08-05T18:57:30Z</updated>
<author>
<name>Andrew Kloet</name>
<email>andrew@kloet.net</email>
</author>
<published>2026-08-05T18:57:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c40cd3ce49b6cd3774379cef25230b8b6b34ead9'/>
<id>urn:sha1:c40cd3ce49b6cd3774379cef25230b8b6b34ead9</id>
<content type='text'>
Use an IPv6 loopback address instead of the unspecified address when
creating test servers. The address returned by binding to [::]:0 is not
valid as a connection target on OpenBSD.
</content>
</entry>
<entry>
<title>Much formatting churn for 2024 edition</title>
<updated>2026-07-22T12:25:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-22T12:25:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e64263b921638ceb9c6adf3967fdde39e0a73db2'/>
<id>urn:sha1:e64263b921638ceb9c6adf3967fdde39e0a73db2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove now-unneeded allow(clippy::cognitive_complexity)</title>
<updated>2026-07-15T18:05:29Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T18:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4c00405e703b6e274af2e3cfb000cab5a7c7837'/>
<id>urn:sha1:e4c00405e703b6e274af2e3cfb000cab5a7c7837</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2026-03-24T16:04:08Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-24T16:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fb2b8dd4aee7c943ce90d6631be473f2a296fe6'/>
<id>urn:sha1:1fb2b8dd4aee7c943ce90d6631be473f2a296fe6</id>
<content type='text'>
Typos found with codespell
</content>
</entry>
<entry>
<title>dirserver: Allow clippy::unused_async</title>
<updated>2026-01-27T19:11:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-27T18:28:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3599bd9e56864ae220d7c2126b1e1a66cded9d8b'/>
<id>urn:sha1:3599bd9e56864ae220d7c2126b1e1a66cded9d8b</id>
<content type='text'>
This code is still WIP, no need to address the lint yet.
</content>
</entry>
<entry>
<title>tor-dirserver: Remove FromStr for DocumentId</title>
<updated>2026-01-22T15:20:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-22T15:20:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e17869b7bc0e7c674d5d770aec8c5cd120246a4c'/>
<id>urn:sha1:e17869b7bc0e7c674d5d770aec8c5cd120246a4c</id>
<content type='text'>
This commit removes FromStr for DocumentId because it was only used in
testing anyways.

Instead, it replaces it with a simple From&lt;[u8; 32]&gt; only enabled in
test builds, which is sufficient for what we are trying to do.

An alternative would be to make the inner field pub, but this seems to
aggressive for a testing only thing.
</content>
</entry>
</feed>
