<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/rpc.rs, branch ios-sqlite-hacks</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-06-15T15:50:12Z</updated>
<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: rename new_session to new_connection</title>
<updated>2023-06-15T15:15:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:15:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd134525fd48d0b18451019da63e62cbe70669ab'/>
<id>urn:sha1:bd134525fd48d0b18451019da63e62cbe70669ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: revise the relationship between Mgr and Connection</title>
<updated>2023-06-14T18:43:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-14T18:43:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=789953d8004e186e7c12dd39f310fbab6a267463'/>
<id>urn:sha1:789953d8004e186e7c12dd39f310fbab6a267463</id>
<content type='text'>
This adds a Weak reference from Connection to Mgr, makes DispatchTable
mutable, and makes a few other changes as discussed between me and
 Diziet the other week.

I bet we are not done tweaking this, but I hope it's a setp forwards.
</content>
</entry>
<entry>
<title>RPC: tell the `arti` SOCKS code about an RpcMgr object.</title>
<updated>2023-06-05T18:46:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-30T15:41:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f51bcb0beb61d6d4bcd316adc7e9833bd5278bd'/>
<id>urn:sha1:9f51bcb0beb61d6d4bcd316adc7e9833bd5278bd</id>
<content type='text'>
It will use this to find which TorClient to use when opening a
stream.
</content>
</entry>
<entry>
<title>rpc: Move Arc::new() to RpcMgr code.</title>
<updated>2023-06-05T18:45:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-25T12:19:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0b2511dd2b0a6478f5e89359ea497e84fe64b7a9'/>
<id>urn:sha1:0b2511dd2b0a6478f5e89359ea497e84fe64b7a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Start on plumbing TorClient into our RPC code</title>
<updated>2023-05-04T14:35:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-20T18:17:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7ab388faf96f53e7981e8307f51a16e7891627b'/>
<id>urn:sha1:d7ab388faf96f53e7981e8307f51a16e7891627b</id>
<content type='text'>
Because of #837, we won't be able to work with _every_ TorClient&lt;R&gt;,
so I'm only going to be using TorClient&lt;PreferredRuntime&gt; for now.
</content>
</entry>
<entry>
<title>RPC: Move the "listen" part of the RPC listener code to `arti`.</title>
<updated>2023-05-04T14:30:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-20T17:49:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=879a4532126fca59baa3a8e1764b1a1363ddeee5'/>
<id>urn:sha1:879a4532126fca59baa3a8e1764b1a1363ddeee5</id>
<content type='text'>
Now there's a module in `arti` that runs the loop for an RPC
listener.  The part of the old `listener` module that made
the framed connections is now part of the `Session` object.

There is now yet another a temporary location for the pipe; we
should pick something better.  At least now it's configurable.
</content>
</entry>
</feed>
