lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] listening connection issue


From: Simon Goldschmidt
Subject: Re: [lwip-users] listening connection issue
Date: Wed, 17 Mar 2010 07:28:32 +0100

> You probably already do this, but if you do not put a connection:close in
> the response header and then close the tcp connection, the browser will
> consider it an error and retry the call two or three times, even if it
> displays your page.
> 
> Other things to look out for for these 'dead simple' servers are making
> sure
> you put Content-length headers in response. Some platforms are very
> particular about that - eg iPhone Safari.

Both "Connection: Close" and "Content-Length: xyz" shold only be necessary for 
a HTTP/1.1 server. You can also let the server send back a HTTP/1.0 header and 
be done with less header options (as does the current CVS HEAD httpd in 
contrib/apps). You still have to close the pcb after sending a page though.

Simon


-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01




reply via email to

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