brak brak2 <[email protected]> wrote:
> And Yes, I want to limit connection to only one because I don't have
> space in RAM for 2 or more HTTP requests

For most browser, you don't need to save the HTTP request in RAM because most 
of the time, the request will come in in one packet. I know that's not really 
conforming to the standard, but it does save a lot of RAM.

If you implement it like that, you do have to keep connection states for 2 (or 
more) connections, but not the request.

BTW, if you are that limited in RAM, you might be better off using uIP instead 
of lwIP.

Oh, and another thought regarding speed: you might trick the browser into using 
only one connection by correctly implementing HTTP/1.1 persistent connections: 
the browser might think it's faster to re-use one connection if it's a 
persistent one.

Simon
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to