Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

conn_rec Struct Reference

#include <httpd.h>


Data Fields

apr_pool_tpool
server_recbase_server
void * vhost_lookup_data
apr_sockaddr_tlocal_addr
apr_sockaddr_tremote_addr
char * remote_ip
char * remote_host
char * remote_logname
unsigned aborted:1
ap_conn_keepalive_e keepalive
signed int double_reverse:2
int keepalives
char * local_ip
char * local_host
long id
ap_conf_vector_tconn_config
apr_table_tnotes
ap_filter_tinput_filters
ap_filter_toutput_filters
void * sbh
apr_bucket_alloc_tbucket_alloc


Detailed Description

Structure to store things which are per connection

Definition at line 940 of file httpd.h.


Field Documentation

unsigned conn_rec::aborted
 

Are we still talking?

Definition at line 965 of file httpd.h.

Referenced by AP_DECLARE_NONSTD(), ap_process_http_connection(), ap_proxy_ftp_handler(), ap_proxy_http_process_response(), APR_OPTIONAL_FN_TYPE(), bio_filter_out_flush(), log_connection_status(), r_flush(), ServerSupportFunction(), ssl_filter_io_shutdown(), ssl_hook_Access(), ssl_hook_pre_connection(), ssl_io_filter_input(), ssl_io_filter_output(), and store_body().

server_rec* conn_rec::base_server
 

Physical vhost this conn came in on

Definition at line 944 of file httpd.h.

Referenced by ap_read_request(), APR_OPTIONAL_FN_TYPE(), convert_secure_socket(), core_create_conn(), dumpio_input_filter(), dumpio_output_filter(), dumpio_pre_conn(), dumpit(), net_time_filter(), process_echo_connection(), ssl_callback_GetSessionCacheEntry(), ssl_callback_LogTracingState(), ssl_callback_NewSessionCacheEntry(), ssl_callback_proxy_cert(), ssl_callback_SSLVerify(), ssl_callback_SSLVerify_CRL(), ssl_callback_TmpDH(), ssl_callback_TmpRSA(), ssl_engine_disable(), ssl_filter_io_shutdown(), ssl_filter_write(), ssl_hook_pre_connection(), ssl_io_data_cb(), ssl_io_filter_connect(), ssl_io_filter_error(), ssl_io_filter_init(), ssl_io_input_read(), ssl_is_https(), and ssl_proxy_enable().

struct apr_bucket_alloc_t* conn_rec::bucket_alloc
 

The bucket allocator to use for all bucket/brigade creations

Definition at line 998 of file httpd.h.

Referenced by AP_CORE_DECLARE_NONSTD(), ap_http_filter(), ap_proxy_ftp_handler(), ap_proxy_http_create_connection(), ap_proxy_http_handler(), ap_proxy_http_process_response(), ap_proxy_http_request(), ap_proxy_send_dir_filter(), ap_read_request(), APR_OPTIONAL_FN_TYPE(), asis_handler(), bio_filter_out_ctx_new(), bucketeer_out_filter(), buffer_output(), cache_save_filter(), CaseFilterInFilter(), CaseFilterOutFilter(), cgi_handler(), cgid_handler(), check_pipeline_flush(), chunk_filter(), core_create_conn(), core_input_filter(), dav_finish_multistatus(), dav_send_multistatus(), default_handler(), deflate_in_filter(), drain_available_output(), dumpio_output_filter(), ef_output_filter(), end_output_stream(), find_code_page(), handle_echo(), handle_elif(), handle_if(), handle_map_file(), handle_printenv(), include_cgi(), include_cmd(), includes_filter(), isapi_handler(), logio_out_filter(), mmap_handler(), process_echo_connection(), proxy_ftp_command(), send_downstream(), send_eos(), sendfile_handler(), ServerSupportFunction(), ssl_io_filter_error(), ssl_io_filter_input(), ssl_io_input_add_filter(), WriteClient(), and xlate_in_filter().

struct ap_conf_vector_t* conn_rec::conn_config
 

Config vector containing pointers to connections per-server config structures.

Definition at line 987 of file httpd.h.

Referenced by ap_logio_add_bytes_out(), ap_process_http_connection(), ap_proxy_connect_handler(), ap_proxy_ftp_handler(), ap_proxy_http_create_connection(), ap_proxy_http_handler(), core_create_conn(), isSecureUpgraded(), log_bytes_in(), log_bytes_out(), logio_in_filter(), logio_pre_conn(), logio_transaction(), net_time_filter(), nwssl_pre_connection(), our_cconfig(), pass_request(), perchild_post_read(), ssl_io_filter_Upgrade(), and ssl_is_https().

signed int conn_rec::double_reverse
 

have we done double-reverse DNS? -1 yes/failure, 0 not yet, 1 yes/success

Definition at line 973 of file httpd.h.

long conn_rec::id
 

ID of this connection; unique at any point in time

Definition at line 984 of file httpd.h.

