<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpcserver/src, branch arti-v1.2.7</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.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-28T14:27:46Z</updated>
<entry>
<title>extract tor_async_utils::oneshot into ::oneshot-fused-workaround</title>
<updated>2024-08-28T14:27:46Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-22T19:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f7f01092e6ac55e3e958dc3a2228b1d36e26a1'/>
<id>urn:sha1:46f7f01092e6ac55e3e958dc3a2228b1d36e26a1</id>
<content type='text'>
Having this in the `tor-async-utils` crate prevents us from doing both
of the following without introducing a circular dependency:

* using it in `tor-rtmock` (which we currently do, particularly in
  tests).
* using `tor-rtmock` to test things in `tor-async-utils`. We don't do
  this yet, but it is generally sensible to do so. In particular we
  want to move the `stream_peak` module there, which is currently tested
  with `tor-rtmock`.

Moving this into its own crate avoids this circular dependency.
</content>
</entry>
<entry>
<title>rpcserver: Fix a trivial doc typo.</title>
<updated>2024-08-28T13:00:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-07T19:20:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=47c722a726736766166c9b0fe957808527878d95'/>
<id>urn:sha1:47c722a726736766166c9b0fe957808527878d95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpcserver: Use slotmap-careful instead of generational-arena.</title>
<updated>2024-08-14T16:31:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-14T16:26:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=78ad0f7a3afe0a2adcdff3a2624e726ada5978d2'/>
<id>urn:sha1:78ad0f7a3afe0a2adcdff3a2624e726ada5978d2</id>
<content type='text'>
Unlike generational-arena, slotmap is maintained.

Unlike slotmap, slotmap-careful should never be able to reuse the
same key for two different objects.

Closes #1282.
</content>
</entry>
<entry>
<title>Merge branch 'rpc-connection-error' into 'main'</title>
<updated>2024-08-13T15:13:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-13T15:13:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9d6fef88e2eb78fe81badc30dfeb05dbdc9a2c1'/>
<id>urn:sha1:d9d6fef88e2eb78fe81badc30dfeb05dbdc9a2c1</id>
<content type='text'>
rpcserver: use more sophisticated handling for ConnectionError.

Closes #1517

See merge request tpo/core/arti!2335</content>
</entry>
<entry>
<title>rpcserver: use more sophisticated handling for ConnectionError.</title>
<updated>2024-08-13T01:27:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-13T01:27:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e0c62da453dec6bacae586d4dac940beff61e94'/>
<id>urn:sha1:4e0c62da453dec6bacae586d4dac940beff61e94</id>
<content type='text'>
In general, we don't want to return a ConnectionError for a simple
EOF condition; we only want to report an error when there's an
actual failure.

Also, it's a good idea to capture the actual error return conditions
that we get from aynchronous_codecs, rather than throwing them away
as we did before.

Closes #1517.
</content>
</entry>
<entry>
<title>Unstable RPC method to dump method information.</title>
<updated>2024-08-13T00:27:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-12T16:34:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d2315c10e40d54d2b930bfc66e2ee2666eb3e5a'/>
<id>urn:sha1:8d2315c10e40d54d2b930bfc66e2ee2666eb3e5a</id>
<content type='text'>
</content>
</entry>
<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: Rename the error codes for something like consistency.</title>
<updated>2024-07-25T12:46:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-24T18:51:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=847e80f307789c607ac3415254b292e20da9c7f0'/>
<id>urn:sha1:847e80f307789c607ac3415254b292e20da9c7f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Remove RpcError data field and use Report</title>
<updated>2024-07-25T12:46:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T17:26:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e9cc83fd918a40f551bcc3f9595956067044aad'/>
<id>urn:sha1:2e9cc83fd918a40f551bcc3f9595956067044aad</id>
<content type='text'>
Per discussion, this field isn't really specified in a way that lets
us fill it sensibly at the moment.  So for now, we're going to just
omit it.

Additionally, we said that we'd Report on our errors; this branch
changes the implementation of RpcError to do that.

Question: Will the blanket implementation for Into&lt;RpcError&gt; make
it harder to re-add a Data field later on if we want to do so?
</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>
</feed>
