Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC3220: HTTP webserver not correctly handling multi-TCP-segment requests

$
0
0

Part Number:CC3220

Hi,

We are using the simplelink NWP to host webpages that contain tokens (like "__SL_P_UFR") in the html, order to pass data to the application core.

This worked just fine, until we got a feedback from a customer that the device was not accepting POST commands. This only seesm to go bad when he uses his PC with a specific USB-to-wireless device. (Android to the same simplelink device/API works just fine)


Wireshark analysis revealed the difference between working/not-working:

Please find the relevant wireshark captures in attachment here: (Please visit the site to view this file)

(The webpage in question is this: (Please visit the site to view this file))

What the customer's PC seems to be doing, is split up the HTTP request into two TCP segments. Wireshark correctly reassembles this into one HTTP POST request, and this works. But for some reason, simplelink seems to consider this a failure, and replies with a 404 error.

This seems to be a bug in the TCP/HTTP stack in simplelink, as it should just reassemble the packet, regardless of the amount of TCP segments.

(We are using simplelink_cc32xx_sdk_1_50_00_06, but I did not see any release notes about a fix for this in 1.6)

Kind regards,

Arnout


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>