I am currently testing different web browsers and devices for compatibility with a web interface that has been developed. We have realized we have an issue with code already in production. The bug is hit because any HTTP POST requests sent from the android browser (on both a Galaxy Nexus (running JB) and a Galaxy Tab (running ICS)) are split into two TCP segments at the boundary of the HTTP headers and the HTTP POST data.
Interestingly enough Chrome for Android does not exhibit this same behavior, rather the entire request is sent as one packet.
We are not even close to hitting the MTU, so that is not an issue.
My questions are:
- Is there any configuration that can be changed to prevent this?
- I know that both the built-in android browser and chrome use Webkit, which I was under the impression that it was built into the android OS, so why the different behavior between the browsers?
- Finally, what is gained or what is the intent behind this?