[tor-bugs] #33897 [Circumvention/Snowflake]: Remove buffering from WebRTCPeer
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Apr 13 23:51:25 UTC 2020
#33897: Remove buffering from WebRTCPeer
-----------------------------------------+-------------------------
Reporter: dcf | Owner: dcf
Type: enhancement | Status: assigned
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Keywords: turbotunnel
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------------------+-------------------------
`WebRTCPeer` has a `buffer` that is used to hold bytes until the data
channel is connected. We should remove it after the turbotunnel changes
are merged (#33745). What ends up happening is the reliability layer ends
up retransmitting packets as they sit in the buffer, and when the data
channel is finally established, all those old useless packets get sent in
a mass. It's better to just drop those packets on the floor before the
data channel exists.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33897>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list