Definition:
typedef struct conn_rec conn_rec;
struct conn_rec {
pool *pool;
server_rec *server;
server_rec *base_server;
void *vhost_lookup_data;
int child_num;
BUFF *client;
struct sockaddr_in local_addr;
struct sockaddr_in remote_addr;
char *remote_ip;
char *remote_host;
char *remote_logname;
char *user;
char *ap_auth_type;
unsigned aborted:1;
signed int keepalive:2;
unsigned keptalive:1;
signed int double_reverse:2;
int keepalives;
char *local_ip;
char *local_host;
};
Usage example:
No examples available.
The conn_rec structure is used to hold information
about a currently-open connexion between the Web server and a
client. Since a connexion is made to a server host, a conn_rec
record is tied to a particular server_rec, and a
pointer to that server record is stored in the conn_rec
structure.
The structure also contains information about the client, such as its IP address and DNS name (if a lookup has been performed).
request_rec, which is where it actually belongs.
This has been corrected for Apache 2.0.
Previous: configfile_t
Next: global_score
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)