This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Internet Explorer and the NDK HTTP Server: TCP packets in wrong order

Other Parts Discussed in Thread: AM3359

Equipment:

bios_6_41_00_26 (Sys/Bios)
SDK 1.1.0.6
Sitara AM3359
CCSV6
NDK 2.24..01.18
XDC tools 3.31.00.24
Windows 7


Hello,

we are experiencing an issue with the Internet Explorer and the NDK HTTP Server.
The HTTP Server provides one file (index.html, about 600 KB) and is added via AddWebfiles() containing efs_createfile().
When the Internet Explorer 11 gets this file, the content is not displayed correctly. On second sight,
the arriving file is containing the content of the received TCP packets in the wrong order.
These TCP packets arrive in the correct order - looking at the Wireshark captures on the client-side interface.
This problem is not occuring with Firefox (on the same PC).
The most of these TCP packets contain the TCP push flag.
The window size on the client size is getting smaller until a TCP zero window occures. This happens several times
during the transmission.

My current guess is that the packets with the TCP push flag overtake the other TCP packets
that are waiting in a buffer to be fetched by the application (Internet Explorer).

To be able to verify this guess and maybe fix this problem, I would like to turn off the default TCP push flag
and set TCP_NOPUSH. Until now, I wasn't able to find a way to do this for the
HTTP server (only if a socket is created inside of the application and setsockopt() can be used).

Is there a way to do this or is there another possibility why the TCP packet content arrives in the wrong
order at the Internet Explorer?

Thanks in advance.

Kind regards,
Clara