<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src, 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: Obey error Display convention wrt sources.</title>
<updated>2025-02-04T19:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-04T15:20:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c8f614faf5084c300a71b6e607a0b189df8830da'/>
<id>urn:sha1:c8f614faf5084c300a71b6e607a0b189df8830da</id>
<content type='text'>
In general, we try to obey the convention that an error's Display
method does not display that error's sources.

Part of #1650.
</content>
</entry>
<entry>
<title>rpclib: Move socketpair to a testing module; use it in llconn tests</title>
<updated>2025-02-03T18:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-03T18:41:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7686f3a460ae511410f9e51f54e457635a972289'/>
<id>urn:sha1:7686f3a460ae511410f9e51f54e457635a972289</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: In tests, use an ersatz socketpair on windows.</title>
<updated>2025-02-03T17:00:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-03T17:00:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=624b3b4bcb833954a34bdae4c8f1215ac9a44652'/>
<id>urn:sha1:624b3b4bcb833954a34bdae4c8f1215ac9a44652</id>
<content type='text'>
Fixes #1831.

I'm doing this because switching from the socketpair crate to an
ersatz connect-to-localhost socketpair made the test pass.

My windows skills are weak, but it appears possible that you aren't
supposed to simultaneously have a blocking ReadFile and a blocking
WriteFile to a named pipe from separate threads?  At least, that's
consistent with our findings in !2758.

I first saw this hack in perl, when I needed it in 2003.
I am displeased that it is still apparently needed in 2025.
</content>
</entry>
<entry>
<title>rpclib: make conn::complex use fewer iterations.</title>
<updated>2025-02-03T16:57:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-03T16:57:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=150dbc30a6c9d85a51847ad77193040fae3e0506'/>
<id>urn:sha1:150dbc30a6c9d85a51847ad77193040fae3e0506</id>
<content type='text'>
This was the slowest test in our suite.
</content>
</entry>
<entry>
<title>Merge branch 'rpc_document_internal_optimism' into 'main'</title>
<updated>2025-01-30T18:28:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T18:28:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f8d9cedfeecdb9bcdc7b006845c9856fed302f1f'/>
<id>urn:sha1:f8d9cedfeecdb9bcdc7b006845c9856fed302f1f</id>
<content type='text'>
rpc: Document what is actually going on with stream optimism.

Closes #1583

See merge request tpo/core/arti!2753</content>
</entry>
<entry>
<title>rpc: Correct API documentation about optimism</title>
<updated>2025-01-30T15:08:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:03:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fcb10040764db7204b637713b4166c4f57235257'/>
<id>urn:sha1:fcb10040764db7204b637713b4166c4f57235257</id>
<content type='text'>
Our documentation had dated to an older version of our RPC stream
code, where all streams were automatically optimistic.

But as explained, our use of "optimistic"ness in RPC stream code is
now purely internal, to make it possible to get an DataStreamCtrl.
This isn't user-visible in our rpc_conn_open_stream code.

Closes #1583
</content>
</entry>
<entry>
<title>fix: fix typos</title>
<updated>2025-01-30T08:39:30Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2025-01-30T08:39:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6371829c976f6a5b77d46bf977f369a915f2ced3'/>
<id>urn:sha1:6371829c976f6a5b77d46bf977f369a915f2ced3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Rename ConnPtSource to ConnPtOrigin.</title>
<updated>2025-01-29T14:17:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-29T14:14:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ebdd7c31d39fc043856a855dcea85d87ef6e0aa0'/>
<id>urn:sha1:ebdd7c31d39fc043856a855dcea85d87ef6e0aa0</id>
<content type='text'>
</content>
</entry>
</feed>
