<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/semver.md, branch arti-v1.1.8</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-08-25T13:57:14Z</updated>
<entry>
<title>tor-proto: Add a HopNum::display function.</title>
<updated>2023-08-25T13:57:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-25T13:18:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12a7ff445190f3af2ab82c240469595e7a50c3c6'/>
<id>urn:sha1:12a7ff445190f3af2ab82c240469595e7a50c3c6</id>
<content type='text'>
This function can be used to display a more user-friendly representation
of a `HopNum`. This will print hop numbers as 1-indexed values: #1,
#2, etc..

We will soon remove HopNum's Display implementation in favour of
`.display()`.
</content>
</entry>
<entry>
<title>proto: new ClientCirc::send_raw_msg function.</title>
<updated>2023-08-21T13:23:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-21T13:23:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4373e88e26200648e192bb5e51cb74f027e2b76'/>
<id>urn:sha1:e4373e88e26200648e192bb5e51cb74f027e2b76</id>
<content type='text'>
Closes #1010.
</content>
</entry>
<entry>
<title>tor-proto: Make ClientCirc::allow_stream_requests take a HopNum.</title>
<updated>2023-08-18T11:14:01Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-18T11:04:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=67a77680dd8950e26b278da949295c9b788a0873'/>
<id>urn:sha1:67a77680dd8950e26b278da949295c9b788a0873</id>
<content type='text'>
For consistency with the other `ClientCirc` APIs,
`ClientCirc::allow_stream_requests` now takes a `HopNum` argument. Upon
receiving an incoming stream request, the reactor now checks if the
request came from the hop specified in `allow_stream_requests` (and if
it came from a different hop, the circuit is closed).

Part of #1009
</content>
</entry>
<entry>
<title>proto: API to expose the `CircuitBinding` type.</title>
<updated>2023-08-14T17:15:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-04T12:51:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=65a0ac5512f7a147e58c64faacc9cb87cb0e4ecf'/>
<id>urn:sha1:65a0ac5512f7a147e58c64faacc9cb87cb0e4ecf</id>
<content type='text'>
Closes #993
</content>
</entry>
<entry>
<title>tor-proto: Make update_state() and discard() return Result&lt;(), Bug&gt;.</title>
<updated>2023-08-09T12:07:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-09T12:07:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6073a4f7679251ff7e97501cd4a85fa92d12355d'/>
<id>urn:sha1:6073a4f7679251ff7e97501cd4a85fa92d12355d</id>
<content type='text'>
These functions only ever return `Bug` errors.
</content>
</entry>
<entry>
<title>tor-proto: Implement IncomingStream::discard().</title>
<updated>2023-08-08T14:25:45Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-08T14:18:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0daa9adb6b99c516835108cfe13512cff50bb13'/>
<id>urn:sha1:a0daa9adb6b99c516835108cfe13512cff50bb13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: allow_stream_requests now waits until the control message is received.</title>
<updated>2023-08-04T18:22:45Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-04T17:53:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f689e94f0ff0ffc79009b1df1a41394a4d86035e'/>
<id>urn:sha1:f689e94f0ff0ffc79009b1df1a41394a4d86035e</id>
<content type='text'>
`ClientCirc::allow_stream_requests` is now `async` and waits until the
`AwaitIncomingStream` control message is processed by the reactor.

This guarantees that by the time the `allow_stream_requests` future
resolves, the reactor is ready to process BEGIN/BEGIN_DIR/RESOLVE cells.

Previously, the client tasks from allow_stream_requests tests had to
sleep before sending the BEGIN cell to give the reactor time to process
the `AwaitIncomingStream` control message (which tells the reactor to
expect incoming BEGIN/BEGIN_DIR/RESOLVE cells on the circuit).

Fixes #994
</content>
</entry>
<entry>
<title>tor-proto: Add ClientCirc::start_conversation().</title>
<updated>2023-08-04T12:08:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-31T18:53:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed5a051ebe94a8cf4e5e9f33c000a9bd2fddfd8f'/>
<id>urn:sha1:ed5a051ebe94a8cf4e5e9f33c000a9bd2fddfd8f</id>
<content type='text'>
This will enable hidden services to send `RENDEZVOUS1` messages to the
`N`th hop of the circuit rather than the `N + 1`th virtual one (which
can only used after the client and service have completed the
introduction handshake).

This also deprecates `start_conversation_last_hop`.

Closes #959
</content>
</entry>
<entry>
<title>tor-proto: Add method for getting the HopNum of the last hop.</title>
<updated>2023-08-04T12:07:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-31T18:52:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c23e85270e3f2c17cb97024ac07b557990514c89'/>
<id>urn:sha1:c23e85270e3f2c17cb97024ac07b557990514c89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Make HopNum public.</title>
<updated>2023-08-04T09:51:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-31T18:51:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eee3bb8822dd22a48b58bfb9a42cb0eaa952138d'/>
<id>urn:sha1:eee3bb8822dd22a48b58bfb9a42cb0eaa952138d</id>
<content type='text'>
`HopNum` will be used in `ClientCirc`'s public API when we refactor
`ClientCirc::start_conversation_last_hop` to use the provided hop rather
than always using the last one.
</content>
</entry>
</feed>
