<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpcserver/src/lib.rs, branch arti-v1.1.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.1.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-04-12T20:21:34Z</updated>
<entry>
<title>rpc: Improve error reporting for invalid requests</title>
<updated>2023-04-12T20:21:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-12T19:59:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=767c91557e6b6bc5429f30b886f8a314df2ddf22'/>
<id>urn:sha1:767c91557e6b6bc5429f30b886f8a314df2ddf22</id>
<content type='text'>
This is a bit big, but it's not that _complicated_.

The idea here is that we use serde's "untagged" enum facility
when parsing our `Request`s, such that if parsing as a `Request`
fails, we parse as an `InvalidRequest` and try to report
what the problem was exactly.

This lets us determine the ID of a request (if it had one),
so we can report that ID in our error message.  We can also
recover from a much broader variety of errors.

We now also conform with the spec reporting errors about
completely wrong json, requests without IDs, and so on.
</content>
</entry>
<entry>
<title>rpc: Add standard warnings to arti-rpcserver</title>
<updated>2023-04-12T11:34:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-05T16:19:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ff68a5f02adda1fe41cba0eb5bfd3f602d3234f5'/>
<id>urn:sha1:ff68a5f02adda1fe41cba0eb5bfd3f602d3234f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: add a temporary "listen" function.</title>
<updated>2023-04-12T11:34:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-05T12:14:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f9de7929c1994df0a7cf3830eab0224a9246ccea'/>
<id>urn:sha1:f9de7929c1994df0a7cf3830eab0224a9246ccea</id>
<content type='text'>
It requires tokio, it's unix-only, and makes some unfortunate
shortcuts.  Probably good enough for initial testing.
</content>
</entry>
<entry>
<title>rpc: Add a Session object and an interaction loop.</title>
<updated>2023-04-12T11:34:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-29T17:51:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6e3f3b4dfc2568534b2db092d608d12b31866ca8'/>
<id>urn:sha1:6e3f3b4dfc2568534b2db092d608d12b31866ca8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Add asynchronous_codec wrapper for jsonlines.</title>
<updated>2023-04-12T11:34:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-29T16:25:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5247486cfce40ef62485d4b12b2ffe05849d5b2c'/>
<id>urn:sha1:5247486cfce40ef62485d4b12b2ffe05849d5b2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Add a cancellable future type.</title>
<updated>2023-04-12T11:34:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-29T15:45:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a662fb1296e0ab9db3092f7e378ea8698c7e2e09'/>
<id>urn:sha1:a662fb1296e0ab9db3092f7e378ea8698c7e2e09</id>
<content type='text'>
Ordinarily you can cancel a future just by dropping it, but we'll
want the ability to cancel futures that we no longer own (because we
gave them to a `FuturesUnordered`).
</content>
</entry>
<entry>
<title>rpc: Implement json message types for serde.</title>
<updated>2023-04-12T11:34:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-29T15:20:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0779d405cfbfba75837f6bbe0329e5f920c45640'/>
<id>urn:sha1:0779d405cfbfba75837f6bbe0329e5f920c45640</id>
<content type='text'>
</content>
</entry>
</feed>
