diff options
author | Jeff Trawick <trawick@apache.org> | 2000-12-04 20:24:10 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-12-04 20:24:10 +0100 |
commit | 4c8baf6170c013aa9eff3aea49e99a45c539c0d7 (patch) | |
tree | d664e1e92bbab11925a439256c3a58a1a0243b7e /include/http_connection.h | |
parent | Get WIN32 building again (diff) | |
download | apache2-4c8baf6170c013aa9eff3aea49e99a45c539c0d7.tar.xz apache2-4c8baf6170c013aa9eff3aea49e99a45c539c0d7.zip |
Get rid of ap_new_apr_connection(). ap_new_connection() now has
fewer parameters: the local and remote socket addresses were removed
from the parameter list because all required information is available
via the APR socket.
I haven't tested the most important part -- the WinNT MPM changes
-- but it compiles and it looks okay :) If the WinNT MPM works on
Win98 these days let me know.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_connection.h')
-rw-r--r-- | include/http_connection.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/http_connection.h b/include/http_connection.h index da21db07cb..f7a880336b 100644 --- a/include/http_connection.h +++ b/include/http_connection.h @@ -72,25 +72,10 @@ extern "C" { * @param p Pool to allocate data structures out of * @param server The server to create the connection for * @param inout The socket to use for all communication with the client - * @param remaddr The remote address - * @param addr The server's local address * @param id ID of this connection; unique at any point in time. */ conn_rec *ap_new_connection(apr_pool_t *p, server_rec *server, - apr_socket_t *inout, - const struct sockaddr_in *remaddr, - const struct sockaddr_in *saddr, long id); - -/** - * Create a new connection using APR primitives. This is basically a - * wrapper around ap_new_connection - * @param p Pool to allocate data structures out of. - * @param server The server to create the connection for - * @param conn_socket The socket we are creating the connection on. - * @param id ID of this connection; unique at any point in time. - */ -conn_rec *ap_new_apr_connection(apr_pool_t *p, server_rec *server, - apr_socket_t *conn_socket, long id); + apr_socket_t *inout, long id); /** * This is the protocol module driver. This calls all of the |