Apache HTTPD
Macros | Enumerations | Functions | Variables

Macros

#define DEFAULT_THREAD_LIMIT   1920
 
#define MAX_THREAD_LIMIT   15000
 
#define DEFAULT_THREADS_PER_CHILD   64
 
#define HARD_SERVER_LIMIT   1
 
#define SERVICE_APACHE_RESTART   128
 
#define AP_DEFAULT_SERVICE_NAME   "Apache2.4"
 
#define SERVICECONFIG   "System\\CurrentControlSet\\Services\\%s"
 
#define SERVICEPARAMS   "System\\CurrentControlSet\\Services\\%s\\Parameters"
 

Enumerations

enum  ap_signal_parent_e { SIGNAL_PARENT_SHUTDOWN , SIGNAL_PARENT_RESTART , SIGNAL_PARENT_RESTART_GRACEFUL }
 

Functions

apr_status_t mpm_service_set_name (apr_pool_t *p, const char **display_name, const char *set_name)
 
apr_status_t mpm_merge_service_args (apr_pool_t *p, apr_array_header_t *args, int fixed_args)
 
apr_status_t mpm_service_to_start (const char **display_name, apr_pool_t *p)
 
apr_status_t mpm_service_started (void)
 
apr_status_t mpm_service_install (apr_pool_t *ptemp, int argc, char const *const *argv, int reconfig)
 
apr_status_t mpm_service_uninstall (void)
 
apr_status_t mpm_service_start (apr_pool_t *ptemp, int argc, char const *const *argv)
 
void mpm_signal_service (apr_pool_t *ptemp, int signal)
 
void mpm_service_stopping (void)
 
void mpm_start_console_handler (void)
 
void mpm_start_child_console_handler (void)
 
void mpm_nt_eventlog_stderr_open (const char *display_name, apr_pool_t *p)
 
void mpm_nt_eventlog_stderr_flush (void)
 
void clean_child_exit (int)
 
void ap_signal_parent (ap_signal_parent_e type)
 
void hold_console_open_on_error (void)
 
void child_main (apr_pool_t *pconf, DWORD parent_pid)
 

Variables

int ap_threads_per_child
 
DWORD my_pid
 
apr_proc_mutex_tstart_mutex
 
HANDLE exit_event
 
int winnt_mpm_state
 
OSVERSIONINFO osver
 
DWORD stack_res_flag
 

Detailed Description

Macro Definition Documentation

◆ AP_DEFAULT_SERVICE_NAME

#define AP_DEFAULT_SERVICE_NAME   "Apache2.4"

Definition at line 36 of file mpm_winnt.h.

◆ DEFAULT_THREAD_LIMIT

#define DEFAULT_THREAD_LIMIT   1920

Definition at line 37 of file mpm_default.h.

◆ DEFAULT_THREADS_PER_CHILD

#define DEFAULT_THREADS_PER_CHILD   64

Definition at line 52 of file mpm_default.h.

◆ HARD_SERVER_LIMIT

#define HARD_SERVER_LIMIT   1

Definition at line 57 of file mpm_default.h.

◆ MAX_THREAD_LIMIT

#define MAX_THREAD_LIMIT   15000

Definition at line 45 of file mpm_default.h.

◆ SERVICE_APACHE_RESTART

#define SERVICE_APACHE_RESTART   128

Definition at line 33 of file mpm_winnt.h.

◆ SERVICECONFIG

#define SERVICECONFIG   "System\\CurrentControlSet\\Services\\%s"

Definition at line 39 of file mpm_winnt.h.

◆ SERVICEPARAMS

#define SERVICEPARAMS   "System\\CurrentControlSet\\Services\\%s\\Parameters"

Definition at line 40 of file mpm_winnt.h.

Enumeration Type Documentation

◆ ap_signal_parent_e

Enumerator
SIGNAL_PARENT_SHUTDOWN 
SIGNAL_PARENT_RESTART 
SIGNAL_PARENT_RESTART_GRACEFUL 

Definition at line 83 of file mpm_winnt.h.

Function Documentation

◆ ap_signal_parent()

void ap_signal_parent ( ap_signal_parent_e  type)

◆ child_main()

void child_main ( apr_pool_t pconf,
DWORD  parent_pid 
)

◆ clean_child_exit()

static void clean_child_exit ( int  code)
extern

Definition at line 440 of file worker.c.

◆ hold_console_open_on_error()

void hold_console_open_on_error ( void  )

Definition at line 111 of file service.c.

◆ mpm_merge_service_args()

apr_status_t mpm_merge_service_args ( apr_pool_t p,
apr_array_header_t args,
int  fixed_args 
)

< Open the file for reading

<

Deprecated:
See also
APR_FOPEN_READ

Definition at line 606 of file service.c.

◆ mpm_nt_eventlog_stderr_flush()

void mpm_nt_eventlog_stderr_flush ( void  )

Definition at line 119 of file nt_eventlog.c.

◆ mpm_nt_eventlog_stderr_open()

void mpm_nt_eventlog_stderr_open ( const char display_name,
apr_pool_t p 
)

< Open the file for writing

<

Deprecated:
See also
APR_FOPEN_WRITE

Definition at line 133 of file nt_eventlog.c.

◆ mpm_service_install()

apr_status_t mpm_service_install ( apr_pool_t ptemp,
int  argc,
char const *const argv,
int  reconfig 
)

< Open the file for reading

<

Deprecated:
See also
APR_FOPEN_READ

< Open the file for writing

<

Deprecated:
See also
APR_FOPEN_WRITE

< Create the file if not there

<

Deprecated:
See also
APR_FOPEN_CREATE

Definition at line 744 of file service.c.

◆ mpm_service_set_name()

apr_status_t mpm_service_set_name ( apr_pool_t p,
const char **  display_name,
const char set_name 
)

< Open the file for reading

<

Deprecated:
See also
APR_FOPEN_READ

Definition at line 561 of file service.c.

◆ mpm_service_start()

apr_status_t mpm_service_start ( apr_pool_t ptemp,
int  argc,
char const *const argv 
)

Definition at line 1035 of file service.c.

◆ mpm_service_started()

apr_status_t mpm_service_started ( void  )

Definition at line 730 of file service.c.

◆ mpm_service_stopping()

void mpm_service_stopping ( void  )

Definition at line 738 of file service.c.

◆ mpm_service_to_start()

apr_status_t mpm_service_to_start ( const char **  display_name,
apr_pool_t p 
)

Definition at line 684 of file service.c.

◆ mpm_service_uninstall()

apr_status_t mpm_service_uninstall ( void  )

Definition at line 946 of file service.c.

◆ mpm_signal_service()

void mpm_signal_service ( apr_pool_t ptemp,
int  signal 
)

Definition at line 1147 of file service.c.

◆ mpm_start_child_console_handler()

void mpm_start_child_console_handler ( void  )

Definition at line 213 of file service.c.

◆ mpm_start_console_handler()

void mpm_start_console_handler ( void  )

Definition at line 206 of file service.c.

Variable Documentation

◆ ap_threads_per_child

int ap_threads_per_child
extern

◆ exit_event

HANDLE exit_event
extern

◆ my_pid

DWORD my_pid
extern

◆ osver

OSVERSIONINFO osver
extern

◆ stack_res_flag

DWORD stack_res_flag
extern

◆ start_mutex

apr_proc_mutex_t* start_mutex
extern

◆ winnt_mpm_state

int winnt_mpm_state
extern