<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpcserver/src/session.rs, branch arti-v1.2.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-07-28T21:48:35Z</updated>
<entry>
<title>Mark a struct as allowed-to-be-unused.</title>
<updated>2024-07-28T21:48:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-28T21:47:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b3dd3960fb25925718391852d94b275a204b269e'/>
<id>urn:sha1:b3dd3960fb25925718391852d94b275a204b269e</id>
<content type='text'>
(This will either become used later, or we will remove it;
the TODO RPC will remind us.)
</content>
</entry>
<entry>
<title>rpc: Refactor errors part 1: a new RpcMethod trait.</title>
<updated>2024-07-25T12:43:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T17:23:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c7c630c44d9e937d7185f591d75fd42c33ab5238'/>
<id>urn:sha1:c7c630c44d9e937d7185f591d75fd42c33ab5238</id>
<content type='text'>
It is no longer necessary to say, for every RPC method,
that its error type is RpcError.
</content>
</entry>
<entry>
<title>Several typo fixes from Gabi</title>
<updated>2024-06-11T21:02:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-11T20:59:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5a2fb68b19d71b4bd477aa08005f08e05d5438ad'/>
<id>urn:sha1:5a2fb68b19d71b4bd477aa08005f08e05d5438ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Use RPC methods instead of the "ClientConnectionTarget" trait.</title>
<updated>2024-06-11T21:02:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-04T17:22:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c07455965fd201ec66631e649a10660e5955e47c'/>
<id>urn:sha1:c07455965fd201ec66631e649a10660e5955e47c</id>
<content type='text'>
On its own, this might not seem like a huge improvement, but it will
later let us implement these RPC methods for types that can't
reasonably implement ClientConnectionTarget.

It also serves as a proof of concept that special-method invocation
can actually work, so that we can build things like this in cases
where introducing a trait isn't practical.

Closes #1427
</content>
</entry>
<entry>
<title>rpc: Pass around our rpc::Context in an Arc.</title>
<updated>2024-06-10T14:33:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-04T15:31:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=acdc2cbe0bc54141e33da320a9551fbcf2e1d7fc'/>
<id>urn:sha1:acdc2cbe0bc54141e33da320a9551fbcf2e1d7fc</id>
<content type='text'>
Formerly we used a Box.  That was okay at first, but now that we
want RPC methods to be able to invoke other RPC methods, we don't
want the Invocable methods to have to consume the Context.

This requires that Context become Sync.
</content>
</entry>
<entry>
<title>RPC: Require an Error type in methods.</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:19:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98765e5a4cdf70356db38d324b0896d2b6f83c2f'/>
<id>urn:sha1:98765e5a4cdf70356db38d324b0896d2b6f83c2f</id>
<content type='text'>
This is needed so that we can cast special methods' return types
properly.

I wish I could make this optional, but Rust doesn't allow
defaulting an associated type.
</content>
</entry>
<entry>
<title>RPC: Use RPC method names in a consistent format.</title>
<updated>2024-05-14T13:33:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T13:33:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24efb91741ba1acc139207ee805d385240f8c393'/>
<id>urn:sha1:24efb91741ba1acc139207ee805d385240f8c393</id>
<content type='text'>
Specifically, we want a single colon, and we want our
method names to be in snake_case.
</content>
</entry>
<entry>
<title>RPC: Add a trait that can be the target of SOCKS requests</title>
<updated>2024-05-12T17:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-09T22:54:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a20973afe602d5977fd686f6e005c13a1e9d5100'/>
<id>urn:sha1:a20973afe602d5977fd686f6e005c13a1e9d5100</id>
<content type='text'>
(These will later become objects that can receive any application
request, once we have HTTP connect.)

For now, Session and TorClient implement this trait;
but soon there will be a new type to hold on to the created
DataStreamCtrl.

There are some XXXXs here, marking code that is too ugly to live.
I should fix it before I merge this branch.
</content>
</entry>
<entry>
<title>RPC: Un-parameterize RpcSession.</title>
<updated>2024-05-09T20:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-09T20:29:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f7cef4bb0e7fe0ad46d87a3deea58addccd6ed7b'/>
<id>urn:sha1:f7cef4bb0e7fe0ad46d87a3deea58addccd6ed7b</id>
<content type='text'>
Instead, add a trait so that we can hold TorClient&lt;R&gt; and invoke
only the methods on it that we need.

This is a partial revert of 47f012829d3381fd896c6b6f20961fbfe2f40f6d.
</content>
</entry>
<entry>
<title>rpc: Teach RpcSession to expose and isolate clients.</title>
<updated>2024-05-09T20:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-06T18:15:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a57b0e7b95b92bcd6faccfad019a075b513da990'/>
<id>urn:sha1:a57b0e7b95b92bcd6faccfad019a075b513da990</id>
<content type='text'>
</content>
</entry>
</feed>
