![]() |
Home / Documentation / 2.0 / API / | |||
| Apache::Connection - Perl API for Apache connection object | ||||
|
|
||
abortedCheck whether the connection is still open
$status = $c->aborted();
$c (Apache::Connection)
$status (number)
true if the connection has been aborted, false if still open
base_serverPhysical vhost this connection came in on
$base_server = $c->base_server();
$c (Apache::Connection)
$base_server (Apache::Server)
bucket_allocMETA: Autogenerated - needs to be reviewed/completed
The bucket allocator to use for all bucket/brigade creations
$ba = $c->bucket_alloc();
$c (Apache::Connection)
$ba (APR::BucketAlloc)
conn_configMETA: Autogenerated - needs to be reviewed/completed
Notes on *this* connection
$ret = $c->conn_config();
$c (Apache::Connection)
$ret (Apache::ConfVector)
idID of this connection; unique at any point in time
$id = $c->id();
$c (Apache::Connection)
$id (integer)
input_filtersA list of input filters to be used for this connection
$input_filters = $c->input_filters();
$c (Apache::Connection)
$input_filters (Apache::Filter)
The first filter in the connection input filters chain.
keepaliveAre we going to keep the connection alive for another request?
$status = $c->keepalive();
$c (Apache::Connection)
$status (integer)
local_addrGet this connection's local socket address
$sa = $c->local_addr();
$c (Apache::Connection)
$sa (APR::SockAddr)
local_hostused for ap_get_server_name when UseCanonicalName is set to DNS (ignores setting of HostnameLookups)
$local_host = $c->local_host();
$c (Apache::Connection)
$local_host (string)
local_ipserver IP address
$local_ip = $c->local_ip();
$c (Apache::Connection)
$local_ip (string)
notesMETA: Autogenerated - needs to be reviewed/completed
send note from one module to another, must remain valid for all requests on this conn
$c->notes($notes); $notes = $c->notes();
$c (Apache::Connection)
$notes (APR::Table)
output_filtersMETA: Autogenerated - needs to be reviewed/completed
A list of output filters to be used for this connection
$output_filters = $c->output_filters();
$c (Apache::Connection)
$output_filters (Apache::Filter)
The first filter in the connection output filters chain.
poolPool associated with this connection
$p = $c->pool();
$c (Apache::Connection)
$p (APR::Pool)
remote_addrGet this connection's remote socket address
$sa = $c->remote_addr();
$c (Apache::Connection)
$sa (APR::SockAddr)
remote_ipClient's IP address
$remote_ip = $c->remote_ip();
$c (Apache::Connection)
$remote_ip (string)
remote_hostClient'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()
$remote_host = $c->remote_host();
$c (Apache::Connection)
$remote_host (string)
remote_lognameOnly ever set if doing rfc1413 lookups. N.B. Only access this through get_remote_logname()
$remote_logname = $c->remote_logname();
$c (Apache::Connection)
$remote_logname (string)
sbhMETA: Autogenerated - needs to be reviewed/completed
handle to scoreboard information for this connection
$sbh = $c->sbh();
$c (Apache::Connection)
$sbh (XXX)
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
|
|