Closed Bug 884146 Opened 11 years ago Closed 11 years ago

B2G MMS: Can not receive MMS from FarEasTone sim card.

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24
blocking-b2g leo+
Tracking Status
firefox22 --- wontfix
firefox23 --- wontfix
firefox24 --- 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)

Can not receive MMS from Far-stone sim card. Http request done, but will get an http status 400.
No longer blocks: b2g-mms
Summary: B2G MMS: Can not receive MMS from Far-stone sim card. → B2G MMS: Can not receive MMS from FarEasTone sim card.
After some experiments, root cause is we need HOST when GET HTTP request.
Below is the successful step.
busybox telnet 210.241.199.199 9201
GET http://10.76.148.161/servlets/mms?message-id=mxvhKjo1y01 HTTP/1.1
HOST:10.76.148.161
You can print buf in the function nsHttpConnection::OnReadSegment.
See below:
nsresult nsHttpConnection::OnReadSegment(const char *buf,
                                         uint32_t count,
                                         uint32_t *countRead)


https://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsHttpConnection.cpp#1185
The root cause is we set the ContentLength:0 in GET method. Looks like the MMS proxy in FarEasTone can not accept it. Maybe other operators also have those kind of behaviour. Nominate to leo+.
blocking-b2g: --- → leo?
Attachment #764060 - Flags: review?(vyang)
Attachment #764060 - Flags: review?(vyang) → review+
https://hg.mozilla.org/mozilla-central/rev/d427f88d28a8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Triage - leo+ as agreed with partners based on  comment 3
blocking-b2g: leo? → leo+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: