Apache HTTPD
Functions | Variables

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_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)
 
charap_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)
 

Variables

ap_filter_rec_tap_http_input_filter_handle
 
ap_filter_rec_tap_http_header_filter_handle
 
ap_filter_rec_tap_chunk_filter_handle
 
ap_filter_rec_tap_http_outerror_filter_handle
 
ap_filter_rec_tap_byterange_filter_handle
 
const charap_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.

Definition at line 1165 of file http_filters.c.

◆ ap_http_chunk_filter()

apr_status_t ap_http_chunk_filter ( ap_filter_t f,
apr_bucket_brigade b 
)

Definition at line 47 of file chunk_filter.c.

◆ 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 
)

< Origin response

< Origin response

Definition at line 340 of file http_filters.c.

◆ ap_http_outerror_filter()

apr_status_t ap_http_outerror_filter ( ap_filter_t f,
apr_bucket_brigade b 
)

Definition at line 1874 of file http_filters.c.

◆ ap_init_rng()

void ap_init_rng ( apr_pool_t p)

Definition at line 5435 of file core.c.

◆ ap_random_parent_after_fork()

void ap_random_parent_after_fork ( void  )

Definition at line 5420 of file core.c.

◆ ap_response_code_string()

char * ap_response_code_string ( request_rec r,
int  error_index 
)

Definition at line 878 of file core.c.

◆ 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

< Module declines to handle

< Module has handled this stage.

Definition at line 1078 of file http_protocol.c.

◆ 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.

RFC 2616: HTTP

< Module declines to handle

< Module has served the response completely * - it's safe to die() with no more output

Definition at line 1183 of file http_filters.c.

Variable Documentation

◆ ap_byterange_filter_handle

ap_filter_rec_t* ap_byterange_filter_handle
extern

Definition at line 42 of file http_core.c.

◆ ap_chunk_filter_handle

ap_filter_rec_t* ap_chunk_filter_handle
extern

Definition at line 40 of file http_core.c.

◆ ap_http_header_filter_handle

ap_filter_rec_t* ap_http_header_filter_handle
extern

Definition at line 39 of file http_core.c.

◆ ap_http_input_filter_handle

ap_filter_rec_t* ap_http_input_filter_handle
extern

Definition at line 38 of file http_core.c.

◆ ap_http_outerror_filter_handle

ap_filter_rec_t* ap_http_outerror_filter_handle
extern

Definition at line 41 of file http_core.c.

◆ ap_multipart_boundary

const char* ap_multipart_boundary
extern

Definition at line 44 of file http_core.c.