<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/reactor.rs, branch arti-v0.0.3</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-12-16T21:01:50Z</updated>
<entry>
<title>tor-proto: Allow one meta-cell handler at a time.</title>
<updated>2021-12-16T21:01:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-16T21:01:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64257a10fae8d062a20c6fcc0c7c7787390e6e13'/>
<id>urn:sha1:64257a10fae8d062a20c6fcc0c7c7787390e6e13</id>
<content type='text'>
Previously the code would let us try to install a meta-cell handler
before the old one was done, leading to possible confusion.
</content>
</entry>
<entry>
<title>tor-proto: set HalfStream::connected_ok right.</title>
<updated>2021-12-16T16:48:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-16T16:48:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=51c4ca73f265558df6ae0c6766a02b228b8404be'/>
<id>urn:sha1:51c4ca73f265558df6ae0c6766a02b228b8404be</id>
<content type='text'>
Previously we'd always set it to true, allowing one CONNECTED per
half-closed stream even if the stream had already received a
CONNECTED  cell.

This resolves an XXXX.
</content>
</entry>
<entry>
<title>Extend trace messages for destroy/truncated reasons.</title>
<updated>2021-12-15T16:33:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-15T16:33:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f73840544cdd79ce839b5ae0958d85db45f9b1ce'/>
<id>urn:sha1:f73840544cdd79ce839b5ae0958d85db45f9b1ce</id>
<content type='text'>
It makes sense to put the method for human-readable strings onto the
type itself, so that we can format these whenever they occur.

I'm choosing the "human_str" method name here, since caret-generated
types already have a to_str.  I was thinking about using Display,
but caret types already implement that.

I've also moved the message from "warn!" to "debug!", since these
aren't necessarily a problem condition.
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/mr/191'</title>
<updated>2021-12-15T15:46:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-15T15:46:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1cf0b87eb75d45ba36b8b7c5619c13b7ae97e487'/>
<id>urn:sha1:1cf0b87eb75d45ba36b8b7c5619c13b7ae97e487</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'check_put_return' into 'main'</title>
<updated>2021-12-15T15:45:08Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-12-15T15:45:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e0ff665bb09cc979cd88dcce0eb6c1fc45f0a5e'/>
<id>urn:sha1:2e0ff665bb09cc979cd88dcce0eb6c1fc45f0a5e</id>
<content type='text'>
Always check whether stream-level SENDMEs are expected.

Closes #261

See merge request tpo/core/arti!192</content>
</entry>
<entry>
<title>In reactor, use enums on whether to destroy circuits</title>
<updated>2021-12-14T22:36:30Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-14T22:36:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=043b97fecfe5d1e1da7bf8d1ba014d26df435023'/>
<id>urn:sha1:043b97fecfe5d1e1da7bf8d1ba014d26df435023</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Methodize the destroy circuit reason</title>
<updated>2021-12-14T22:26:45Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-14T22:26:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b601d8b1476810e33550b2f007fe91396ed47ba8'/>
<id>urn:sha1:b601d8b1476810e33550b2f007fe91396ed47ba8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always check whether stream-level SENDMEs are expected.</title>
<updated>2021-12-14T17:11:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-13T21:01:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d5c2361d3f631c68b3aa16915d60df07b6c211ac'/>
<id>urn:sha1:d5c2361d3f631c68b3aa16915d60df07b6c211ac</id>
<content type='text'>
(It's a protocol violation to get a SENDME when our send window is
already full.)

This patch makes SendWindow::put return a Result, so that it's
easier to do the right thing with it.

Closes #261.
</content>
</entry>
<entry>
<title>Actually decrement the stream-level SENDME window</title>
<updated>2021-12-14T16:37:56Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-12-14T15:49:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d660cbcf1a655769425dd0a303e5446f6cb8542'/>
<id>urn:sha1:8d660cbcf1a655769425dd0a303e5446f6cb8542</id>
<content type='text'>
arti!126 overhauled the `tor-proto` circuit reactor, but left out one
very important thing: actually decrementing the SENDME window for
streams (not circuits) when we send cells along them.

Since the circuit-level SENDME window would often prevent us from
running into a problem, this wasn't caught until my benchmarking efforts
noticed it (in the form of Tor nodes aborting the circuit for a protocol
violation).

fixes arti#260
</content>
</entry>
<entry>
<title>Handle TRUNCATED cells</title>
<updated>2021-12-13T20:21:25Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-13T20:19:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2595f3f8c15f97f20becdaf059cfa0696fbedc8e'/>
<id>urn:sha1:2595f3f8c15f97f20becdaf059cfa0696fbedc8e</id>
<content type='text'>
</content>
</entry>
</feed>
