mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Update to 0.8
This commit is contained in:
parent
bc5a67c123
commit
62d8ddc149
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187772
@ -6,11 +6,9 @@
|
||||
#
|
||||
|
||||
PORTNAME= mod_bw
|
||||
PORTVERSION= 0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.8
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= bwmod
|
||||
MASTER_SITES= http://www.ivn.cl/apache/files/source/
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= apache2
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (apache2/mod_bw-0.7.tgz) = 84b43c95fedabfa93be6b6af2e5f5672
|
||||
SHA256 (apache2/mod_bw-0.7.tgz) = 21fe083874ee427887c4d2c3dac630e760aa8c6b97b2f1cbf09c2d853a1c87aa
|
||||
SIZE (apache2/mod_bw-0.7.tgz) = 18585
|
||||
MD5 (apache2/mod_bw-0.8.tgz) = 721fe85a23e677de08f72c0095cac46d
|
||||
SHA256 (apache2/mod_bw-0.8.tgz) = 75d43f586b7662ccca7d67bc67c52e25a341c6caef89a4804fedbeaee25a13b3
|
||||
SIZE (apache2/mod_bw-0.8.tgz) = 19026
|
||||
|
@ -1,23 +0,0 @@
|
||||
--- mod_bw.c.orig Mon Apr 24 03:10:44 2006
|
||||
+++ mod_bw.c Tue May 16 14:01:56 2006
|
||||
@@ -715,8 +723,10 @@
|
||||
|
||||
/* If we are too busy, deny connection */
|
||||
confid = get_maxconn(r, conf->maxconnection);
|
||||
- if ((bwstat->connection_count >= confid) && (confid > 0))
|
||||
+ if ((bwstat->connection_count >= confid) && (confid > 0)) {
|
||||
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, "exceed lmit (error=%d, count=%d, confid=%d)", conf->error, bwstat->connection_count, confid);
|
||||
return conf->error;
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Add the Filter, if in forced mode */
|
||||
@@ -810,7 +820,7 @@
|
||||
|
||||
/* Verbose Output */
|
||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
|
||||
- "ID: %ld Directory : %s Rate : %ld Minimum : %ld Size rate : %ld",
|
||||
+ "ID: %d Directory : %s Rate : %ld Minimum : %ld Size rate : %ld",
|
||||
confid, conf->directory, bw_rate, bw_min, bw_f_rate);
|
||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
|
||||
"clients : %d/%d rate/min : %ld,%ld", bwmaxconn->connection_count,
|
Loading…
Reference in New Issue
Block a user