lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] How to send a large dynamic generated http page?


From: Funk, Artur
Subject: [lwip-users] How to send a large dynamic generated http page?
Date: Wed, 2 May 2012 09:05:41 +0200

I've the same problem to solve. In my case they are log files with up to
64KB. With the standard LwIP http server example it's not possible to
send files with a size above the allowed buffer size. In most cases
hs->left points just to the address in this buffer. So I think the best
way is to create a other function which allows the "streaming" of the
data (filling the buffer and sending and not to close the connection,
even complete data was send).


>I want to send one http page that is 200K bytes. I only have 4K byte
buffer to work with to generate the >page.  So I have to generate it
dynamically multiple times. 

>How can I send a large page in 4k interval? 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]