Hi,
I am using HTTP server based on Keil TCP/IP stack. It is very slow downloading my CSS, JS and HTML files.
I can see in Wireshark logs Keil stack is causing Retransmission of TCP packets that is why it is slow download files. some files are taking 3 seconds to download.
As compare Apache server. It very fast download only takes few milliseconds for same set of files.
Can we ask browser to cache some of the files.
Thanks, Naeem
Hi Peter,
Thanks for clarification.
Sorry for not very clear in term of asking source code. Yes I meant source code for RTX RTOS and their components such as network and file system.
For example, I did try to step into fopen C function, however I could not.
Keil can supply source code - but some parts will require $$$ or €€€ to change hands first. I think earlier they wanted €5000 per seat for the networking source code.
I am now using latest Keil MDK for FileSystem and Network component.
netHTTPs_fopen file_name='xmlHttp.cgx' Start Task='GenerateApplicationSettingsFileTask' execute 7628 bytes in 2 free blocks (avge size 3814) 1 blocks 2^8+1 to 2^9 1 blocks 2^11+1 to 2^12 netHTTPs_fclose file
When from my web page JavaScript ajax call and during ajax call in seperate thread I do fopen in GenerateApplicationSettingsFileTask which hangs wait for mutex because mutex is acquired by netHTTPs_fopen. It does not release.
Am I doing something. It used to work few months back . could be previews version of MDK.