being set to the default scheme port 80
PR:
Obtained from:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88746
13f79535-47bb-0310-9956-
ffa450edef68
return ap_proxyerror(r, HTTP_BAD_REQUEST,
apr_pstrcat(p,"URI cannot be parsed: ", url, NULL));
}
+ if (!uri.port) {
+ uri.port = ap_default_port_for_scheme(uri.scheme);
+ }
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r->server,
"proxy: HTTP connecting %s to %s:%d", url, uri.hostname, uri.port);