Lines Matching defs:port
192 apr_port_t port;
220 /* If the scheme or port was provided, then make sure that it matches
221 the scheme/port of this request. If the request must be absolute,
222 then require the (explicit/implicit) scheme/port be matching.
224 ### hmm. if a port wasn't provided (does the parse return port==0?),
225 ### but we're on a non-standard port, then we won't detect that the
226 ### URI's port implies the wrong one.
228 if (comp.scheme != NULL || comp.port != 0 || must_be_absolute)
235 /* insert a port if the URI did not contain one */
236 if (comp.port == 0)
237 comp.port = apr_uri_port_of_scheme(comp.scheme);
240 request. the port must match our port.
242 port = r->connection->local_addr->port;
245 || comp.port != port
251 "different scheme or port "
255 comp.port ? comp.port : port,
256 scheme, port);
261 /* we have verified the scheme, port, and general structure */
283 port, since we've verified the URI matches ours */
286 !ap_matches_request_vhost(r, comp.hostname, port)) {