httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] Howto accept only one connection
Date Fri, 19 Feb 2016 13:43:24 GMT
On Fri, Feb 19, 2016 at 1:32 PM, Oliver Graute <oliver.graute@gmail.com> wrote:
>
> my requirement is:
>
>  "The Apache server listens on port 443i (https). It must accept only one
> connection at a time on this port"
>
> so its one socket opened between the client and the server.

I guess "ServerLimit 1" would do it (along with "ThreadLimit 1" if
using a threaded MPM).
But this is not only one connection per client at a time, but really
one connection at a time for all possible clients.
That is, if multiple clients try to connect simultaneously, each one
will have to wait for the currently handled/queued connection(s) to
finish before getting an answer.
Not sure this has any practical use case...

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message