requests_this_child has gone to zero or below. See if the admin coded "MaxConnectionsPerChild 0", and keep going in that case. Doing it this way simplifies the hot path in worker_thread */
| 497 | "MaxConnectionsPerChild 0", and keep going in that case. Doing it this way |
| 498 | simplifies the hot path in worker_thread */ |
| 499 | static void check_infinite_requests(void) |
| 500 | { |
| 501 | if (ap_max_requests_per_child) { |
| 502 | signal_threads(ST_GRACEFUL); |
| 503 | } |
| 504 | else { |
| 505 | requests_this_child = INT_MAX; /* keep going */ |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | static void unblock_signal(int sig) |
| 510 | { |
no test coverage detected