#include "apr.h"
#include "apr_strings.h"
#include "apr_thread_proc.h"
#include "apr_optional.h"
#include "apr_buckets.h"
#include "apr_lib.h"
#include "apr_poll.h"
#include "apr_want.h"
#include "util_filter.h"
#include "ap_config.h"
#include "httpd.h"
#include "http_config.h"
#include "http_request.h"
#include "http_core.h"
#include "http_protocol.h"
#include "http_main.h"
#include "http_log.h"
#include "ap_mpm.h"
#include "mod_core.h"
#include "mod_cgi.h"
#include "cgi_common.h"
Go to the source code of this file.
|
| static void | discard_script_output (apr_bucket_brigade *bb) |
| |
| static int | is_scriptaliased (request_rec *r) |
| |
| static void * | create_cgi_config (apr_pool_t *p, server_rec *s) |
| |
| static void * | merge_cgi_config (apr_pool_t *p, void *basev, void *overridesv) |
| |
| static void * | create_cgi_dirconf (apr_pool_t *p, char *dummy) |
| |
| static const char * | set_scriptlog (cmd_parms *cmd, void *dummy, const char *arg) |
| |
| static const char * | set_scriptlog_length (cmd_parms *cmd, void *dummy, const char *arg) |
| |
| static const char * | set_scriptlog_buffer (cmd_parms *cmd, void *dummy, const char *arg) |
| |
| static const char * | set_script_timeout (cmd_parms *cmd, void *dummy, const char *arg) |
| |
| static int | log_script (request_rec *r, cgi_server_conf *conf, int ret, char *dbuf, const char *sbuf, apr_bucket_brigade *bb, apr_file_t *script_err) |
| |
| static void | add_ssi_vars (request_rec *r) |
| |
| static void | cgi_child_errfn (apr_pool_t *pool, apr_status_t err, const char *description) |
| |
| static apr_status_t | run_cgi_child (apr_file_t **script_out, apr_file_t **script_in, apr_file_t **script_err, const char *command, const char *const argv[], request_rec *r, apr_pool_t *p, cgi_exec_info_t *e_info) |
| |
| static apr_status_t | default_build_command (const char **cmd, const char ***argv, request_rec *r, apr_pool_t *p, cgi_exec_info_t *e_info) |
| |
| static int | cgi_handler (request_rec *r) |
| |
| static apr_status_t | include_cgi (include_ctx_t *ctx, ap_filter_t *f, apr_bucket_brigade *bb, char *s) |
| |
| static apr_status_t | include_cmd (include_ctx_t *ctx, ap_filter_t *f, apr_bucket_brigade *bb, const char *command) |
| |
| static int | cgi_post_config (apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) |
| |
| static void | register_hooks (apr_pool_t *p) |
| |
◆ APR_WANT_MEMFUNC
◆ APR_WANT_STRFUNC
◆ DEFAULT_BUFBYTES
◆ DEFAULT_LOGBYTES
| #define DEFAULT_LOGBYTES 10385760 |
◆ add_ssi_vars()
◆ cgi_child_errfn()
◆ cgi_handler()
< Module declines to handle
Definition at line 509 of file mod_cgi.c.
◆ cgi_post_config()
< Module has handled this stage.
Definition at line 750 of file mod_cgi.c.
◆ create_cgi_config()
◆ create_cgi_dirconf()
◆ default_build_command()
◆ discard_script_output()
◆ include_cgi()
◆ include_cmd()
◆ is_scriptaliased()
◆ log_script()
◆ merge_cgi_config()
| static void * merge_cgi_config |
( |
apr_pool_t * |
p, |
|
|
void * |
basev, |
|
|
void * |
overridesv |
|
) |
| |
|
static |
◆ register_hooks()
◆ run_cgi_child()
◆ set_script_timeout()
◆ set_scriptlog()
◆ set_scriptlog_buffer()
◆ set_scriptlog_length()
◆ aplog_module_index
| int* const aplog_module_index = &( cgi_module.module_index) |
|
static |
◆ cgi_build_command
◆ cgi_cmds
Initial value:=
{
{
"CGIScriptTimeout" ,
set_script_timeout ,
NULL , 128 | 64 ,
TAKE1,
"The amount of time to wait between successful reads from " "the CGI script, in seconds." },
}
static const char * set_scriptlog_length(cmd_parms *cmd, void *dummy, const char *arg)
static const char * set_script_timeout(cmd_parms *cmd, void *dummy, const char *arg)
static const char * set_scriptlog_buffer(cmd_parms *cmd, void *dummy, const char *arg)
static const char * set_scriptlog(cmd_parms *cmd, void *dummy, const char *arg)
Definition at line 175 of file mod_cgi.c.