#include "apr.h"#include "apr_strings.h"#include "apr_buckets.h"#include "apr_lib.h"#include "apr_signal.h"#include "apr_want.h"#include "util_filter.h"#include "ap_config.h"#include "httpd.h"#include "http_config.h"#include "http_core.h"#include "http_protocol.h"#include "http_main.h"#include "http_request.h"#include "http_vhost.h"#include "http_log.h"#include "apr_date.h"#include "util_charset.h"#include "util_ebcdic.h"#include "util_time.h"#include "mod_core.h"Include dependency graph for http_protocol.c:

Go to the source code of this file.
|
|
Definition at line 32 of file http_protocol.c. |
|
|
Definition at line 30 of file http_protocol.c. |
|
|
Definition at line 31 of file http_protocol.c. |
|
|
Definition at line 2849 of file http_protocol.c. Referenced by AP_CORE_DECLARE_NONSTD(). |
|
|
Definition at line 2616 of file http_protocol.c. Referenced by AP_DECLARE(). |
|
|
Definition at line 35 of file http_protocol.c. |
|
|
Definition at line 2615 of file http_protocol.c. Referenced by AP_DECLARE(). |
|
|
Definition at line 2595 of file http_protocol.c. Referenced by etag_ulong_to_hex(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by ap_method_registry_destroy(). |
|
|
Referenced by AP_DECLARE(). |
|
|
|
|
|
Value: "apr_brigade_partition() failed " \ "[%" APR_OFF_T_FMT ",%" APR_OFF_T_FMT "]" Definition at line 2850 of file http_protocol.c. Referenced by AP_CORE_DECLARE_NONSTD(). |
|
|
Definition at line 480 of file http_protocol.c. Referenced by lookup_builtin_method(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
Definition at line 2009 of file http_protocol.c. Referenced by get_canned_error_string(). |
|
|
|
Definition at line 2624 of file http_protocol.c. References AP_DECLARE, ap_get_module_config, APR_USEC_PER_SEC, CHARS_PER_UNSIGNED_LONG, core_module, etag_ulong_to_hex(), ETAG_WEAK, apr_finfo_t::filetype, request_rec::finfo, apr_finfo_t::inode, request_rec::mtime, request_rec::notes, NULL, request_rec::per_dir_config, request_rec::pool, request_rec::request_time, and apr_finfo_t::size. Here is the call graph for this function: ![]() |
|
|
Definition at line 2425 of file http_protocol.c. References AP_DECLARE, ap_method_list_t::method_list, ap_method_list_t::method_mask, and ml. |
|
|
Definition at line 1859 of file http_protocol.c. References AP_CONN_CLOSE, AP_DEBUG_ASSERT, AP_DECLARE, AP_MODE_READBYTES, APR_BLOCK_READ, APR_BRIGADE_EMPTY, APR_BRIGADE_LAST, APR_BUCKET_IS_EOS, APR_SUCCESS, bb, and NULL. |
|
|
Add a component to the version string
Definition at line 408 of file http_protocol.c. References AP_DECLARE, ap_method_registry_destroy(), M_BASELINE_CONTROL, M_CHECKIN, M_CHECKOUT, M_CONNECT, M_COPY, M_DELETE, M_GET, M_LABEL, M_LOCK, M_MERGE, M_MKACTIVITY, M_MKCOL, M_MKWORKSPACE, M_MOVE, M_OPTIONS, M_PATCH, M_POST, M_PROPFIND, M_PROPPATCH, M_PUT, M_REPORT, M_TRACE, M_UNCHECKOUT, M_UNLOCK, M_UPDATE, M_VERSION_CONTROL, NULL, and register_one_method(). Here is the call graph for this function: ![]() |
|
|
Get XML post data and parse it
Definition at line 257 of file http_protocol.c. References AP_DECLARE, ap_is_HTTP_SUCCESS, ap_strstr_c, APR_DATE_BAD, apr_time_sec, HTTP_NOT_MODIFIED, HTTP_PRECONDITION_FAILED, M_GET, mtime, NULL, and OK. |
|
|
Definition at line 2457 of file http_protocol.c. References AP_DECLARE_NONSTD, and vp. |
|
|
Read headers strings from a script, ensuring that the output is valid. If the output is valid, then the headers are added to the headers out of the current request
Definition at line 1365 of file http_protocol.c. |
|
||||||||||||||||||||||||
|
Definition at line 725 of file http_protocol.c. References AP_DEBUG_ASSERT, AP_MODE_GETLINE, AP_MODE_READBYTES, AP_SERVER_PROTOCOL, APLOG_ERR, APLOG_MARK, APR_BLOCK_READ, APR_BRIGADE_INSERT_HEAD, APR_BRIGADE_INSERT_TAIL, APR_SUCCESS, bb, conn_rec::bucket_alloc, ap_filter_t::c, CRLF, ctx, ap_filter_t::ctx, e, http_filter_ctx::eos_sent, request_rec::expecting_100, get_chunk_size(), request_rec::headers_in, HTTP_REQUEST_ENTITY_TOO_LARGE, HTTP_VERSION, http_filter_ctx::limit, http_filter_ctx::limit_used, line, ap_filter_t::next, NULL, request_rec::output_filters, conn_rec::output_filters, request_rec::pool, request_rec::proto_num, request_rec::proxyreq, PROXYREQ_RESPONSE, ap_filter_t::r, request_rec::remaining, http_filter_ctx::remaining, http_filter_ctx::state, status_lines, strcasecmp(), and totalread. Referenced by register_hooks(). Here is the call graph for this function: ![]() |
|
|
Definition at line 401 of file http_protocol.c. References APR_SUCCESS, METHOD_NUMBER_FIRST, and NULL. Referenced by AP_DECLARE(). |
|
|
Definition at line 3034 of file http_protocol.c. References ap_strchr_c, request_rec::assbackwards, request_rec::headers_in, request_rec::headers_out, HTTP_OK, HTTP_PARTIAL_CONTENT, match(), request_rec::range, request_rec::status, and strncasecmp(). Referenced by AP_CORE_DECLARE_NONSTD(). Here is the call graph for this function: ![]() |
|
|
Definition at line 143 of file http_protocol.c. References AP_CONN_CLOSE, AP_CONN_KEEPALIVE, ap_status_drops_connection, apr_time_sec, HTTP_NO_CONTENT, HTTP_NOT_MODIFIED, HTTP_VERSION, and left. |
|
||||||||||||||||
|
Definition at line 1212 of file http_protocol.c. References ap_xlate_proto_to_ascii, APR_RFC822_DATE_LEN, request_rec::assbackwards, header_struct::bb, CRLF, form_header_field(), h, request_rec::headers_out, NULL, header_struct::pool, request_rec::pool, request_rec::proxyreq, PROXYREQ_NONE, request_rec::request_time, server, and request_rec::status_line. Referenced by AP_CORE_DECLARE_NONSTD(), and AP_DECLARE(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 1180 of file http_protocol.c. References AP_CONN_CLOSE, AP_SERVER_PROTOCOL, request_rec::assbackwards, request_rec::connection, HTTP_VERSION, conn_rec::keepalive, request_rec::proto_num, request_rec::status, request_rec::status_line, status_lines, and request_rec::subprocess_env. Referenced by AP_CORE_DECLARE_NONSTD(), and AP_DECLARE(). |
|
||||||||||||
|
Definition at line 2596 of file http_protocol.c. References HEX_DIGITS. Referenced by AP_DECLARE(). |
|
|
Definition at line 1472 of file http_protocol.c. References request_rec::headers_out, NULL, request_rec::pool, and uniq_field_values(). Referenced by AP_CORE_DECLARE_NONSTD(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 1078 of file http_protocol.c. References ap_xlate_proto_to_ascii, header_struct::bb, CR, CRLF, LF, NULL, and header_struct::pool. Referenced by AP_CORE_DECLARE_NONSTD(), AP_DECLARE_NONSTD(), and basic_http_header(). |
|
||||||||||||||||
|
|
Parse a chunk extension, detect overflow. There are two error cases: 1) If the conversion would require too many bits, a -1 is returned. 2) If the conversion used the correct number of bits, but an overflow caused only the sign bit to flip, then that negative number is returned. In general, any negative number can be considered an overflow error. Definition at line 1814 of file http_protocol.c. References apr_isxdigit. Referenced by ap_http_filter(). |
|
||||||||||||
|
Definition at line 482 of file http_protocol.c. References M_BASELINE_CONTROL, M_CHECKIN, M_CHECKOUT, M_CONNECT, M_COPY, M_DELETE, M_GET, M_LABEL, M_LOCK, M_MERGE, M_MKACTIVITY, M_MKCOL, M_MKWORKSPACE, M_MOVE, M_OPTIONS, M_PATCH, M_POST, M_PROPFIND, M_PROPPATCH, M_PUT, M_REPORT, M_TRACE, M_UNCHECKOUT, M_UNLOCK, M_UPDATE, M_VERSION_CONTROL, and UNKNOWN_METHOD. |
|
|
Definition at line 1318 of file http_protocol.c. References request_rec::allowed_methods, AP_METHOD_BIT, apr_array_header_t::elts, key, list, M_GET, M_INVALID, mask, ap_method_list_t::method_list, ap_method_list_t::method_mask, apr_array_header_t::nelts, NULL, request_rec::pool, and val. |
|
||||||||||||||||||||
|
Definition at line 2784 of file http_protocol.c. Referenced by AP_CORE_DECLARE_NONSTD(). |
|
||||||||||||||||
|
Definition at line 389 of file http_protocol.c. References APR_HASH_KEY_STRING. Referenced by AP_DECLARE(). |
|
||||||||||||
|
Definition at line 1124 of file http_protocol.c. References ap_xlate_proto_to_ascii, APR_SUCCESS, header_struct::bb, CRLF, apr_array_header_t::elts, request_rec::headers_out, apr_table_entry_t::key, apr_array_header_t::nelts, NULL, request_rec::pool, header_struct::pool, apr_table_entry_t::val, and vec. Referenced by AP_CORE_DECLARE_NONSTD(). |
|
|
Definition at line 1296 of file http_protocol.c. References ap_xlate_proto_to_ascii, buflen, CRLF, NULL, and void(). Referenced by AP_CORE_DECLARE_NONSTD(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 1421 of file http_protocol.c. References apr_isspace, e, apr_array_header_t::elts, apr_array_header_t::nelts, nelts, apr_array_header_t::pool, start, and strcasecmp(). Referenced by fixup_vary(). Here is the call graph for this function: ![]() |
|
|
Definition at line 2841 of file http_protocol.c. References ap_strstr_c, and request_rec::headers_in. Referenced by AP_CORE_DECLARE_NONSTD(). |
|
|
Definition at line 386 of file http_protocol.c. |
|
|
Singleton registry of additional methods. This maps new method names such as "MYGET" to methnums, which are int offsets into bitmasks. This follows the same technique as standard M_GET, M_POST, etc. These are dynamically assigned when modules are loaded and <limit get="" myget=""> directives are processed. Definition at line 385 of file http_protocol.c. |
|
|
Definition at line 74 of file http_protocol.c. Referenced by AP_DECLARE(), ap_http_filter(), and basic_http_header_check(). |