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
We better have ARM provide us source for Keil RTOS and MDK
Source for the RTX is already supplied. From what your describing, you probably mean you expect the source to the flash file system. If you were to think about it you should realize that source for MDK is not a particularly sensible item to ask for. The MDK is the name of the whole package (IDE, compilers, linkers etc).
If you expect someone to supply something, the first sensible step is to know and specify exactly what you really want.
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.