1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Make hooks work for the *_canon() functions. Work continues.

PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88854 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Graham Leggett
2001-04-14 07:03:00 +00:00
parent 0a9f4ce887
commit f8425f7b81
6 changed files with 76 additions and 44 deletions

View File

@@ -209,9 +209,9 @@ char *ap_proxy_canonenc(apr_pool_t *p, const char *x, int len, enum enctype t,
*/
char *
ap_proxy_canon_netloc(apr_pool_t *p, char **const urlp, char **userp,
char **passwordp, char **hostp, int *port)
char **passwordp, char **hostp, apr_port_t *port)
{
int i;
apr_port_t i;
char *strp, *host, *url = *urlp;
char *user = NULL, *password = NULL;
@@ -635,7 +635,7 @@ static const char *
proxy_get_host_of_request(request_rec *r)
{
char *url, *user = NULL, *password = NULL, *err, *host;
int port = -1;
apr_port_t port = -1;
if (r->hostname != NULL)
return r->hostname;