}
}
pthread_mutex_unlock(&idle_thread_count_mutex);
+ process_socket(ptrans, csd, conn_id);
+ requests_this_child--;
} else {
SAFE_ACCEPT(accept_mutex_off(0));
SAFE_ACCEPT(intra_mutex_off(0));
pthread_mutex_unlock(&idle_thread_count_mutex);
break;
}
- process_socket(ptrans, csd, conn_id);
ap_clear_pool(ptrans);
- requests_this_child--;
}
ap_destroy_pool(tpool);
ap_accept(&csd, sd, ptrans);
SAFE_ACCEPT(accept_mutex_off(0));
SAFE_ACCEPT(intra_mutex_off(0));
+ process_socket(ptrans, csd, process_slot, thread_slot);
+ requests_this_child--;
}
else {
SAFE_ACCEPT(accept_mutex_off(0));
SAFE_ACCEPT(intra_mutex_off(0));
break;
}
- process_socket(ptrans, csd, process_slot, thread_slot);
ap_clear_pool(ptrans);
- requests_this_child--;
}
ap_destroy_pool(tpool);