lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Single connection with "httpd" web server


From: Info
Subject: [lwip-users] Single connection with "httpd" web server
Date: Tue, 12 May 2015 15:22:40 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hi all

I'm using the "httpd" (httpd.c) web server from the lwIP contribution
package on top of the lwIP 1.4.1 . The web server is running well
without any problems. I activated the LWIP_HTTPD_SUPPORT_11_KEEPALIVE
macro to keep a connection to web server open. This also works like
excepted. Now I would like to limit the number of connections to one,
that means only one user can connect to the web server (and can make
changes on the configuration of the embedded system). I think it should
be implemented in the http_accept() in such a way, that any new
connection is denied if already a connection is open.
Is this correct or how do I implement such a behaviour ? Any suggestion
would helpful.

Kind regards,
Roland




reply via email to

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