<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src/response.rs, branch arti-v2.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-12T12:10:03Z</updated>
<entry>
<title>dirclient: Add accessor for status message.</title>
<updated>2026-05-12T12:10:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-26T16:29:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f2aa05a5dd12e5d3e8c5b33c128dac80a004b6d'/>
<id>urn:sha1:3f2aa05a5dd12e5d3e8c5b33c128dac80a004b6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename DirResponse::from_body to from_get_body</title>
<updated>2026-03-04T15:41:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-09T10:22:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=04e8874058966f45a08558dc78b941ab7edc9b6b'/>
<id>urn:sha1:04e8874058966f45a08558dc78b941ab7edc9b6b</id>
<content type='text'>
This reflects that it is expected for an HTTP GET body.  It is okay
because it is only used in tor-dirmgr, which only performs GET request
anyways.
</content>
</entry>
<entry>
<title>tor-dirclient: Only fail on empty GET responses</title>
<updated>2026-03-04T15:41:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-09T10:20:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a10a7703b4417d6f219fc6b7b0452b416476112'/>
<id>urn:sha1:7a10a7703b4417d6f219fc6b7b0452b416476112</id>
<content type='text'>
This commit fixes the previous check to only fail on empty GET
responses.  For this, it introduces a `method` field into
`DirResponse`, which is required to determine the method there.

Doing this is reasonable for an HTTP client, as responses have different
meanings depending on the request method used.
</content>
</entry>
<entry>
<title>tor-dirclient: Disallow empty successful responses</title>
<updated>2026-03-04T15:41:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-05T16:07:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1eb0eb8620648c187de957dd66027ba762a08a88'/>
<id>urn:sha1:1eb0eb8620648c187de957dd66027ba762a08a88</id>
<content type='text'>
This commit disallows empty responses with a status code 200.

From a pure HTTP level, this is totally valid, but it does not make any
sense in the context of the Tor directory protocol, where an empty
response only makes sense with a 404.

The motivation for this is that a work-in-progress
tor_dirclient::send_request wrapper for tor-dirserver passes the
response into the parse2 multiple function which returns a Vec&lt;T&gt;.
Interfacing code would then always have to check for an empty length and
do respective error handling, which should already fail at an earlier
level (tor-dirclient) instead.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>dirclient: Use the new Tunnel interface (fmt).</title>
<updated>2025-08-05T18:23:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-07-17T15:32:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18da8b6f517e33514fe5439fc2bc956fda707a41'/>
<id>urn:sha1:18da8b6f517e33514fe5439fc2bc956fda707a41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: Use the new Tunnel interface</title>
<updated>2025-08-05T18:23:02Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-05-05T17:29:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f89c0b38df232e5c8aa87195fb075e528e883706'/>
<id>urn:sha1:f89c0b38df232e5c8aa87195fb075e528e883706</id>
<content type='text'>
This entirely removes the requirement on ClientCirc.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Rename last_hop to last_hop_info to fix name conflict</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-07-07T14:41:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9ccccf8cf42e51f0adc63c2a3c942b8bd1c35e8b'/>
<id>urn:sha1:9ccccf8cf42e51f0adc63c2a3c942b8bd1c35e8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: Make SourceInfo::from_circuit public.</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-18T17:01:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19cac3f79d82c6e9f79967d0688a073d8a23c446'/>
<id>urn:sha1:19cac3f79d82c6e9f79967d0688a073d8a23c446</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: refactor logic for constructing a SourceInfo from a circuit</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-18T16:55:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e1f32877520be58721182df5cd08df79135a617'/>
<id>urn:sha1:3e1f32877520be58721182df5cd08df79135a617</id>
<content type='text'>
1) It's the last hop that matters, not the first.

2) The last hop could conceivably be virtual, making the source anonymous.
   (Though this never happens in Arti today.)
</content>
</entry>
</feed>
