<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirpublish/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-07-30T15:20:05Z</updated>
<entry>
<title>tor-dirpublish: change `Uploader::upload()` to not require `Arc`</title>
<updated>2026-07-30T15:20:05Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-27T22:46:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5e18bcd7dcbd3bb11248f08e1415c86da799080c'/>
<id>urn:sha1:5e18bcd7dcbd3bb11248f08e1415c86da799080c</id>
<content type='text'>
I was a bit confused as to why `Uploader::upload()` required an
`Arc&lt;Self&gt;`, and after looking at the code it appears that this `Arc`
isn't needed anywhere outside of the `PublishReactor`.

Instead `Uploader::upload()` now takes a `&amp;self` instead of `Arc&lt;Self&gt;`.
</content>
</entry>
<entry>
<title>tor-rtcompat+misc: add `NetStreamProvider::ConnectOptions`</title>
<updated>2026-06-08T16:55:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-26T20:57:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=926c7a5449e29e2d652431a2406e7acae59bed50'/>
<id>urn:sha1:926c7a5449e29e2d652431a2406e7acae59bed50</id>
<content type='text'>
This adds the trait type `ConnectOptions` to `NetStreamProvider` and adds
this `ConnectOptions` as an argument to `NetStreamProvider::connect()`.

You probably want to look at the changes in tor-rtcompat first, then the
rest of this commit is updating the various places we use
`NetStreamProvider`.
</content>
</entry>
<entry>
<title>dirpublish: Rename and clarify "permanent failure" error.</title>
<updated>2026-05-12T12:11:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-11T14:35:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=580580affbb59a68781269c8ed4047a9be6baeb2'/>
<id>urn:sha1:580580affbb59a68781269c8ed4047a9be6baeb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New `tor-dirpublish` crate to handle uploading documents.</title>
<updated>2026-05-12T12:11:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-27T16:07:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d2ebc1a1fa406147611c897bb0c098b549f00bd5'/>
<id>urn:sha1:d2ebc1a1fa406147611c897bb0c098b549f00bd5</id>
<content type='text'>
This crate is a generalization of the logic for uploading we
currently have in tor-hsservice to handle uploading a (possibly
changing) document to a (possibly changing) list of targets.
It supports different kinds of documents, different kinds of
document targets, and different ways to upload.

Currently only direct HTTP uploads are supported;
we can add others in the future (and we'll have to,
for bridges and onion services.)

Closes #2499.
</content>
</entry>
</feed>
