<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/semver.md, branch arti-v1.1.10</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.10</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-19T17:15:10Z</updated>
<entry>
<title>proto: Revise the behavior of IncomingStream::discard().</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T14:30:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1b2a4de2eb6a11157879cb53839eaee9e658ba4d'/>
<id>urn:sha1:1b2a4de2eb6a11157879cb53839eaee9e658ba4d</id>
<content type='text'>
Because dropping a `StreamTarget` causes the circuit reactor to send
an End, the previous do-nothing implementation of `discard()` wasn't
sufficient to cause the request to be ignored without sending an
End.

This commit modifies our "close pending stream" behavior to only
optionally send an End message.  To avoid confusion, I'm using a new
`CloseStreamBehavior` enum rather than an `Option&lt;End&gt;`, since we
had previously used `None` in some cases to indicate a default
(misc) end message.
</content>
</entry>
<entry>
<title>IncomingStream: Remove state.</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T14:16:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=394dda704d3832d7cb5f97f1f98c0bb6c903bf85'/>
<id>urn:sha1:394dda704d3832d7cb5f97f1f98c0bb6c903bf85</id>
<content type='text'>
Now that every state-change function consumes the IncomingStream,
there is no longer any reason to keep track of an internal state
enum.
</content>
</entry>
<entry>
<title>Remove the (fairly bogus) HsNtorServiceInput type.</title>
<updated>2023-10-12T13:20:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-12T13:17:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c88561eb979a43253422a2584b38b98b4827637'/>
<id>urn:sha1:4c88561eb979a43253422a2584b38b98b4827637</id>
<content type='text'>
This will let avoid some copying inside our HSS code.
</content>
</entry>
<entry>
<title>Remove semver.md now that 1.1.8 is out.</title>
<updated>2023-09-05T21:01:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-05T21:01:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a05d64d7f1424f140c49a5897f05b26a1eef7c2d'/>
<id>urn:sha1:a05d64d7f1424f140c49a5897f05b26a1eef7c2d</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
