<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/conn.rs, branch arti-v1.3.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-21T21:39:17Z</updated>
<entry>
<title>rpclib: Rename RequestCancelled to be accurate.</title>
<updated>2024-10-21T21:39:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-21T20:25:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=87b22107c280fac02386395112841ccdbdd38eb2'/>
<id>urn:sha1:87b22107c280fac02386395112841ccdbdd38eb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Add a #[source] annotation.</title>
<updated>2024-10-02T12:06:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-02T12:06:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d762a688fd26007f490a021e1e924a422d6183ab'/>
<id>urn:sha1:d762a688fd26007f490a021e1e924a422d6183ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply 1 suggestion(s) to 1 file(s)</title>
<updated>2024-10-02T12:02:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-02T12:02:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6ef21b4c8d2ac4ebc4dc249db52cf72893a1993d'/>
<id>urn:sha1:6ef21b4c8d2ac4ebc4dc249db52cf72893a1993d</id>
<content type='text'>
Co-authored-by: gabi-250 &lt;gabi@torproject.org&gt;</content>
</entry>
<entry>
<title>rpclib: Unify code internally generated requests</title>
<updated>2024-09-25T15:09:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-25T13:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1ae21a6bbc5e071500b61d3dd9118adce6147882'/>
<id>urn:sha1:1ae21a6bbc5e071500b61d3dd9118adce6147882</id>
<content type='text'>
We now have a single type to represent the error
"A request that we made internally didn't get a result we expected."
The functions to generate these requests are now centralized too.

Closes #1587.
</content>
</entry>
<entry>
<title>rpc: Finish an incomplete sentence in a doc.</title>
<updated>2024-09-25T13:52:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-25T12:57:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2196db3727398625a4cf9fdea71b77b2898f8ac8'/>
<id>urn:sha1:2196db3727398625a4cf9fdea71b77b2898f8ac8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Rename connect.rs to stream.rs</title>
<updated>2024-09-10T18:25:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-10T18:25:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=10728f57bcbb1b42cc3efec5ac07b507d916c1a2'/>
<id>urn:sha1:10728f57bcbb1b42cc3efec5ac07b507d916c1a2</id>
<content type='text'>
(This is about DataStreams, so we should make it less confusing.
This commit is _just_ about the file renaming, with no associated
function renaming.)
</content>
</entry>
<entry>
<title>rpclib: FFI for opening data streams.</title>
<updated>2024-09-09T14:52:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-26T15:31:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8fd335e5ae7ad761efe3030e33b7004ec70fc2ff'/>
<id>urn:sha1:8fd335e5ae7ad761efe3030e33b7004ec70fc2ff</id>
<content type='text'>
There's a blocking TODO here about exposing socks error codes that
I still need to solve.
</content>
</entry>
<entry>
<title>rpclib: Support opening a data stream.</title>
<updated>2024-09-09T14:52:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-23T02:08:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=035aaa8fabf8489167e5a60bbe84fd0c4acccfe6'/>
<id>urn:sha1:035aaa8fabf8489167e5a60bbe84fd0c4acccfe6</id>
<content type='text'>
Requires #1523.

Implements #1524.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-09-03T08:09:02Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-09-03T08:09:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676f913463b7d84f34dd6101b99d03ef79cf57ad'/>
<id>urn:sha1:676f913463b7d84f34dd6101b99d03ef79cf57ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib, ffi: Allow simultaneous calls to `arti_rpc_handle_wait()`</title>
<updated>2024-08-27T13:45:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-22T15:21:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=76e6a24759b5fc1a04b53077acb19afb82c8df88'/>
<id>urn:sha1:76e6a24759b5fc1a04b53077acb19afb82c8df88</id>
<content type='text'>
Its underlying function previously took `&amp;mut RpcHandle`,
which was an accident waiting to happen.  Now it takes `&amp;RpcHandle`
and includes a Mutex to prevent multiple threads from waiting for
updates on the same request ID at once.

As an alternative, we *could* try to update connimpl::Receiver to
allow multiple simultaneous listeners on the same request ID.
But that would (I think) require a lot more bookkeeping, and thus
would be a bit more error-prone.

Closes #1532.
</content>
</entry>
</feed>
