<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/reactor.rs, branch arti-v1.1.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-03-23T11:50:18Z</updated>
<entry>
<title>tor-proto: Feature-conditionalise some enum variants</title>
<updated>2023-03-23T11:50:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-22T12:11:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b8345353474094bd8c6f4dd3f442e867ad0fc537'/>
<id>urn:sha1:b8345353474094bd8c6f4dd3f442e867ad0fc537</id>
<content type='text'>
This avoids some dead code warnings when building without send-control-msg.
</content>
</entry>
<entry>
<title>tor-proto: Split off send-control-msg feature</title>
<updated>2023-03-23T11:50:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-22T12:06:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93809cc5941e7ddaa5ac3f5691a986033a4a9244'/>
<id>urn:sha1:93809cc5941e7ddaa5ac3f5691a986033a4a9244</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Make send_control_message wait for the reactor.</title>
<updated>2023-03-08T19:21:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-08T15:19:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c4bdb8d8d4df4ac7aa494c2c1a50a484f2393e5'/>
<id>urn:sha1:9c4bdb8d8d4df4ac7aa494c2c1a50a484f2393e5</id>
<content type='text'>
This way we don't need to worry about race conditions that happen if
the caller thinks that the handler is installed before it really is.
</content>
</entry>
<entry>
<title>tor-proto: Implement functionality to send a message and accept replies</title>
<updated>2023-03-08T19:21:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-03T17:11:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc83d1e1de6b1d0a0c5bec7cc2c6f3cf5db89d98'/>
<id>urn:sha1:bc83d1e1de6b1d0a0c5bec7cc2c6f3cf5db89d98</id>
<content type='text'>
This new function combines "sending a message" and "accepting
replies in a stream" into a single call, so that there is no gap
between when the message is sent and the replies are available.

There are a number of compromises here, in order to avoid API
proliferation. I've tried to contain them as best I can.

See comments for additional design discussion.
</content>
</entry>
<entry>
<title>tor-proto: Change semantics of MetaCellHandler</title>
<updated>2023-03-08T19:21:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-03T13:49:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=094fdc0d8d06f72e12230fccc641d3169ff13114'/>
<id>urn:sha1:094fdc0d8d06f72e12230fccc641d3169ff13114</id>
<content type='text'>
Now, the MetaCellHandler is responsible for consuming the messages
it gets, and reporting status to whatever task is waiting for a
status message.

Additionally, the MetaCellHandler can decide to remain installed or
shut down the circuit after a successful message.  (Previously, it
could only uninstall itself on success and kill the circuit on
failure.)

These changes will enable MetaCellHandlers to be used as the basis
for handling more kinds of message.

(There is some moved and reformatted code here; you may want to
review it with `git {diff or show} --color-moved -b`.)
</content>
</entry>
<entry>
<title>tor-proto: Give circ Reactor a constructor, and make its fields private.</title>
<updated>2023-03-08T19:21:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-03T12:27:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5586a29f62a7eb85bc5b7b4128602cab62962aab'/>
<id>urn:sha1:5586a29f62a7eb85bc5b7b4128602cab62962aab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Tweak documentation and names around CmdChecker.</title>
<updated>2023-02-27T13:14:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-27T13:14:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=07473ed1fc110b8b48ef02bb288b1f50085dfa06'/>
<id>urn:sha1:07473ed1fc110b8b48ef02bb288b1f50085dfa06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Rename end_received.</title>
<updated>2023-02-17T16:56:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-17T16:56:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=814563dfd6a3c8c4a7b97e5698f8d45550dc7c91'/>
<id>urn:sha1:814563dfd6a3c8c4a7b97e5698f8d45550dc7c91</id>
<content type='text'>
It can now indicate _any_ cell that means we can forget about a stream.
</content>
</entry>
<entry>
<title>Use CmdChecker in our stream handling code.</title>
<updated>2023-02-17T16:52:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-17T16:52:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d81a9c9aadd43b93f9855aa33801fb5a926bf3b5'/>
<id>urn:sha1:d81a9c9aadd43b93f9855aa33801fb5a926bf3b5</id>
<content type='text'>
This change makes sure that open streams and half-closed streams
have the same stream-type-dependent state machines with respect to
which cells are acceptable.

Fixes #774.

Fixes #769.
</content>
</entry>
<entry>
<title>tor-proto: Add a TODO about simplifying a common pattern.</title>
<updated>2023-02-15T15:51:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-15T15:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19c0dd153ad957fc108c59f578facbfc3e562d2a'/>
<id>urn:sha1:19c0dd153ad957fc108c59f578facbfc3e562d2a</id>
<content type='text'>
</content>
</entry>
</feed>
