thanks for your help, Jim!
the problem was in the type of the diverse variables that refer to the length of files to send.
if the length variables are define u16_t or int, I can send up to 65k (u16_t means 16 bit->so length is 65535 max); in this case I can't send a file which is 85k (in fact the file was truncated). so I changed EVERY length variables in u32_t or long int and now everything works fine!
Rocco ^_^
--- Lun 11/7/11, Pettinato, Jim <address@hidden> ha scritto:
Da: Pettinato, Jim <address@hidden> Oggetto: Re: [lwip-users] page complexity A: "Mailing list for lwIP users" <address@hidden> Data: Lunedì 11 luglio 2011, 14:20
What does Wireshark show? Are the pages being returned at all?
I’m assuming you’ve tested the basic page construct directly loading the html file locally and all works, so the problem is not the html itself?
If the problem does turn out to be the lwIP web server, usually these types of problems are caused by resource depletion (pbufs, tcp pcbs, etc.). Make sure you’ve allocated enough. Enabling stats and checking the usage levels of the lwip memory pools, etc. will likely help you find the cause.
Good luck,
- Jim
From: address@hidden [mailto:address@hidden On Behalf Of rocco brandi Sent: Friday, July 08, 2011 1:48 AM To: address@hidden Subject: [lwip-users] page complexity
hi everybody!
I have this problem: if I have to display a simple web page (like the lwip sample) everything works fine, but if I have a page more "complicated" (a table, a form with more than two input...) I don't see nothing
any suggestions?
Thanks, Rocco |
-----Segue allegato-----
|