Referenced by ap_proxy_ftp_handler(), ap_proxy_http_create_connection(), cleanup_script(), core_create_conn(), gen_unique_id(), include_cmd(), perchild_post_read(), read_request_line(), send_req(), ssl_filter_io_shutdown(), ssl_hook_pre_connection(), and ssl_hook_Translate().

struct ap_filter_t* conn_rec::input_filters
 

A list of input filters to be used for this connection

Definition at line 992 of file httpd.h.

Referenced by ap_proxy_ftp_handler(), ap_read_request(), pass_request(), and process_echo_connection().

ap_conn_keepalive_e conn_rec::keepalive
 

Are we going to keep the connection alive for another request?

See also:
ap_conn_keepalive_e

Definition at line 969 of file httpd.h.

Referenced by AP_DECLARE(), ap_process_http_connection(), ap_proxy_http_process_response(), ap_proxy_http_request(), APR_OPTIONAL_FN_TYPE(), basic_http_header_check(), check_pipeline_flush(), log_connection_status(), net_time_filter(), and ServerSupportFunction().

int conn_rec::keepalives
 

How many times have we used it?

Definition at line 976 of file httpd.h.

Referenced by log_connection_status(), and ssl_hook_Translate().

apr_sockaddr_t* conn_rec::local_addr
 

local address

Definition at line 950 of file httpd.h.

Referenced by check_hostalias(), core_create_conn(), isSecureConnEx(), and rfc1413_query().

char* conn_rec::local_host
 

used for ap_get_server_name when UseCanonicalName is set to DNS (ignores setting of HostnameLookups)

Definition at line 981 of file httpd.h.

char* conn_rec::local_ip
 

server IP address

Definition at line 978 of file httpd.h.

Referenced by compare_ipports(), core_create_conn(), log_local_address(), match_headers(), mva_translate(), and rfc1413_connect().

apr_table_t* conn_rec::notes
 

Notes on *this* connection: send note from one module to another. must remain valid for all requests on this conn

Definition at line 990 of file httpd.h.

Referenced by core_create_conn(), and nwssl_pre_connection().

struct ap_filter_t* conn_rec::output_filters
 

A list of output filters to be used for this connection

Definition at line 994 of file httpd.h.

Referenced by ap_http_filter(), ap_proxy_connect_handler(), ap_proxy_http_request(), ap_read_request(), check_pipeline_flush(), perchild_process_connection(), process_echo_connection(), and proxy_ftp_command().

apr_pool_t* conn_rec::pool
 

Pool associated with this connection

Definition at line 942 of file httpd.h.

Referenced by add_any_filter_handle(), ap_proxy_ftp_handler(), ap_proxy_http_create_connection(), ap_proxy_http_determine_connection(), ap_proxy_http_handler(), ap_read_request(), APR_OPTIONAL_FN_TYPE(), bio_filter_out_ctx_new(), core_create_conn(), core_input_filter(), core_pre_connection(), includes_filter(), logio_pre_conn(), nwssl_pre_connection(), perchild_post_read(), perchild_process_connection(), process_echo_connection(), rfc1413_connect(), rfc1413_query(), ssl_filter_io_shutdown(), ssl_hook_pre_connection(), ssl_hook_UserCheck(), ssl_init_connection_ctx(), ssl_io_filter_connect(), ssl_io_filter_init(), ssl_io_input_add_filter(), and ssl_var_lookup().

apr_sockaddr_t* conn_rec::remote_addr
 

remote address

Definition at line 952 of file httpd.h.

Referenced by AP_DECLARE(), core_create_conn(), find_allowdeny(), and rfc1413_query().

char* conn_rec::remote_host
 

Client's DNS name, if known. NULL if DNS hasn't been checked, "" if it has and no address was found. N.B. Only access this though get_remote_host()

Definition at line 959 of file httpd.h.

char* conn_rec::remote_ip
 

Client's IP address

Definition at line 955 of file httpd.h.

Referenced by AP_DECLARE(), ap_proxy_http_request(), child_errfn(), core_create_conn(), log_error_core(), log_remote_address(), match_headers(), rfc1413_connect(), ssl_filter_io_shutdown(), ssl_hook_Access(), ssl_hook_pre_connection(), ssl_io_filter_connect(), and ssl_var_lookup().

char* conn_rec::remote_logname
 

Only ever set if doing rfc1413 lookups. N.B. Only access this through get_remote_logname()

Definition at line 962 of file httpd.h.

Referenced by ap_rfc1413(), rewritelog(), and rfc1413_query().

void* conn_rec::sbh
 

handle to scoreboard information for this connection

Definition at line 996 of file httpd.h.

Referenced by ap_process_http_connection(), ap_process_request(), ap_proxy_ftp_handler(), ap_proxy_http_create_connection(), ap_read_request(), and core_create_conn().

void* conn_rec::vhost_lookup_data
 

used by http_vhost.c

Definition at line 946 of file httpd.h.

Referenced by check_hostalias().


The documentation for this struct was generated from the following file: