Closed
Bug 1425697
Opened 8 years ago
Closed 8 years ago
Data Channel remote maximum message size slightly incorrect
Categories
(Core :: WebRTC: Signaling, defect, P2)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
FIXED
mozilla59
People
(Reporter: lgrahl, Assigned: drno)
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
lgrahl
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
This should be a quick & easy fix. The default remote maximum message size is 65536 and not 65535.
(Apologies for messing this up in the first place.)
Reporter | ||
Comment 1•8 years ago
|
||
Would it be possible to backport this trivial change to FF >= 57? Otherwise, we will need to add a workaround to adapter (https://github.com/webrtc/adapter/pull/702).
Flags: needinfo?(drno)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8937651 -
Flags: review?(lennart.grahl)
Assignee | ||
Comment 3•8 years ago
|
||
We might be able to uplift this to 58 Beta. But we won't be able to uplift this change to 57, as it's not a security fix.
BTW: Lennart is there a reference (e.g. spec) for this change from 65535 to 65536?
Assignee: nobody → drno
Flags: needinfo?(drno) → needinfo?(lennart.grahl)
Reporter | ||
Comment 4•8 years ago
|
||
It always was 65536. I just messed up and I guess everyone just assumed it is correct.
https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-26#section-6.1
"If the SDP 'max-message-size' attribute is not present, the default value is 64K." - which of course is 2^16 and not 2^16 - 1.
I'll add special treatment of the default remote MMS for FF 57 in adapter.
Flags: needinfo?(lennart.grahl)
Reporter | ||
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8937651 [details]
Bug 1425697: WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++.
https://reviewboard.mozilla.org/r/208350/#review214136
Attachment #8937651 -
Flags: review?(lennart.grahl) → review+
Updated•8 years ago
|
Rank: 15
status-firefox57:
--- → wontfix
status-firefox58:
--- → affected
status-firefox-esr52:
--- → wontfix
status-thunderbird_esr52:
--- → wontfix
Priority: -- → P2
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/autoland/rev/efee3a8c1124
WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++. r=lennart.grahl+594092
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Assignee | ||
Comment 9•8 years ago
|
||
Comment on attachment 8937651 [details]
Bug 1425697: WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++.
Approval Request Comment
[Feature/Bug causing the regression]: bug 979417
[User impact if declined]: WebRTC services need to use shims to fix the default buffer size for data channels to the correct value to make the behavior spec compliant.
[Is this code covered by automated tests?]: Yes
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: N/A
[Is the change risky?]: No
[Why is the change risky/not risky?]: We only increase the default buffer size by one more byte.
[String changes made/needed]: N/A
Flags: needinfo?(drno)
Attachment #8937651 -
Flags: approval-mozilla-beta?
Comment 10•8 years ago
|
||
Comment on attachment 8937651 [details]
Bug 1425697: WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++.
Fix a WebRTC data channel issue. Beta58+.
Attachment #8937651 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 11•8 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•