httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Countdown to 1.2b5
Date Sun, 26 Jan 1997 00:59:00 GMT
On Sat, 25 Jan 1997, Alexei Kosut wrote:
> Sure. Here's the patch. It does what Dean reccomended, setting up
> seperate structure members for KeepAlive and MaxKeepAliveRequests.

+1 Tested and works great.  Here's an extra patch that should be applied
to mod_info to make it output the new structure members.

Dean

Index: mod_info.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_info.c,v
retrieving revision 1.10
diff -c -3 -r1.10 mod_info.c
*** mod_info.c	1997/01/20 04:28:14	1.10
--- mod_info.c	1997/01/26 00:59:07
***************
*** 311,317 ****
  			rputs(buf,r);
  			ap_snprintf(buf, sizeof(buf), "<strong>Daemons:</strong> <tt>start:
%d &nbsp;&nbsp; min idle: %d &nbsp;&nbsp; max idle: %d &nbsp;&nbsp;
max: %d</tt><br>\n",daemons_to_start,daemons_min_free,daemons_max_free,daemons_limit);
  			rputs(buf,r);
! 			ap_snprintf(buf, sizeof(buf), "<strong>Max Requests:</strong> <tt>per
child: %d &nbsp;&nbsp; per connection: %d</tt><br>\n",max_requests_per_child,serv->keep_alive);
  			rputs(buf,r);
  			ap_snprintf(buf, sizeof(buf), "<strong>Timeouts:</strong> <tt>connection:
%d &nbsp;&nbsp; keep-alive: %d</tt><br>",serv->timeout,serv->keep_alive_timeout);
  			rputs(buf,r);
--- 317,323 ----
  			rputs(buf,r);
  			ap_snprintf(buf, sizeof(buf), "<strong>Daemons:</strong> <tt>start:
%d &nbsp;&nbsp; min idle: %d &nbsp;&nbsp; max idle: %d &nbsp;&nbsp;
max: %d</tt><br>\n",daemons_to_start,daemons_min_free,daemons_max_free,daemons_limit);
  			rputs(buf,r);
! 			ap_snprintf(buf, sizeof(buf), "<strong>Max Requests:</strong> <tt>per
child: %d &nbsp;&nbsp; keep alive: %s &nbsp;&nbsp; max per connection: %d</tt><br>\n",max_requests_per_child,serv->keep_alive
? "on":"off", serv->keep_alive_max);
  			rputs(buf,r);
  			ap_snprintf(buf, sizeof(buf), "<strong>Timeouts:</strong> <tt>connection:
%d &nbsp;&nbsp; keep-alive: %d</tt><br>",serv->timeout,serv->keep_alive_timeout);
  			rputs(buf,r);



Mime
View raw message