#include "httpd.h"#include "apr_hooks.h"#include "apr_portable.h"#include "apr_mmap.h"#include "apr_buckets.h"#include "util_filter.h"Include dependency graph for http_protocol.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | HTTP |
Defines | |
| #define | AP_METHOD_CHECK_ALLOWED(mask, methname) ((mask) & (AP_METHOD_BIT << ap_method_number_of((methname)))) |
| #define | ap_rgetline(s, n, read, r, fold, bb) ap_rgetline_core((s), (n), (read), (r), (fold), (bb)) |
| #define | AP_BUCKET_IS_ERROR(e) (e->type == &ap_bucket_type_error) |
Functions | |
| AP_DECLARE_HOOK (void, insert_error_filter,(request_rec *r)) AP_DECLARE_DATA extern ap_filter_rec_t *ap_old_write_func | |
| request_rec * | ap_read_request (conn_rec *c) |
| AP_DECLARE (void) ap_get_mime_headers(request_rec *r) | |
| AP_DECLARE (int) ap_set_keepalive(request_rec *r) | |
| AP_DECLARE (apr_time_t) ap_rationalize_mtime(request_rec *r | |
| AP_DECLARE (const char *) ap_make_content_type(request_rec *r | |
| AP_DECLARE (char *) ap_make_etag(request_rec *r | |
| AP_DECLARE (apr_status_t) ap_send_fd(apr_file_t *fd | |
| AP_DECLARE (ap_method_list_t *) ap_make_method_list(apr_pool_t *p | |
| AP_DECLARE_NONSTD (void) ap_method_list_do(int(*comp)(void *urec | |
| AP_DECLARE_NONSTD (int) ap_rvputs(request_rec *r | |
| const char | __attribute__ ((format(printf, 2, 3))) |
| AP_DECLARE (long) ap_get_client_block(request_rec *r | |
| AP_CORE_DECLARE (void) ap_parse_uri(request_rec *r | |
| AP_DECLARE_HOOK (int, post_read_request,(request_rec *r)) AP_DECLARE_HOOK(int | |
| request_rec *r | AP_DECLARE_HOOK (const char *, http_method,(const request_rec *r)) AP_DECLARE_HOOK(apr_port_t |
| AP_DECLARE (apr_bucket *) ap_bucket_error_make(apr_bucket *b | |
| AP_DECLARE_NONSTD (apr_status_t) ap_byterange_filter(ap_filter_t *f | |
Variables | |
| apr_bucket_brigade * | bb |
| int | recursive_error |
| apr_off_t | length |
| apr_time_t | mtime |
| const char * | type |
| int | force_weak |
| request_rec * | r |
| request_rec apr_off_t | offset |
| request_rec apr_off_t apr_size_t apr_size_t * | nbytes |
| const char * | methname |
| int | nelts |
| ap_method_list_t * | src |
| const char * | mname |
| const char int | mnum |
| const char int void * | rec |
| const char int void const ap_method_list_t * | ml |
| const char int void const ap_method_list_t const char int void const ap_method_list_t va_list | vp |
| const char * | method |
| const char * | ct |
| int | nbyte |
| const char * | fmt |
| const char va_list | vlist |
| int | read_policy |
| char * | buffer |
| char apr_size_t | bufsiz |
| const char ** | pw |
| const char * | uri |
| int | n |
| int request_rec int | fold |
| apr_size_t apr_size_t * | read |
| int | methnum |
| log_transaction | |
| request_rec *r | default_port |
| typedefrequest_rec *r const request_rec *r struct ap_bucket_error | ap_bucket_error |
| AP_DECLARE_DATA const apr_bucket_type_t | ap_bucket_type_error |
| int | error |
| int const char * | buf |
| int const char apr_pool_t * | p |
| const char apr_pool_t apr_bucket_alloc_t * | list |
| apr_bucket_brigade * | b |
|
|
Determine if a bucket is an error bucket
Definition at line 653 of file http_protocol.h. |
|
|
Definition at line 248 of file http_protocol.h. |
|
|
Get the next line of input for the request Note: on ASCII boxes, ap_rgetline is a macro which simply calls ap_rgetline_core to get the line of input. on EBCDIC boxes, ap_rgetline is a wrapper function which translates ASCII protocol lines to the local EBCDIC code page after getting the line of input.
Definition at line 561 of file http_protocol.h. Referenced by AP_DECLARE(), and read_request_line(). |
|
|
|
|
|
parse_uri: break apart the uri
Definition at line 508 of file core.c. References AP_CORE_DECLARE, ap_get_module_config, core_module, and sconf. |
|
|
Make the bucket passed in an error bucket
Definition at line 38 of file eoc_bucket.c. References AP_DECLARE, APR_BUCKET_INIT, and b. |
|
|
Call this in a loop. It will put data into a buffer and return the length of the input block
|
|
|
Create a new method list with the specified number of preallocated slots for extension methods.
|
|
|
Send an entire file to the client, using sendfile if supported by the current platform
|
|
|
Construct an entity tag from the resource information. If it's a real file, build in some of the file characteristics.
|
|
|
Return the latest rational time from a request/mtime pair. Mtime is returned unless it's in the future, in which case we return the current time.
|
|
|
Get XML post data and parse it
Definition at line 445 of file http_protocol.c. |
|
|
Generic accessors for other modules to set at their own module-specific data
Definition at line 1271 of file http_protocol.c. |
|
||||||||||||||||
|
Return the default port from the current request
|
|
||||||||||||||||
|
This hook allows modules to perform any module-specific logging activities over and above the normal server things.
|
|
|
|
|
|
Write an unspecified number of strings to the request
|
|
|
|
|
|
|
Definition at line 628 of file http_protocol.h. |
|
|
Definition at line 67 of file error_bucket.c. Referenced by AP_CORE_DECLARE_NONSTD(), and AP_DECLARE(). |
|
|
Definition at line 507 of file util_filter.h. Referenced by AP_DECLARE(), ap_http_filter(), ap_proxy_ftp_handler(), ap_proxy_http_handler(), APR_HOOK_STRUCT(), APR_OPTIONAL_FN_TYPE(), asis_handler(), cache_save_filter(), cgi_handler(), cgid_handler(), check_pipeline_flush(), dav_method_put(), dav_send_multistatus(), default_handler(), drain_available_output(), getsfunc_BRIGADE(), handle_map_file(), isapi_handler(), mmap_handler(), pass_request(), perchild_process_connection(), process_echo_connection(), receive_from_other_child(), send_downstream(), send_eos(), sendfile_handler(), ServerSupportFunction(), and WriteClient(). |
|
|
Definition at line 449 of file http_protocol.h. |
|
|
Definition at line 449 of file http_protocol.h. |
|
|
Definition at line 322 of file http_protocol.h. Referenced by APR_DECLARE(), maybe_byte_reverse(), mime_post_config(), and modssl_session_get_time(). |
|
|
Definition at line 626 of file http_protocol.h. |
|
|
Definition at line 664 of file http_protocol.h. Referenced by apr_socket_connect(), APU_DECLARE(), cmd_rewritelock(), common(), DAV_DECLARE_NONSTD(), dav_method_lock(), main(), prep(), prolog0(), prolog1(), prolog2(), ssl_io_filter_connect(), table_next(), table_next_r(), and table_order(). |
|
|
Definition at line 383 of file http_protocol.h. |
|
|
Definition at line 564 of file http_protocol.h. |
|
|
Definition at line 161 of file http_protocol.h. |
|
|
Definition at line 609 of file http_protocol.h. |
|
|
Definition at line 235 of file http_protocol.h. |
|
|
Definition at line 584 of file http_protocol.h. Referenced by AP_CORE_DECLARE_NONSTD(), AP_DECLARE(), and set_script(). |
|
|
Definition at line 303 of file http_protocol.h. |
|
|
Definition at line 268 of file http_protocol.h. Referenced by AP_DECLARE(). |
|
|
Definition at line 268 of file http_protocol.h. |
|
|
Definition at line 268 of file http_protocol.h. |
|
|
Definition at line 127 of file http_protocol.h. Referenced by AP_DECLARE(), and ap_proxy_ftp_handler(). |
|
|
Definition at line 505 of file http_protocol.h. Referenced by add_password(), get_dbm_pw(), main(), and mkrecord(). |
|
|
Definition at line 690 of file http_protocol.h. |
|
|
Definition at line 564 of file http_protocol.h. Referenced by AP_DECLARE(), APR_DECLARE(), apr_socket_recv(), isapi_handler(), main(), read_connection(), ReadClient(), ServerSupportFunction(), and sock_read(). |
|
|
Definition at line 426 of file http_protocol.h. |
|
|
Definition at line 94 of file http_protocol.h. Referenced by AP_DECLARE(). |
|
|
Definition at line 141 of file http_protocol.h. |
|
|
Definition at line 518 of file http_protocol.h. |
|
|
Definition at line 373 of file http_protocol.h. |
|
|
Definition at line 268 of file http_protocol.h. Referenced by AP_DECLARE_NONSTD(), APR_DECLARE_NONSTD(), ssl_scache_shmht_retrieve(), and ssl_scache_shmht_store(). |