<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpcserver/src/connection.rs, branch arti-v1.2.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-05-16T12:40:06Z</updated>
<entry>
<title>RPC: Expose dispatch table from Context</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:52:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=533b34a55b268ec73ac032dd8e3d360f2d43b985'/>
<id>urn:sha1:533b34a55b268ec73ac032dd8e3d360f2d43b985</id>
<content type='text'>
We need to do this so that we can actually invoke RPC functions
from one another.
</content>
</entry>
<entry>
<title>rpc: Move typetag onto subtrait of DynMethod</title>
<updated>2024-05-16T12:40:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T15:21:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0e8608ba76f61a401040c8f762b99e5f3965d8e8'/>
<id>urn:sha1:0e8608ba76f61a401040c8f762b99e5f3965d8e8</id>
<content type='text'>
This will allow us to create dispatchable methods that are only
invoked from inside the arti code, and are not themselves
serializable.
</content>
</entry>
<entry>
<title>rpcserver: rename streams.rs to codecs.rs.</title>
<updated>2024-05-09T20:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-07T19:07:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=86b04a3f12eb145b012541ad69af966966f0b3c8'/>
<id>urn:sha1:86b04a3f12eb145b012541ad69af966966f0b3c8</id>
<content type='text'>
I think I'm going to add another stream management module here.
</content>
</entry>
<entry>
<title>Refactor: remove existence of HasConstTypeId_ as a trait</title>
<updated>2024-04-08T13:00:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-08T12:51:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5155e9add7b0f94a8d95eae257c9c2a3e64d5566'/>
<id>urn:sha1:5155e9add7b0f94a8d95eae257c9c2a3e64d5566</id>
<content type='text'>
We don't actually need this to be a trait; we just need
methods and objects to have a `CONST_TYPE_ID_` if they want to
participate in the inventory-based method registry.

Removing this trait makes it much simpler to declare methods and
objects.
</content>
</entry>
<entry>
<title>Port many of the macros in tor-rpcbase to use derive-deftly.</title>
<updated>2024-04-04T20:42:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-04T20:04:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66cfabc442bfc1779a4748b89d0be2d51f908fc9'/>
<id>urn:sha1:66cfabc442bfc1779a4748b89d0be2d51f908fc9</id>
<content type='text'>
This simplifies our implementation logic in a few places,
and simplifies our invocation syntax greatly.  There are a few
infelicities, noted in `TODO RPC` comments.
</content>
</entry>
<entry>
<title>rpc: Expand and clarify and cross-reference lock hierarchy</title>
<updated>2023-06-16T16:48:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-16T16:48:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ceaa70f41a71239e935afe24651a8b0d25e6f937'/>
<id>urn:sha1:ceaa70f41a71239e935afe24651a8b0d25e6f937</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Document relationship between `Connection` and `RpcSession`</title>
<updated>2023-06-16T16:48:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-16T16:07:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0460a4a4d806e07b82bbd9747885a62593a0229d'/>
<id>urn:sha1:0460a4a4d806e07b82bbd9747885a62593a0229d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Give the session-creation function an argument.</title>
<updated>2023-06-15T15:50:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:50:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9e8ad5415edfa6d422b6b91375b6723ce9da5704'/>
<id>urn:sha1:9e8ad5415edfa6d422b6b91375b6723ce9da5704</id>
<content type='text'>
This will later let us tell the session-creation function
how the authentication occurred, which will let it decide
what privileges to provide.
</content>
</entry>
<entry>
<title>rpc: revise session initialization a lot.</title>
<updated>2023-06-15T15:44:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:40:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d28402fb796d89277079e6745f4a2908ac0c23a'/>
<id>urn:sha1:2d28402fb796d89277079e6745f4a2908ac0c23a</id>
<content type='text'>
Formerly, every time we wanted to launch a new connection, we had
to give the RpcMgr a TorClient.  The connection would hold that
TorClient until a session was authenticated, and then would wrap
it in a Session and put it in the object map.

Now, the RpcMgr holds a Box&lt;dyn Fn()...&gt; that knows how to
create Sessions.  When a connection is authenticated, it
asks the Mgr to make it a new session.  This lets us make it
clearer that the TorClient simply can't be given out until the
connection is authenticated.  Later, it will let us create
more types of Session objects under more complicated rules.
</content>
</entry>
<entry>
<title>rpc: connection_id _is_ used: remove a comment to the contrary</title>
<updated>2023-06-14T18:46:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-14T18:46:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66a72370d123cdff117c812ca6f92e988a26227e'/>
<id>urn:sha1:66a72370d123cdff117c812ca6f92e988a26227e</id>
<content type='text'>
</content>
</entry>
</feed>
