summaryrefslogtreecommitdiffstats
path: root/server/core.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-06-13 18:02:18 +0200
committerStefan Fritsch <sf@apache.org>2011-06-13 18:02:18 +0200
commitfba947527f8d3810bea19ebeda8276e93f623559 (patch)
tree38e6856aff2425e75337124fcb5e34f54d454b77 /server/core.c
parentCode cleanup: (diff)
downloadapache2-fba947527f8d3810bea19ebeda8276e93f623559.tar.xz
apache2-fba947527f8d3810bea19ebeda8276e93f623559.zip
Introduce new function ap_get_conn_socket() to access the socket of
a connection git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135153 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/core.c')
-rw-r--r--server/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/core.c b/server/core.c
index c51759e4f8..d416266304 100644
--- a/server/core.c
+++ b/server/core.c
@@ -4302,6 +4302,11 @@ AP_DECLARE(void **) ap_get_request_note(request_rec *r, apr_size_t note_num)
return &(req_cfg->notes[note_num]);
}
+AP_DECLARE(apr_socket_t *) ap_get_conn_socket(conn_rec *c)
+{
+ return ap_get_core_module_config(c->conn_config);
+}
+
static int core_create_req(request_rec *r)
{
/* Alloc the config struct and the array of request notes in