<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core, 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-09-03T17:57:12Z</updated>
<entry>
<title>Bump all the unstable tor- and arti- crates to 0.22.0.</title>
<updated>2024-09-03T17:57:12Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-03T17:25:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c3c266707f2fd361a447d922c5acfbb3938d88f2'/>
<id>urn:sha1:c3c266707f2fd361a447d922c5acfbb3938d88f2</id>
<content type='text'>
Done using:

```
for crate in $(./maint/list_crates  | rg '^(tor|arti-)'); do
    cargo set-version -p $crate 0.22.0
done
```
</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: Remove in_mut_ptr_opt, and document why.</title>
<updated>2024-08-27T13:45:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-27T13:31:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4095ec63f2967f9704e5c1d8eb3eb8f57803ecb'/>
<id>urn:sha1:c4095ec63f2967f9704e5c1d8eb3eb8f57803ecb</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>
<entry>
<title>rpclib: Allow ConnectionClosed in arti_socket_closed test</title>
<updated>2024-08-21T12:47:55Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-15T17:07:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d866fd0b2da368a8c02f060630a90b27c9770ce9'/>
<id>urn:sha1:d866fd0b2da368a8c02f060630a90b27c9770ce9</id>
<content type='text'>
This test is supposed to check the case where we launch a bunch
of requests but the socket is dropped before we get a response.
Different operating systems handle 'drop' a bit differently,
and schedule threads differently, so we shouldn't be surprised
at slightly different errors here.

In particular, OSX is more prone to deliver the close as a proper
"close" rather than an EPIPE or such, which previously broke
this test.

Closes #1510.
</content>
</entry>
<entry>
<title>ffi: Rename arti_rpc_status_to_str.</title>
<updated>2024-08-14T17:29:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-14T17:29:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b6751ab03803eaea3337a930b182db68574dd61'/>
<id>urn:sha1:3b6751ab03803eaea3337a930b182db68574dd61</id>
<content type='text'>
(This function manipulates an ArtiRpcStatus;
and we try to have all of the ffi functions in this library
begin with "arti_rpc_".)
</content>
</entry>
<entry>
<title>cbindgen: Correctly hide "Utf8CString".</title>
<updated>2024-08-14T17:27:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-14T17:27:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=10a73c3367e526ddedcf5c81a7eddd019d95fcc5'/>
<id>urn:sha1:10a73c3367e526ddedcf5c81a7eddd019d95fcc5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'ffi_dylib' into 'main'</title>
<updated>2024-08-13T14:30:00Z</updated>
<author>
<name>Alexander Færøy</name>
<email>ahf@torproject.org</email>
</author>
<published>2024-08-13T14:30:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5dcaf1e069b4b69d44f412f44948fd7baf2b144b'/>
<id>urn:sha1:5dcaf1e069b4b69d44f412f44948fd7baf2b144b</id>
<content type='text'>
ffi: Build arti-rpc-client-core as a C dynamic library.

See merge request tpo/core/arti!2331</content>
</entry>
<entry>
<title>ffi: Add support for request handles</title>
<updated>2024-08-12T18:35:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T15:57:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2364c6dc6d2fd16f08641a1fed2cbc970005dc66'/>
<id>urn:sha1:2364c6dc6d2fd16f08641a1fed2cbc970005dc66</id>
<content type='text'>
This API allows the caller to launch a request and then watch for
updates on it.
</content>
</entry>
<entry>
<title>ffi: New in_mut_ptr_opt type for receiving *mut T.</title>
<updated>2024-08-12T18:34:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T15:11:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ece4bcd31fc4b28e6fad5a096f88797c40d3238'/>
<id>urn:sha1:2ece4bcd31fc4b28e6fad5a096f88797c40d3238</id>
<content type='text'>
Previously, we had in_ptr_opt for functions that want to take
a nullable `*const T` without consuming it.

This is the equivalent for taking a nullable `*mut T` without
consuming it.
</content>
</entry>
</feed>
