Hangup if quickly sending multiple requests to ping_webserver

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

Test with SDK-3.1.0 + FreeRTOS build on BCM4390.

Simply test ping_webserver application without any modification.

Open a browser connect to the device and quickly pressing F5 key for about 30 times.

(just quickly press F5 until the browser cannot properly show the web page).

Close the browser and reopen the browser to connect to the device.

Sometimes the device is complete dead (ping without response).

Sometimes the device does not response to http request anymore (ping shows device is

still alive).

This is an issue to our application because our web UI will load multiple files

which is similar to the "quickly sending multiple requests" case.

Please take a look at this issue.

Thanks.

0 Likes
3 Replies
Anonymous
Not applicable

Are you able to reproduce this with the ThreadX-NetX_Duo build?

0 Likes

Can you let us know if you had luck with Netx/ThreadX

0 Likes
Anonymous
Not applicable

file-truncate.pngfile-truncated.png

It has different symptom on ThreadX-NetX/NetX_Duo.

The ERR_INVALID_CHUNKED_ENCODING happens on FreeRTOS-LwIP build.

The file transferred truncated happens on ThreadX-NetX build:

We found the web does not properly show on browser.

Use google chrome to check the network transfer and found the file size

does not match.

Note, test.css is 132K.

$ du -sh resources/apps/ping_webserver/test.css

132K    resources/apps/ping_webserver/test.css

Attcahed 2 screenshot to show the file truncated cases.

The 2 screenshot show different size transferred, both have file truncated issue.

0 Likes