diff options
author | Ryan Bloom <rbb@apache.org> | 2002-02-05 22:18:49 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2002-02-05 22:18:49 +0000 |
commit | 862f407872af4dae164f9e48c140b2c21f00d5a7 (patch) | |
tree | 1d68c9b6eac7e70deac11e79787fc62e3fd06d04 /include/http_connection.h | |
parent | 3d09101300958b7afef36591654f35c54655593c (diff) | |
download | httpd-862f407872af4dae164f9e48c140b2c21f00d5a7.tar.gz |
Remove the install_transport_filters hook. The same function can be
acheived with the pre_connection hook. I have added the socket to the
pre_connection phase to make this possible.
Reviewed by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93259 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_connection.h')
-rw-r--r-- | include/http_connection.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/include/http_connection.h b/include/http_connection.h index d676a9d2f8..120fea7786 100644 --- a/include/http_connection.h +++ b/include/http_connection.h @@ -70,9 +70,12 @@ extern "C" { * This is the protocol module driver. This calls all of the * pre-connection and connection hooks for all protocol modules. * @param c The connection on which the request is read - * @deffunc void ap_process_connection(conn_rec *) + * @param csd The mechanism on which this connection is to be read. + * Most times this will be a socket, but it is up to the module + * that accepts the request to determine the exact type. + * @deffunc void ap_process_connection(conn_rec *c, void *csd) */ -AP_CORE_DECLARE(void) ap_process_connection(conn_rec *, apr_socket_t *csd); +AP_CORE_DECLARE(void) ap_process_connection(conn_rec *c, void *csd); AP_CORE_DECLARE(void) ap_flush_conn(conn_rec *c); @@ -114,26 +117,17 @@ AP_DECLARE_HOOK(conn_rec *, create_connection, (apr_pool_t *p, server_rec *server, apr_socket_t *csd, long conn_id, void *sbh)) /** - * install_transport_filters is a RUN_FIRST hook used to install the bottom - * most input and output network transport filters (e.g., CORE_IN and CORE_OUT) - * used to interface to the network. This hook can access vhost configuration. - * - * @param c The socket to the client - * @param csd Pointer to the client apr_socket_t struct. - * @return OK or DECLINED - * @deffunc int ap_run_install_transport_filters(conn_rec *c, apr_socket_t *csd) - */ -AP_DECLARE_HOOK(int, install_transport_filters, (conn_rec *c, apr_socket_t *csd)) - -/** * This hook gives protocol modules an opportunity to set everything up * before calling the protocol handler. All pre-connection hooks are * run until one returns something other than ok or decline * @param c The connection on which the request has been received. + * @param csd The mechanism on which this connection is to be read. + * Most times this will be a socket, but it is up to the module + * that accepts the request to determine the exact type. * @return OK or DECLINED - * @deffunc int ap_run_pre_connection(conn_rec *c) + * @deffunc int ap_run_pre_connection(conn_rec *c, void *csd) */ -AP_DECLARE_HOOK(int,pre_connection,(conn_rec *c)) +AP_DECLARE_HOOK(int,pre_connection,(conn_rec *c, void *csd)) /** * This hook implements different protocols. After a connection has been |