Open Bug 1947783 Opened 1 month ago Updated 17 days ago

DataChannel will assemble DATA chunks from different messages into the same message

Categories

(Core :: WebRTC: Networking, defect, P3)

defect

Tracking

()

People

(Reporter: bwc, Assigned: bwc, NeedInfo)

Details

Attachments

(3 files, 1 obsolete file)

Right now we do not track separate messages when assembling DATA chunks. When we receive DATA chunks from multiple messages on the same DataChannel, all of them will be appended to the message we are currently assembling until we see an EOM chunk.

Uses bundle negotiation as a blunt instrument to cause packet loss, increasing
the probability that multiple messages are being assembled by the receiver
simultaneously.

Depends on D229272

Also, clean up the chunk reassembly code.

Depends on D238850

Attached file WIP: Bug 1947783: Test-case for bug. (obsolete) —

Uses bundle negotiation as a blunt instrument to cause packet loss, increasing
the probability that multiple messages are being assembled by the receiver
simultaneously.

Depends on D229272

Attachment #9467255 - Attachment description: WIP: Bug 1947783: Test-case for bug. → Bug 1947783: Test-case for bug. r?ng
Attachment #9467257 - Attachment description: WIP: Bug 1947783: Define missing flag that indicates support for interleaved mode in usrsctp. → Bug 1947783: Define missing flag that indicates support for interleaved mode in usrsctp. r?ng
Attachment #9467256 - Attachment description: WIP: Bug 1947783: Track incoming DATA chunks from different message ids separately. → Bug 1947783: Track incoming DATA chunks from different message ids separately. r?ng

Moving this to an ni, downgrading from s2.

Severity: S2 → S3
Flags: needinfo?(docfaraday)
Attachment #9467261 - Attachment is obsolete: true
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: