[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] LWIP Stack [using TCP] buffer limit
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] LWIP Stack [using TCP] buffer limit |
Date: |
Tue, 26 Aug 2008 16:35:30 +0100 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
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