Apache HTTPD
Public Attributes | List of all members
conn_rec Struct Reference

Structure to store things which are per connection. More...

#include <httpd.h>

Public Attributes

apr_pool_tpool
 
server_recbase_server
 
void * vhost_lookup_data
 
apr_sockaddr_tlocal_addr
 
apr_sockaddr_tclient_addr
 
charclient_ip
 
charremote_host
 
charremote_logname
 
charlocal_ip
 
charlocal_host
 
long id
 
struct ap_conf_vector_tconn_config
 
apr_table_tnotes
 
struct ap_filter_tinput_filters
 
struct ap_filter_toutput_filters
 
void * sbh
 
struct apr_bucket_alloc_tbucket_alloc
 
conn_state_tcs
 
int data_in_input_filters
 
int data_in_output_filters
 
unsigned int clogging_input_filters:1
 
signed int double_reverse:2
 
unsigned aborted
 
ap_conn_keepalive_e keepalive
 
int keepalives
 
const struct ap_logconflog
 
const charlog_id
 
conn_recmaster
 
int outgoing
 

Detailed Description

Structure to store things which are per connection.

Definition at line 1152 of file httpd.h.

Member Data Documentation

◆ aborted

unsigned conn_rec::aborted

Are we still talking?

Definition at line 1219 of file httpd.h.

◆ base_server

server_rec* conn_rec::base_server

Physical vhost this conn came in on

Definition at line 1156 of file httpd.h.

◆ bucket_alloc

struct apr_bucket_alloc_t* conn_rec::bucket_alloc

The bucket allocator to use for all bucket/brigade creations

Definition at line 1201 of file httpd.h.

◆ client_addr

apr_sockaddr_t* conn_rec::client_addr

remote address; this is the end-point of the next hop, for the address of the request creator, see useragent_addr in request_rec

Definition at line 1166 of file httpd.h.

◆ client_ip

char* conn_rec::client_ip

Client's IP address; this is the end-point of the next hop, for the IP of the request creator, see useragent_ip in request_rec

Definition at line 1171 of file httpd.h.

◆ clogging_input_filters

unsigned int conn_rec::clogging_input_filters

Are there any filters that clogg/buffer the input stream, breaking the event mpm.

Definition at line 1212 of file httpd.h.

◆ conn_config

struct ap_conf_vector_t* conn_rec::conn_config

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

Definition at line 1190 of file httpd.h.

◆ cs

conn_state_t* conn_rec::cs

The current state of this connection; may be NULL if not used by MPM

Definition at line 1203 of file httpd.h.

◆ data_in_input_filters

int conn_rec::data_in_input_filters

Is there data pending in the input filters?

Definition at line 1205 of file httpd.h.

◆ data_in_output_filters

int conn_rec::data_in_output_filters

Is there data pending in the output filters?

Definition at line 1207 of file httpd.h.

◆ double_reverse

signed int conn_rec::double_reverse

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

Definition at line 1216 of file httpd.h.

◆ id

long conn_rec::id

ID of this connection; unique at any point in time

Definition at line 1187 of file httpd.h.

◆ input_filters

struct ap_filter_t* conn_rec::input_filters

A list of input filters to be used for this connection

Definition at line 1195 of file httpd.h.

◆ keepalive

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 1223 of file httpd.h.

◆ keepalives

int conn_rec::keepalives

How many times have we used it?

Definition at line 1226 of file httpd.h.

◆ local_addr

apr_sockaddr_t* conn_rec::local_addr

local address

Definition at line 1162 of file httpd.h.

◆ local_host

char* conn_rec::local_host

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

Definition at line 1184 of file httpd.h.

◆ local_ip

char* conn_rec::local_ip

server IP address

Definition at line 1181 of file httpd.h.

◆ log

const struct ap_logconf* conn_rec::log

Optional connection log level configuration. May point to a server or per_dir config, i.e. must be copied before modifying

Definition at line 1230 of file httpd.h.

◆ log_id

const char* conn_rec::log_id

Id to identify this connection in error log. Set when the first error log entry for this connection is generated.

Definition at line 1235 of file httpd.h.

◆ master

conn_rec* conn_rec::master

This points to the current thread being used to process this request, over the lifetime of a request, the value may change. Users of the connection record should not rely upon it staying the same between calls that involve the MPM. The "real" master connection. NULL if I am the master.

Definition at line 1248 of file httpd.h.

◆ notes

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 1193 of file httpd.h.

◆ outgoing

int conn_rec::outgoing

Definition at line 1250 of file httpd.h.

◆ output_filters

struct ap_filter_t* conn_rec::output_filters

A list of output filters to be used for this connection

Definition at line 1197 of file httpd.h.

◆ pool

apr_pool_t* conn_rec::pool

Pool associated with this connection

Definition at line 1154 of file httpd.h.

◆ remote_host

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 1175 of file httpd.h.

◆ remote_logname

char* conn_rec::remote_logname

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

Definition at line 1178 of file httpd.h.

◆ sbh

void* conn_rec::sbh

handle to scoreboard information for this connection

Definition at line 1199 of file httpd.h.

◆ vhost_lookup_data

void* conn_rec::vhost_lookup_data

used by http_vhost.c

Definition at line 1158 of file httpd.h.


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