Muhamed Fauzi Bin Abbas wrote: > Hello, > > I have managed to get LWIP working on an RTOS called T-Kernel. I have > also added a simple http server on it. However, I recently realised that > I can only access files that have a max file size of 63K. Anything > bigger then 63K would return only part of the file. So if I tried to > retrieve file ranging from 64K and above, I would only get about 30K of > data, but if I tried to retrieve a 63K or smaller file, I can get it > completely. > > I suspect I might be due to a buffer limit, but I do not know where to > look at. I have tried to read and re-read the lwip documents and past > mailing list, but can't pin-point where the limit might be set (too many > option which I do not understand). Can anyone please point me out to a > right direction so that I may be able to resolve this problem. Thank > you.
Which API are you using? And which version of lwIP? With the raw API, lwIP can only write up to 64k at a time. With other APIs it should work, but maybe hasn't been well tested. Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["Si fractum non sit, noli id reficere"]------ Opinions==mine _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
