|
From: | address@hidden |
Subject: | Re: [lwip-users] Single connection with "httpd" web server |
Date: | Tue, 12 May 2015 21:18:37 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Info wrote:
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).
That's not a good idea. It's just not the way HTTP and browsers work. Every browser will open multiple connections and expect them to succeed. It won't use the first (successful) connection to load files that fail to download on a 2nd connection.
You should instead implement a login/logout/timeout procedure to limit configuration changes. However, that's not provided as a service by our webserver (yet?).
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |