> 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


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to