<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/ffi, branch arti-v1.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-02-04T19:41:15Z</updated>
<entry>
<title>rpclib: Improve output for ConnectFailure</title>
<updated>2025-02-04T19:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-04T17:28:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dffe9330ab57d90f844f2aac950e4cbc2fc7a70b'/>
<id>urn:sha1:dffe9330ab57d90f844f2aac950e4cbc2fc7a70b</id>
<content type='text'>
We want to explain better what has happened, not only with the final
fatal error, but with any nonfatal errors that occurred in the middle.

Closes #1826.
</content>
</entry>
<entry>
<title>rpclib: Include sources when formatting FFI errors.</title>
<updated>2025-02-04T19:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-04T15:40:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=921ae4c6cea7893aae854e562720310388b8897b'/>
<id>urn:sha1:921ae4c6cea7893aae854e562720310388b8897b</id>
<content type='text'>
Closes #1650.
</content>
</entry>
<entry>
<title>rpclib: New combined error type for RPC connect failures.</title>
<updated>2025-01-29T14:17:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-28T14:52:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=28cc171b91d315412286b52297e0973fd2431f41'/>
<id>urn:sha1:28cc171b91d315412286b52297e0973fd2431f41</id>
<content type='text'>
This type explains where every error came from, and explains why
each declined connect point was declined.
</content>
</entry>
<entry>
<title>arti-rpc-client-core: Rename Authentication{Rejected=&gt;Failed}</title>
<updated>2025-01-23T18:06:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-23T17:37:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d4872c41eec4d4ec27f022ede306b68d1583492'/>
<id>urn:sha1:2d4872c41eec4d4ec27f022ede306b68d1583492</id>
<content type='text'>
Also change corresponding message.

This way, it will be clear that we're just reporting that Arti
gave us an error—not that the error necessarily means that the
authentication itself was "wrong".
</content>
</entry>
<entry>
<title>rpclib: Avoid overuse of execute_internal_ok.</title>
<updated>2025-01-23T18:06:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-22T17:31:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0d9ebbfacb4636597f661f89bfc5f24975aa7cb7'/>
<id>urn:sha1:0d9ebbfacb4636597f661f89bfc5f24975aa7cb7</id>
<content type='text'>
The execute_internal_ok method converts every error response into an
internal error; as such, it's only appropriate when there is no way
for a well-behaved Arti instance to give an error response.
But we had been using it in a few places where errors were possible
under other circumstances.

This commit fixes that behavior, and adds documentation to help
avoid it.
</content>
</entry>
<entry>
<title>arti-rpc-client-core: Client side of cookie authentication.</title>
<updated>2025-01-15T14:18:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-09T19:08:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08e9de49b3a0f9d428b4e28e1eefceaba9fe74a8'/>
<id>urn:sha1:08e9de49b3a0f9d428b4e28e1eefceaba9fe74a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement banner for RPC protocol.</title>
<updated>2025-01-09T21:26:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-08T15:06:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fdf77750dcaa256c095daf6eb123129b8fd757b0'/>
<id>urn:sha1:fdf77750dcaa256c095daf6eb123129b8fd757b0</id>
<content type='text'>
Closes #1753
</content>
</entry>
<entry>
<title>rpc-client: Reject relative paths.</title>
<updated>2024-12-09T20:23:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-09T16:00:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3638e48047e2db984ee21561d8a28e540aa6eb34'/>
<id>urn:sha1:3638e48047e2db984ee21561d8a28e540aa6eb34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>artilib: Revise C and Python APIs for builders.</title>
<updated>2024-12-09T20:23:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-02T20:57:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b67a1254c4ca60d426862d8ef9d0d6d4a0e19aff'/>
<id>urn:sha1:b67a1254c4ca60d426862d8ef9d0d6d4a0e19aff</id>
<content type='text'>
Expose ArtiRpcConnBuilder and appropriate C wrapper functions in
our FFI code, and wrap those functions in our python wrapper.
This breaks the old C API, but that's allowed since the API
is still experimental.

Some design decisions:
 * I've wrapped the builder in a Mutex, so that we can continue
   our FFI rule that we do not require non-Rust code to wrap `&amp;mut`.
 * I've removed the non-builder connect() function from the C API
   as extraneous.
 * I've made a single function to prepend elements to the search
   path.
</content>
</entry>
<entry>
<title>rpc-client-core: Correct various FFI error types.</title>
<updated>2024-12-09T20:23:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-02T15:19:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1dfe8a05000a31907a747e0fe8e11ae093034db1'/>
<id>urn:sha1:1dfe8a05000a31907a747e0fe8e11ae093034db1</id>
<content type='text'>
</content>
</entry>
</feed>
