|
Apache HTTPD
|
#include "apr.h"#include "apr_portable.h"#include "apr_strings.h"#include "apr_thread_proc.h"#include "apr_signal.h"#include "apr_want.h"#include "ap_config.h"#include "httpd.h"#include "mpm_default.h"#include "http_main.h"#include "http_log.h"#include "http_config.h"#include "http_core.h"#include "http_connection.h"#include "scoreboard.h"#include "ap_mpm.h"#include "util_mutex.h"#include "unixd.h"#include "mpm_common.h"#include "ap_listen.h"#include "ap_mmn.h"#include "apr_poll.h"#include <stdlib.h>#include <signal.h>#include <sys/times.h>Go to the source code of this file.
Classes | |
| struct | prefork_retained_data |
| struct | prefork_child_bucket |
Macros | |
| #define | APR_WANT_STDIO |
| #define | APR_WANT_STRFUNC |
| #define | DEFAULT_SERVER_LIMIT 256 |
| #define | MAX_SERVER_LIMIT 200000 |
| #define | HARD_THREAD_LIMIT 1 |
| #define | MAX_SPAWN_RATE (32) |
| #define | MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid) |
| #define | chdir_for_gprof() |
| #define | SAFE_ACCEPT(stmt) (stmt) |
Typedefs | |
| typedef struct prefork_retained_data | prefork_retained_data |
| typedef struct prefork_child_bucket | prefork_child_bucket |
Variables | |
| static int | ap_daemons_to_start =0 |
| static int | ap_daemons_min_free =0 |
| static int | ap_daemons_max_free =0 |
| static int | ap_daemons_limit =0 |
| static int | server_limit = 0 |
| static prefork_retained_data * | retained |
| static prefork_child_bucket * | all_buckets |
| static prefork_child_bucket * | my_bucket |
| static int | one_process = 0 |
| static apr_pool_t * | pconf |
| static apr_pool_t * | pchild |
| static pid_t | ap_my_pid |
| static pid_t | parent_pid |
| static int | my_child_num |
| static int volatile | die_now = 0 |
| static int | requests_this_child |
| static int | num_listensocks = 0 |
| static const command_rec | prefork_cmds [] |
| static int *const | aplog_module_index = &( mpm_prefork_module.module_index) |
| #define MPM_CHILD_PID | ( | i | ) | (ap_scoreboard_image->parent[i].pid) |
|
static |
|
static |
< Descriptors passed to apr_pollset_add() * are not copied
< Can read without blocking
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has served the response completely * - it's safe to die() with no more output
< Module has served the response completely * - it's safe to die() with no more output
< Module has served the response completely * - it's safe to die() with no more output
< Module has handled this stage.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |