[Bug 63300] mod_status lists BusyWorkers IdleWorkers keys twice

2023-07-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63300

--- Comment #10 from Yann Ylavic  ---
The typo was fixed in r1909606 already, thanks for reviewing/noticing!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 63300] mod_status lists BusyWorkers IdleWorkers keys twice

2023-07-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63300

--- Comment #9 from Tomas Korbar  ---
Hi Rainer,
I think there is a typo.

+if (res == SERVER_GRACEFUL)
+graceful++;
+if (is_async) {
+thread_graceful_buffer[i]++;
+} else {
+busy++;
+if (is_async)
 thread_busy_buffer[i]++;

You indented the first "if (is_async)" as if it was guarded by the "if (res ==
SERVER_GRACEFUL)" condition but it is not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org