Searched defs:port (Results 1 - 25 of 36) sorted by relevance

12

/httpd/modules/proxy/
H A Dmod_serf.h46 apr_port_t port; member in struct:ap_serf_server_t
H A Dmod_proxy_connect.c94 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) argument
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 o
[all...]
H A Dmod_proxy_ajp.c28 * def_port is the default port for this scheme.
35 apr_port_t port, def_port; local
49 * We break the URL into host, port, path, search
51 port = def_port = ap_proxy_port_of_scheme("ajp");
53 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port);
76 if (port != def_port)
77 apr_snprintf(sport, sizeof(sport), ":%d", port);
H A Dmod_proxy_wstunnel.c203 * def_port is the default port for this scheme.
211 apr_port_t port, def_port; local
228 port = def_port;
233 * We break the URL into host, port, path, search
235 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port);
258 apr_snprintf(sport, sizeof(sport), ":%d", port);
H A Dmod_proxy_balancer.c63 apr_port_t port = 0; local
76 * We break the URL into host, port, path, search
78 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port);
395 /* we break the URL into host, port, uri */
773 (int)s->port,
1298 " <httpd:port>%d</httpd:port>\n",
1299 worker->s->port);
H A Dmod_proxy_fcgi.c31 * def_port is the default port for this scheme.
38 apr_port_t port, def_port; local
49 port = def_port = ap_proxy_port_of_scheme("fcgi");
53 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port);
60 if (port != def_port)
61 apr_snprintf(sport, sizeof(sport), ":%d", port);
H A Dmod_proxy_scgi.c181 apr_port_t port, def_port; local
188 port = def_port = SCGI_DEF_PORT;
190 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port);
197 if (port != def_port) {
198 apr_snprintf(sport, sizeof(sport), ":%u", port);
239 conn->hostname, conn->port);
385 conn->hostname, conn->port);
562 backend->hostname, backend->port);
H A Dmod_serf.c477 APR_UNSPEC, choice->port, 0,
483 APR_UNSPEC, conf->url.port, 0,
638 if (!conf->url.port) {
639 conf->url.port = apr_uri_port_of_scheme(conf->url.scheme);
812 unsigned int port; member in struct:hb_server_t
891 server->port = 80;
909 if (apr_table_get(hbt, "port")) {
910 server->port = atoi(apr_table_get(hbt, "port"));
985 x->port
1062 apr_port_t port = 0; local
[all...]
/httpd/test/
H A Dtest_limits.c75 "usage: test_limits [-t (r|n|h|b)] [-a address] [-p port] [-n num]\n");
89 int port = 80; local
110 port = atoi(optarg);
130 sin.sin_port = htons(port);
/httpd/include/
H A Dapreq_cookie.h57 char *port; /**< Restricts server port */ member in struct:apreq_cookie_t
H A Dutil_ldap.h115 int port; /* Port of the LDAP server */ member in struct:util_ldap_connection_t
232 * @param port The port to connect to
241 * @fn util_ldap_connection_t *util_ldap_connection_find(request_rec *r, const char *host, int port,
245 APR_DECLARE_OPTIONAL_FN(util_ldap_connection_t *,uldap_connection_find,(request_rec *r, const char *host, int port,
/httpd/support/
H A Dfcgistarter.c33 "usage: fcgistarter -c <command> -p <port> [-i <interface> -N <num>]\n"
68 int num_to_start = 1, port = 0; local
99 port = atoi(arg);
100 if (! port) {
122 if (! command || ! port) {
126 rv = apr_sockaddr_info_get(&skaddr, interface, APR_UNSPEC, port, 0, pool);
/httpd/modules/cache/
H A Dmod_socache_memcache.c118 apr_port_t port; local
120 rv = apr_parse_addr_port(&host_str, &scope_id, &port, split, p);
134 if (port == 0) {
135 port = MC_DEFAULT_SERVER_PORT;
139 host_str, port,
148 host_str, port);
156 host_str, port);
/httpd/modules/cluster/
H A Dmod_heartbeat.c172 apr_port_t port = 0; local
190 rv = apr_parse_addr_port(&host_str, &scope_id, &port, addr, cmd->temp_pool);
200 if (port == 0) {
201 return "HeartbeatAddress: No port provided in address";
204 rv = apr_sockaddr_info_get(&ctx->mcast_addr, host_str, APR_INET, port, 0,
H A Dmod_heartmonitor.c51 unsigned int port; member in struct:hm_server_t
327 if (apr_table_get(hbt, "port")) {
328 node.port = atoi(apr_table_get(hbt, "port"));
330 node.port = 80;
332 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n",
333 ip, node.ready, node.busy, (unsigned int) seen, node.port);
337 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n",
338 s->ip, s->ready, s->busy, (unsigned int) seen, s->port);
347 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port
499 hm_get_server(hm_ctx_t *ctx, const char *ip, const int port) argument
534 int port = 80; local
830 apr_port_t port = 0; local
[all...]
/httpd/modules/ssl/
H A Dssl_util.c47 apr_port_t port; local
50 if (s->port != 0)
51 port = s->port;
55 port = DEFAULT_HTTPS_PORT;
57 port = DEFAULT_HTTP_PORT;
59 id = apr_psprintf(p, "%s:%lu", host, (unsigned long)port);
/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c53 int port; member in struct:hb_server_t
173 server->port = 80;
195 if (apr_table_get(hbt, "port")) {
196 server->port = atoi(apr_table_get(hbt, "port"));
/httpd/server/
H A Dlisten.c202 * us to attach to the same port as an already running instance of
204 * port was exclusively granted to this instance of Apache.
292 static int find_systemd_socket(process_rec * process, apr_port_t port) argument
312 if (sd_is_socket_inet(fd, 0, 0, -1, port) > 0) {
373 static const char *set_systemd_listener(process_rec *process, apr_port_t port, argument
378 int fd = find_systemd_socket(process, port);
380 return "Systemd socket activation is used, but this port is not "
408 apr_port_t port, const char* proto,
416 /* see if we've got an old listener for this address:port */
424 oldport = sa->port;
407 alloc_listener(process_rec *process, char *addr, apr_port_t port, const char* proto, void *slave) argument
813 apr_port_t port; local
961 apr_port_t port; local
[all...]
H A Dvhost.c58 * this chain (needed for port comparisons) */
69 * this chain (need for both ip addr and port
112 * sar matches the address:port pair.
140 * Parses a host of the form <address>[:port]
144 * port is the default port to assume
155 apr_port_t port; local
174 rv = apr_parse_addr_port(&host, &scope_id, &port, w, p);
176 * host to NULL and port to 80, so watch out for that.
179 return "The address or port i
405 find_default_server(apr_port_t port) argument
819 apr_port_t port; local
941 ap_matches_request_vhost(request_rec *r, const char *host, apr_port_t port) argument
998 apr_port_t port; local
1072 apr_port_t port; local
1202 apr_port_t port; local
1249 apr_port_t port; local
[all...]
/httpd/modules/aaa/
H A Dmod_authnz_fcgi.c40 apr_port_t port; member in struct:__anon61
72 /* fcgi://{hostname|IPv4|IPv6}:port[/] */
128 APLOGNO(02496) "name %s, backend %s, host %s, port %d, "
133 (int)conf->port,
1170 int ca = 0, rc, port; local
1233 port = atoi(ap_rxplus_pmatch(cmd->pool, fcgi_backend_regex, 2));
1234 if (port > 65535) {
1238 "' has invalid port",
1244 conf->port = port;
[all...]
H A Dmod_authnz_ldap.c53 int port; /* Port of the LDAP server */ member in struct:__anon65
460 ldc = util_ldap_connection_find(r, sec->host, sec->port,
544 ldc = util_ldap_connection_find(r, sec->host, sec->port,
1464 * host and port.
1549 sec->port = urld->lud_port? urld->lud_port : LDAPS_PORT;
1553 sec->port = urld->lud_port? urld->lud_port : LDAP_PORT;
1722 "URL of the form ldap://host[:port]/basedn[?attrib[?scope[?filter]]].\n"
1726 "<li>Port is optional, and specifies the port to connect to.\n"
/httpd/modules/arch/netware/
H A Dmod_nw_ssl.c27 * argument is an address and/or port. The second argument is the key pair
37 * argument is an address and/or port. The second argument is the key pair
110 struct sockaddr_in local_addr; /* local IP address and port */
116 apr_port_t port; member in struct:seclisten_rec
123 apr_port_t port; member in struct:seclistenup_rec
165 * Parses a host of the form <address>[:port]
166 * :port is permitted if 'port' is not NULL
209 fprintf(stderr, "a secure port. Exiting!!!\n");
237 if ((sl->port
474 unsigned short port; local
569 unsigned short port; local
754 unsigned short port = secwalk->port; local
869 char port[8]; local
[all...]
/httpd/modules/dav/main/
H A Dutil.c192 apr_port_t port; local
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 i
[all...]
/httpd/modules/ldap/
H A Dutil_ldap.c289 /* Since the host will include a port if the default port is not used,
290 * always specify the default ports for the port parameter. This will
293 * specify a port will use the default port.
695 const char *host, int port,
725 if ( (l->port == port) && (strcmp(l->host, host) == 0)
767 if ((l->port == port)
694 uldap_connection_find(request_rec *r, const char *host, int port, const char *binddn, const char *bindpw, deref_options deref, int secure) argument
[all...]
/httpd/modules/loggers/
H A Dmod_log_config.c91 * %...p: the canonical port for the server
92 * %...{format}p: the canonical port for the server, or the actual local
93 * or remote port
811 /* These next two routines use the canonical name:port so that log
821 apr_port_t port; local
824 port = r->server->port ? r->server->port : ap_default_port(r);
827 port = r->useragent_addr->port;
[all...]

Completed in 163 milliseconds

12