<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/conn/stream.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-06-09T15:36:01Z</updated>
<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 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>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>rpclib: Obey error Display convention wrt sources.</title>
<updated>2025-02-04T19:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-04T15:20:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c8f614faf5084c300a71b6e607a0b189df8830da'/>
<id>urn:sha1:c8f614faf5084c300a71b6e607a0b189df8830da</id>
<content type='text'>
In general, we try to obey the convention that an error's Display
method does not display that error's sources.

Part of #1650.
</content>
</entry>
<entry>
<title>rpclib: Avoid overuse of execute_internal_ok.</title>
<updated>2025-01-23T18:06:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-22T17:31:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0d9ebbfacb4636597f661f89bfc5f24975aa7cb7'/>
<id>urn:sha1:0d9ebbfacb4636597f661f89bfc5f24975aa7cb7</id>
<content type='text'>
The execute_internal_ok method converts every error response into an
internal error; as such, it's only appropriate when there is no way
for a well-behaved Arti instance to give an error response.
But we had been using it in a few places where errors were possible
under other circumstances.

This commit fixes that behavior, and adds documentation to help
avoid it.
</content>
</entry>
<entry>
<title>rpclib: Rename params/reply structs for consistency.</title>
<updated>2025-01-21T17:33:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-21T17:07:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5261146a20385d575f815533c2b92f4f34035799'/>
<id>urn:sha1:5261146a20385d575f815533c2b92f4f34035799</id>
<content type='text'>
Our now convention here in rpclib is that a struct holding a
request's parameters is called `FooParams`, and a struct holding
that request's reply is called `FooReply`.

Closes #1586
</content>
</entry>
<entry>
<title>Merge branch 'rpc-clean-up-after-auth' into 'main'</title>
<updated>2025-01-15T22:52:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-15T22:52:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ba29f1e7191997c9e8f255d1718f21cd5da3e37a'/>
<id>urn:sha1:ba29f1e7191997c9e8f255d1718f21cd5da3e37a</id>
<content type='text'>
rpclib: Clean up after performing cookie auth

See merge request tpo/core/arti!2716</content>
</entry>
<entry>
<title>rpclib: Clean up after performing cookie auth</title>
<updated>2025-01-15T19:58:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-15T19:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=794da10e7c485a9e962f7496d1a0b7344b92fb39'/>
<id>urn:sha1:794da10e7c485a9e962f7496d1a0b7344b92fb39</id>
<content type='text'>
Previously we never released the intermediary cookie-auth object,
which would have left it kicking around on the RPC server side
until we finally closed our connection.
</content>
</entry>
<entry>
<title>rpc: Rename new_stream_handle to new_oneshot_client.</title>
<updated>2025-01-15T19:44:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-15T19:26:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=314d2c07bcfc6645debda810014e9439d7f11f2b'/>
<id>urn:sha1:314d2c07bcfc6645debda810014e9439d7f11f2b</id>
<content type='text'>
This method doesn't actually create a new stream; it creates a
single-use client object that can be used with SOCKS to launch
a new stream, and capture an RPC object for that stream.

Closes #1664.
</content>
</entry>
<entry>
<title>rpc: Move "rpc:release" to be a method on the rpc object.</title>
<updated>2024-10-24T01:35:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-22T14:23:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fe1c2672d45391480a402b7cf3d2f75f4c23a2ac'/>
<id>urn:sha1:fe1c2672d45391480a402b7cf3d2f75f4c23a2ac</id>
<content type='text'>
Now, instead of telling the session or the connection to drop the
object ID, we tell the object ID to go away.

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