lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] http keep-alive


From: Bernhard 'Gustl' Bauer
Subject: [lwip-users] http keep-alive
Date: Thu, 19 Feb 2009 09:49:52 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Hi,

I try to speed up my lwip implementation by using keep-alive http connections. I have enabled LWIP_TCP_KEEPALIVE but I don't really think I need it, because I never reach the timeout.

If I read httpd.c correct every time a file is sent out the http connection is closed by close_conn(). I want to replace close_conn() with a function that does all the necessary things to receive another paket without closing the connection and call http_recv() again. Maybe I need some timeout and close the connection if the browser has shut down.

Any ideas how to do this would be appreciated.

TIA

Gustl




reply via email to

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