Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket25573 #262

Closed
Closed

Conversation

Labels
None yet
Projects
None yet
2 participants
@mikeperry-tor
Copy link
Contributor

@mikeperry-tor mikeperry-tor commented Aug 5, 2018

Check END, SENDME, and DATA cells against half-closed stream ids in order to properly report dropped bytes to the control port.

This change does not affect behavior -- it only affects what is reported to the CIRC_BW event.

We allow their ENDs, SENDMEs, and DATA cells to not count as dropped until the
windows are empty, or we get an END.
@coveralls
Copy link

@coveralls coveralls commented Aug 5, 2018

Coverage Status

Coverage increased (+0.2%) to 60.107% when pulling fb6b632 on mikeperry-tor:ticket25573 into be8e56c on torproject:maint-0.3.4.

Also count valid path bias check cells as valid data.
Actually cover the new code..
…w one

Unlike the rest of this branch, this commit does change client behavior and
also avoids data corrupton by avoiding mixing up old stream ids with new ones.
Does that make it a feature or a bug? Who can say.

This is technically a feature change from like the first version of Tor also.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment