Websocket re-sending old data beginning with Firefox 82
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: thomas.schreiber, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Steps to reproduce:
Beginning with Firefox 82, if multiple larger arraybuffers are sent via a WebSocket connection in a short interval, Firefox re-sends a previous arraybuffer instead of the actually selected ArrayBuffer.
This issue is newly introduced in Firefox 82, in Firefox 81 no such behaviour was listed. It seems to appear when more than 512KB are sent back-to-back. This issue is not debuggable via the DevTools (which log the data that should have been sent) but only visible in Wireshark.
This bug breaks various european speed tests run by national telecom operators that are based on https://github.com/rtr-nettest/rmbtws/
I've written more details of this bug on GitHub here: https://github.com/rtr-nettest/rmbtws/issues/15
A short demo demonstrating the bug can be found here: https://github.com/rtr-nettest/rmbtws/tree/firefox82-reproduce (run /test/Websockettest.html)
Actual results:
An old ArrayBuffer that was sent via socket.sent
is sent multiple teimes
Expected results:
The actual ArrayBuffers that were sent via socket.send
should be transmitted over the network.
Reporter | ||
Comment 1•4 years ago
|
||
Seems to be a duplicate of Bug 1673340 and Bug 1673467
Updated•4 years ago
|
Description
•