Re: Howto accept only one connection

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

 



Richard, is this a config that you tried successfully ? On my server, "prefork MPM" will put requests in the backlog (waiting), and "event MPM" is not designed for such behaviours because of its multi-threading model (I did not try "hybrid MPM" since it is supposed to be multi-threaded as well)



2016-02-19 13:46 GMT+01:00 Richard <lists-apache@xxxxxxxxxxxxxxxxxxxxx>:


> Date: Friday, February 19, 2016 13:32:02 +0100
> From: Oliver Graute <oliver.graute@xxxxxxxxx>
>
> On 19/02/16, Jim Jagielski wrote:
>> Just one connection? By that do you mean one concurrent user or
>> actually one request or actually one connection?
>>
>> A connection is a socket opened between the client and the server.
>> A request is a HTTP request on that connection.
>
> 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.
>
> Best Regards,
>
> Oliver
>

Other than humoring a customer, who may not understand what they are
asking for, what is the goal of trying to do this?

I don't think the server will be very usable -- basically you want
to set "startservers" to 1, "spareservers" to 0 and "maxclients" to
1.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux