diff options
author | Ryan Bloom <rbb@apache.org> | 2001-11-13 04:01:28 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2001-11-13 04:01:28 +0000 |
commit | 61ebbf74e34d56fbcc52a76bc32d5a9bec0012bf (patch) | |
tree | d01d029ebfe48fb15d062a31cd0b6a2bbdc33e77 /include/http_connection.h | |
parent | 44baa0367f26c924c7e77177b828eee5a33a29a2 (diff) | |
download | httpd-61ebbf74e34d56fbcc52a76bc32d5a9bec0012bf.tar.gz |
Add docs for the newest hook.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_connection.h')
-rw-r--r-- | include/http_connection.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/http_connection.h b/include/http_connection.h index 8b497d53fa..3a61963771 100644 --- a/include/http_connection.h +++ b/include/http_connection.h @@ -129,9 +129,19 @@ AP_DECLARE_HOOK(int,pre_connection,(conn_rec *c)) AP_DECLARE_HOOK(int,process_connection,(conn_rec *c)) /** + * This hook allows modules to create connections. After the connection + * has been accepted, the socket is passed to this function to actually + * insert all filters that operate on the network, and create the connection + * record. The first module to create a connection is the last module + * run + * @param p The pool from which to allocate the connection record + * @param csd The socket that has been accepted + * @param conn_id A unique identifier for this connection. The ID only + * needs to be unique at that time, not forever. + * @return An allocated connection record or NULL. */ AP_DECLARE_HOOK(conn_rec *, create_connection, - (apr_pool_t *p, apr_socket_t *csd, int conn_ed)) + (apr_pool_t *p, apr_socket_t *csd, int conn_id)) #ifdef __cplusplus } |