Lines Matching defs:port
94 return "AllowCONNECT: port numbers must be numeric";
107 "Cannot parse '%s' as port number", p);
117 static int allowed_port(connect_conf *conf, int port)
123 return port == APR_URI_HTTPS_DEFAULT_PORT
124 || port == APR_URI_SNEWS_DEFAULT_PORT;
128 if (port >= list[i].first && port <= list[i].last)
239 /* we break the URL into host, port, uri */
247 "connecting %s to %s:%d", url, uri.hostname, uri.port);
249 /* Determine host/port of next hop; from request URI or of a proxy. */
251 connectport = proxyname ? proxyport : uri.port;
272 "connecting to remote proxy %s on port %d",
275 /* Check if it is an allowed port */
276 if(!allowed_port(c_conf, uri.port)) {
360 apr_table_setn(r->notes, "proxy-source-port", apr_psprintf(r->pool, "%hu",
361 backconn->local_addr->port));
506 "A list of ports or port ranges which CONNECT may connect to"),