<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/tunnel/circuit.rs, branch arti-v1.4.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-07-03T18:50:33Z</updated>
<entry>
<title>proto: ignore large_enum_variant warning</title>
<updated>2025-07-03T18:50:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-07-03T18:50:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=057c63b43d95a57bc3be00870ae046b40c1c6e6a'/>
<id>urn:sha1:057c63b43d95a57bc3be00870ae046b40c1c6e6a</id>
<content type='text'>
This appears to be a testing-only struct, so we can safely ignore
the warning.
</content>
</entry>
<entry>
<title>proto: Actually validate the SWITCH cells in the mock exit.</title>
<updated>2025-06-27T14:16:16Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-25T19:55:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f08b3c5f1d389fc46aec85a59c769cb8db73f06'/>
<id>urn:sha1:8f08b3c5f1d389fc46aec85a59c769cb8db73f06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Tweak conflux test RTTs to trigger CONFLUX_SWITCH.</title>
<updated>2025-06-27T14:16:16Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-19T16:05:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11ebb8c981385887c3454abe795e1f7714d56be5'/>
<id>urn:sha1:11ebb8c981385887c3454abe795e1f7714d56be5</id>
<content type='text'>
This causes the test client to send a two SWITCH cells.
</content>
</entry>
<entry>
<title>proto: Run test handshake outside of exit task.</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-24T18:04:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e292e9d03728125fb51463a3f92e22b2649a86f6'/>
<id>urn:sha1:e292e9d03728125fb51463a3f92e22b2649a86f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Ensure we get all the expected SWITCH cells.</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-24T13:28:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2a71df8d1bfced063c8b2e4ee3859e7546f8d1e'/>
<id>urn:sha1:c2a71df8d1bfced063c8b2e4ee3859e7546f8d1e</id>
<content type='text'>
Previously, this failed to assert that the mock relays received all the
expected SWITCH cells.

As it turns out, the assertion currently fails, because the default
value for our estimated RTTs is no longer zero (as of !3074), so we no
longer unnecessarily switch legs as much as we used to.
</content>
</entry>
<entry>
<title>proto: Sort the received test data.</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-18T11:09:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6299b781b697aa72c6bfa27139d0ab66467eb200'/>
<id>urn:sha1:6299b781b697aa72c6bfa27139d0ab66467eb200</id>
<content type='text'>
The conflux client now sends data to the mock exit relay over both legs
(it SWITCHes legs at some point), which causes the test to fail
(because the two legs of the mock exit write the data racily to the same
`Vec`, without attempting to put it in the right order).

To work around the lack of handling of out-of-order cells at the mock
exit, we can just sort the received data to make sure we got it all.
</content>
</entry>
<entry>
<title>proto: Support inserting varied RTT delays in test (fmt).</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-25T12:19:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a1f62c384beb417579eb279cb006b05fb3bf3a00'/>
<id>urn:sha1:a1f62c384beb417579eb279cb006b05fb3bf3a00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Support inserting varied RTT delays in test.</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-24T13:27:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2603aa1cc21673156a81edf3fbe9eb6613912d44'/>
<id>urn:sha1:2603aa1cc21673156a81edf3fbe9eb6613912d44</id>
<content type='text'>
This will enable us to trigger conflux leg switches at various points in
the transmission.
</content>
</entry>
<entry>
<title>proto: s/circ_sink/circ_tx for consistency.</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-19T11:08:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ebc31eb9b9996dac491c6b44d4a6e1553e3fb962'/>
<id>urn:sha1:ebc31eb9b9996dac491c6b44d4a6e1553e3fb962</id>
<content type='text'>
For consistency with `chan_tx`.
</content>
</entry>
<entry>
<title>proto: Pass TestCircuitCtx to mock exit task (fmt).</title>
<updated>2025-06-27T14:09:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-19T11:07:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c3797027215cc4d0b3b3dcf4261d823df4f043c'/>
<id>urn:sha1:0c3797027215cc4d0b3b3dcf4261d823df4f043c</id>
<content type='text'>
</content>
</entry>
</feed>
