#include "httpd.h"#include "http_connection.h"#include "http_config.h"#include "http_core.h"#include "http_log.h"Include dependency graph for mod_dumpio.c:

Go to the source code of this file.
Defines | |
| #define | whichmode(mode) |
Typedefs | |
| typedef dumpio_conf_t | dumpio_conf_t |
Functions | |
| static void | dumpit (ap_filter_t *f, apr_bucket *b) |
| static int | dumpio_input_filter (ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) |
| static int | dumpio_output_filter (ap_filter_t *f, apr_bucket_brigade *bb) |
| static int | dumpio_pre_conn (conn_rec *c, void *csd) |
| static void | dumpio_register_hooks (apr_pool_t *p) |
| static void * | dumpio_create_sconfig (apr_pool_t *p, server_rec *s) |
| static const char * | dumpio_enable_input (cmd_parms *cmd, void *dummy, int arg) |
| static const char * | dumpio_enable_output (cmd_parms *cmd, void *dummy, int arg) |
Variables | |
| module AP_MODULE_DECLARE_DATA | dumpio_module |
| static const command_rec | dumpio_cmds [] |
|
|
Value: ( (( mode ) == AP_MODE_READBYTES) ? "readbytes" : \ (( mode ) == AP_MODE_GETLINE) ? "getline" : \ (( mode ) == AP_MODE_EATCRLF) ? "eatcrlf" : \ (( mode ) == AP_MODE_SPECULATIVE) ? "speculative" : \ (( mode ) == AP_MODE_EXHAUSTIVE) ? "exhaustive" : \ (( mode ) == AP_MODE_INIT) ? "init" : "unknown" \ ) Definition at line 85 of file mod_dumpio.c. Referenced by dumpio_input_filter(). |
|
|
|
|
||||||||||||
|
Definition at line 171 of file mod_dumpio.c. References apr_pcalloc. |
|
||||||||||||||||
|
Definition at line 178 of file mod_dumpio.c. References ap_get_module_config, dumpio_module, dumpio_conf_t::enable_input, server_rec::module_config, NULL, and cmd_parms_struct::server. |
|
||||||||||||||||
|
Definition at line 188 of file mod_dumpio.c. References ap_get_module_config, dumpio_module, dumpio_conf_t::enable_output, server_rec::module_config, NULL, and cmd_parms_struct::server. |
|
||||||||||||||||||||||||
|
Definition at line 94 of file mod_dumpio.c. References APLOG_DEBUG, APLOG_MARK, APR_BLOCK_READ, APR_BRIGADE_FIRST, APR_BRIGADE_SENTINEL, APR_BUCKET_NEXT, APR_SUCCESS, b, conn_rec::base_server, ap_filter_t::c, c, dumpit(), ap_filter_t::frec, ap_filter_rec_t::name, ap_filter_t::next, and whichmode. Referenced by dumpio_register_hooks(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 123 of file mod_dumpio.c. References APLOG_DEBUG, APLOG_MARK, APR_BRIGADE_FIRST, APR_BRIGADE_SENTINEL, APR_BUCKET_INSERT_BEFORE, APR_BUCKET_IS_EOS, APR_BUCKET_NEXT, b, conn_rec::base_server, conn_rec::bucket_alloc, ap_filter_t::c, c, dumpit(), flush, ap_filter_t::frec, ap_filter_rec_t::name, and ap_filter_t::next. Referenced by dumpio_register_hooks(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 144 of file mod_dumpio.c. References ap_get_module_config, conn_rec::base_server, dumpio_module, dumpio_conf_t::enable_input, dumpio_conf_t::enable_output, server_rec::module_config, NULL, and OK. Referenced by dumpio_register_hooks(). |
|
|
Definition at line 157 of file mod_dumpio.c. References AP_FTYPE_CONNECTION, APR_HOOK_MIDDLE, dumpio_input_filter(), dumpio_output_filter(), dumpio_pre_conn(), and NULL. Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 46 of file mod_dumpio.c. References APLOG_DEBUG, APLOG_MARK, APR_BLOCK_READ, APR_BUCKET_IS_METADATA, apr_bucket_read, APR_SUCCESS, conn_rec::base_server, buf, ap_filter_t::c, c, ap_filter_t::frec, apr_bucket::length, apr_bucket_type_t::name, ap_filter_rec_t::name, nbytes, and apr_bucket::type. Referenced by dumpio_input_filter(), and dumpio_output_filter(). |
|
|
Initial value: {
AP_INIT_FLAG("DumpIOInput", dumpio_enable_input, NULL,
RSRC_CONF, "Enable I/O Dump on Input Data"),
AP_INIT_FLAG("DumpIOOutput", dumpio_enable_output, NULL,
RSRC_CONF, "Enable I/O Dump on Output Data"),
{ NULL }
}
Definition at line 198 of file mod_dumpio.c. |
|
|
Initial value: {
STANDARD20_MODULE_STUFF,
NULL,
NULL,
dumpio_create_sconfig,
NULL,
dumpio_cmds,
dumpio_register_hooks
}
Definition at line 206 of file mod_dumpio.c. Referenced by dumpio_enable_input(), dumpio_enable_output(), and dumpio_pre_conn(). |