Apache2
Collaboration diagram for mod_core:

Functions

apr_status_t ap_http_filter (ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
 
apr_status_t ap_h1_request_in_filter (ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
 
apr_status_t ap_h1_body_in_filter (ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
 
apr_status_t ap_h1_response_out_filter (ap_filter_t *f, apr_bucket_brigade *b)
 
apr_status_t ap_http_chunk_filter (ap_filter_t *f, apr_bucket_brigade *b)
 
apr_status_t ap_http_outerror_filter (ap_filter_t *f, apr_bucket_brigade *b)
 
char * ap_response_code_string (request_rec *r, int error_index)
 
void ap_basic_http_header (request_rec *r, apr_bucket_brigade *bb)
 
int ap_send_http_trace (request_rec *r)
 
int ap_send_http_options (request_rec *r)
 
void ap_init_rng (apr_pool_t *p)
 
void ap_random_parent_after_fork (void)
 
int ap_h1_set_keepalive (request_rec *r, ap_bucket_response *resp)
 

Variables

AP_DECLARE_DATA ap_filter_rec_tap_http_input_filter_handle
 
AP_DECLARE_DATA ap_filter_rec_tap_h1_request_in_filter_handle
 
AP_DECLARE_DATA ap_filter_rec_tap_h1_body_in_filter_handle
 
AP_DECLARE_DATA ap_filter_rec_tap_http_header_filter_handle
 
AP_DECLARE_DATA ap_filter_rec_tap_chunk_filter_handle
 
AP_DECLARE_DATA ap_filter_rec_tap_http_outerror_filter_handle
 
AP_DECLARE_DATA ap_filter_rec_tap_byterange_filter_handle
 
AP_DECLARE_DATA const char * ap_multipart_boundary
 

Detailed Description

Function Documentation

◆ ap_basic_http_header()

void ap_basic_http_header ( request_rec r,
apr_bucket_brigade bb 
)

Send the minimal part of an HTTP response header.

Parameters
rThe current request
bbThe brigade to add the header to.
Warning
Modules should be very careful about using this, and should the default behavior. Much of the HTTP/1.1 implementation correctness depends on the full headers.

◆ ap_h1_body_in_filter()

apr_status_t ap_h1_body_in_filter ( ap_filter_t f,
apr_bucket_brigade b,
ap_input_mode_t  mode,
apr_read_type_e  block,
apr_off_t  readbytes 
)

◆ ap_h1_request_in_filter()

apr_status_t ap_h1_request_in_filter ( ap_filter_t f,
apr_bucket_brigade bb,
ap_input_mode_t  mode,
apr_read_type_e  block,
apr_off_t  readbytes 
)

◆ ap_h1_response_out_filter()

apr_status_t ap_h1_response_out_filter ( ap_filter_t f,
apr_bucket_brigade b 
)

◆ ap_h1_set_keepalive()

int ap_h1_set_keepalive ( request_rec r,
ap_bucket_response resp 
)

Set the keepalive status for this request based on the response

Parameters
rThe current request
respThe response being send
Returns
1 if keepalive can be set, 0 otherwise

◆ ap_http_chunk_filter()

apr_status_t ap_http_chunk_filter ( ap_filter_t f,
apr_bucket_brigade b 
)

◆ ap_http_filter()

apr_status_t ap_http_filter ( ap_filter_t f,
apr_bucket_brigade b,
ap_input_mode_t  mode,
apr_read_type_e  block,
apr_off_t  readbytes 
)

◆ ap_http_outerror_filter()

apr_status_t ap_http_outerror_filter ( ap_filter_t f,
apr_bucket_brigade b 
)

◆ ap_init_rng()

void ap_init_rng ( apr_pool_t p)

◆ ap_random_parent_after_fork()

void ap_random_parent_after_fork ( void  )

◆ ap_response_code_string()

char* ap_response_code_string ( request_rec r,
int  error_index 
)

◆ ap_send_http_options()

int ap_send_http_options ( request_rec r)

Send an appropriate response to an http OPTIONS request.

Parameters
rThe current request

◆ ap_send_http_trace()

int ap_send_http_trace ( request_rec r)

Send an appropriate response to an http TRACE request.

Parameters
rThe current request
Note
returns DONE or the HTTP status error if it handles the TRACE, or DECLINED if the request was not for TRACE. request method was not TRACE.

Variable Documentation

◆ ap_byterange_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_byterange_filter_handle
extern

◆ ap_chunk_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_chunk_filter_handle
extern

◆ ap_h1_body_in_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_h1_body_in_filter_handle
extern

◆ ap_h1_request_in_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_h1_request_in_filter_handle
extern

◆ ap_http_header_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_http_header_filter_handle
extern

◆ ap_http_input_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_http_input_filter_handle
extern

◆ ap_http_outerror_filter_handle

AP_DECLARE_DATA ap_filter_rec_t* ap_http_outerror_filter_handle
extern

◆ ap_multipart_boundary

AP_DECLARE_DATA const char* ap_multipart_boundary
extern