]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-avg-req.patch
- add fix for mod_status (average requests miscalculated)
[packages/lighttpd.git] / lighttpd-avg-req.patch
CommitLineData
eff55d69
ER
1--- lighttpd-1.3.7/src/mod_status.c~ 2005-01-12 23:38:06.000000000 +0200
2+++ lighttpd-1.3.7/src/mod_status.c 2005-01-13 00:46:20.000000000 +0200
3@@ -181,7 +181,7 @@
4 BUFFER_APPEND_STRING_CONST(b, "<b>absolute</b> (since start)\n");
5
6 BUFFER_APPEND_STRING_CONST(b, " <b>Requests</b>: ");
7- avg = p->abs_traffic_out;
8+ avg = p->abs_requests;
9 multiplier = '\0';
10 if (avg > 1000) { avg /= 1000; multiplier = 'k'; }
11 if (avg > 1000) { avg /= 1000; multiplier = 'M'; }
This page took 0.022955 seconds and 4 git commands to generate.