Closed Bug 887646 Opened 11 years ago Closed 11 years ago

B2G MMS: Do not set content-length in smil header when sending.

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25
blocking-b2g leo+
Tracking Status
firefox23 --- wontfix
firefox24 --- wontfix
firefox25 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- fixed

People

(Reporter: ctai, Assigned: ctai)

References

Details

(Whiteboard: [fixed-in-birch])

Attachments

(1 file)

We don't need to set set content-length in smil header when sending. In some operators they will rewrite the smil. If we set content-length, some operators might skip the recalculating of new smil.
Block a leo+ bug, nominate to leo+.
blocking-b2g: --- → leo?
Attachment #768165 - Flags: review?(gene.lian)
Blocks a blocker -> blocking.
blocking-b2g: leo? → leo+
Comment on attachment 768165 [details] [diff] [review]
Patch v1.0

Review of attachment 768165 [details] [diff] [review]:
-----------------------------------------------------------------

It doesn't solve the real problem at bug 883019, but anyway we shouldn't set the SMIL.length as the content-length because the new length of the utf-8 encoding SMIL could be different. Removing this can also solve this potential issue.

Please do make sure this won't create any other regressions before landing.
Attachment #768165 - Flags: review?(gene.lian) → review+
blocking-b2g: leo+ → leo?
Keywords: checkin-needed
blocking-b2g: leo? → leo+
https://hg.mozilla.org/mozilla-central/rev/7c34ca069742
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: