httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dr James Smith <...@sanger.ac.uk>
Subject Re: [users@httpd] Howto accept only one connection
Date Fri, 19 Feb 2016 13:02:37 GMT
Can you not just go into debug mode -X?


On 19/02/2016 12:52, Aurélien Terrestris wrote:
> 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@listmail.innovate.net 
> <mailto:lists-apache@listmail.innovate.net>>:
>
>
>
>     > Date: Friday, February 19, 2016 13:32:02 +0100
>     > From: Oliver Graute <oliver.graute@gmail.com
>     <mailto:oliver.graute@gmail.com>>
>     >
>     > 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@httpd.apache.org
>     <mailto:users-unsubscribe@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <mailto:users-help@httpd.apache.org>
>
>




-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
Mime
View raw message