/httpd/modules/ssl/ |
H A D | ssl_ct_log_config.h | 34 apr_uri_t uri; member in struct:ct_log_config
|
H A D | ssl_util_ocsp.c | 30 static BIO *serialize_request(OCSP_REQUEST *req, const apr_uri_t *uri) argument 44 uri->path ? uri->path : "/", 45 uri->query ? "?" : "", uri->query ? uri->query : "", 46 uri->hostname, uri->port, len); 59 static apr_socket_t *send_request(BIO *request, const apr_uri_t *uri, argument 69 rv = apr_sockaddr_info_get(&sa, uri 284 modssl_dispatch_ocsp_request(const apr_uri_t *uri, apr_interval_time_t timeout, OCSP_REQUEST *request, conn_rec *c, apr_pool_t *p) argument [all...] |
H A D | ssl_ct_log_config.c | 132 apr_uri_t uri; local 134 rv = apr_uri_parse(p, lu, &uri); 136 if (!uri.scheme 137 || !uri.hostname 138 || !uri.path) { 144 if (strcmp(uri.scheme, "http")) { 149 lu, uri.scheme); 152 if (strcmp(uri.path, "/")) { 156 lu, uri.path); 161 *puri = uri; 195 apr_uri_t uri; local [all...] |
H A D | ssl_util_stapling.c | 53 char *uri; member in struct:__anon345 124 if (!cinf->uri && !mctx->stapling_force_url) { 167 /* allocate uri from the pconf pool */ 168 cinf->uri = apr_pstrdup(p, sk_OPENSSL_STRING_value(aia, 0)); 401 apr_uri_t uri; local 428 ocspuri = cinf->uri; 432 "stapling_renew_response: no uri for responder"); 440 ok = apr_uri_parse(vpool, ocspuri, &uri); 443 "stapling_renew_response: Error parsing uri %s", 448 else if (strcmp(uri [all...] |
/httpd/modules/dav/main/ |
H A D | liveprop.c | 36 static void dav_register_liveprop_namespace(apr_pool_t *p, const char *uri) argument 45 value = (long)apr_hash_get(dav_liveprop_uris, uri, APR_HASH_KEY_STRING); 52 apr_hash_set(dav_liveprop_uris, uri, APR_HASH_KEY_STRING, 56 DAV_DECLARE(long) dav_get_liveprop_ns_index(const char *uri) argument 58 return (long)apr_hash_get(dav_liveprop_uris, uri, APR_HASH_KEY_STRING);
|
H A D | std_liveprop.c | 83 const char *name = NULL, *uri = NULL; local 88 if (!res_hooks->get_resource_type(resource, &name, &uri) && 91 if (!uri || !strcasecmp(uri, "DAV:")) 97 " xmlns:x=\"", uri,
|
H A D | util.c | 186 DAV_DECLARE(dav_lookup_result) dav_lookup_uri(const char *uri, 198 if (apr_uri_parse(r->pool, uri, &comp) != APR_SUCCESS) { 425 const char *prefix, const char *uri) 428 apr_hash_set(xi->prefix_uri, prefix, APR_HASH_KEY_STRING, uri); 432 apr_hash_set(xi->uri_prefix, uri, APR_HASH_KEY_STRING, prefix); 436 const char *uri) 440 if ((prefix = apr_hash_get(xi->uri_prefix, uri, 445 dav_xmlns_add(xi, prefix, uri); 456 const char *uri) 458 return apr_hash_get(xi->uri_prefix, uri, APR_HASH_KEY_STRIN 424 dav_xmlns_add(dav_xmlns_info *xi, const char *prefix, const char *uri) argument 435 dav_xmlns_add_uri(dav_xmlns_info *xi, const char *uri) argument 455 dav_xmlns_get_prefix(dav_xmlns_info *xi, const char *uri) argument 468 void *uri; local 534 dav_add_if_resource(apr_pool_t *p, dav_if_header *next_ih, const char *uri, apr_size_t uri_len) argument 626 const char *uri = NULL; /* scope of current production; NULL=no-tag */ local 847 const char *uri; local [all...] |
/httpd/modules/cache/ |
H A D | cache_storage.c | 359 "conditional request headers.", r->uri); 422 "returning 504 Gateway Timeout for: %s", r->uri); 430 const char *uri, apr_uri_t *parsed_uri, const char **key) 484 /* Copy the parsed uri hostname */ 497 * Copy the scheme, ensuring that it is lower case. If the parsed uri 565 path = uri; 664 APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(00698) "cache: Key for entity %s?%s is %s", uri, parsed_uri->query, *key); 672 return cache_canonicalise_key(r, p, r->uri, &r->parsed_uri, key); 745 /* invalidate the request uri */ 429 cache_canonicalise_key(request_rec *r, apr_pool_t* p, const char *uri, apr_uri_t *parsed_uri, const char **key) argument
|
H A D | cache_util.c | 171 apr_uri_t uri) 186 if (uri_meets_conditions(&ent[i].url, ent[i].pathlen, &uri)) { 203 if (uri_meets_conditions(&ent[i].url, ent[i].pathlen, &uri)) { 345 r->uri, lockname); 169 cache_get_providers(request_rec *r, cache_server_conf *conf, apr_uri_t uri) argument
|
/httpd/modules/mappers/ |
H A D | mod_vhost_alias.c | 254 const char *map, const char *uri) 377 r->filename = apr_pstrcat(r->pool, docroot, uri, NULL); 385 const char *name, *map, *uri; local 393 cgi = strstr(r->uri, "cgi-bin/"); 394 if (cgi && (cgi != r->uri + strspn(r->uri, "/"))) { 401 uri = cgi + strlen("cgi-bin"); 403 else if (r->uri[0] == '/') { 406 uri = r->uri; 253 vhost_alias_interpolate(request_rec *r, const char *name, const char *map, const char *uri) argument [all...] |
H A D | mod_alias.c | 119 static int alias_matches(const char *uri, const char *alias_fakename); 408 static int alias_matches(const char *uri, const char *alias_fakename) argument 410 const char *aliasp = alias_fakename, *urip = uri; 444 return urip - uri; 486 apr_uri_t uri; local 500 apr_uri_parse(r->pool, found, &uri); 502 found = apr_uri_unparse(r->pool, &uri, APR_URI_UNP_OMITQUERY); 504 if (uri.query) { 505 found = apr_pstrcat(r->pool, found, "?", uri.query, NULL); 507 if (uri 540 apr_uri_t uri; local [all...] |
/httpd/modules/proxy/ |
H A D | ajp_header.c | 216 apr_uri_t *uri) 249 ajp_msg_append_string(msg, uri->path) || 327 if (uri->query) { 329 ajp_msg_append_string(msg, uri->query)) { 671 apr_uri_t *uri) 683 rc = ajp_marshal_into_msgb(msg, r, uri); 214 ajp_marshal_into_msgb(ajp_msg_t *msg, request_rec *r, apr_uri_t *uri) argument 668 ajp_send_header(apr_socket_t *sock, request_rec *r, apr_size_t buffsize, apr_uri_t *uri) argument
|
H A D | mod_proxy_connect.c | 221 apr_uri_t uri; local 239 /* we break the URL into host, port, uri */ 240 if (APR_SUCCESS != apr_uri_parse_hostinfo(p, url, &uri)) { 247 "connecting %s to %s:%d", url, uri.hostname, uri.port); 250 connectname = proxyname ? proxyname : uri.hostname; 251 connectport = proxyname ? proxyport : uri.port; 265 if (ap_proxy_checkproxyblock(r, conf, uri.hostname, 276 if(!allowed_port(c_conf, uri.port)) { 372 "CONNECT %s HTTP/1.0" CRLF, r->uri); [all...] |
H A D | mod_proxy_ajp.c | 63 * mod_proxy) we use the raw, unparsed uri 164 apr_uri_t *uri, 210 status = ajp_send_header(conn->sock, r, maxsize, uri); 742 apr_uri_t *uri; local 749 uri = apr_palloc(p, sizeof(*uri)); 771 uri, &locurl, proxyname, proxyport, 821 status = ap_proxy_ajp_request(p, r, backend, origin, dconf, uri, locurl, 160 ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, proxy_conn_rec *conn, conn_rec *origin, proxy_dir_conf *conf, apr_uri_t *uri, char *url, char *server_portstr) argument
|
H A D | mod_proxy_wstunnel.c | 245 * mod_proxy) we use the raw, unparsed uri 334 apr_uri_t *uri, 360 worker, conf, uri, url, server_portstr, 474 apr_uri_t *uri; local 496 uri = apr_palloc(p, sizeof(*uri)); 518 uri, &locurl, proxyname, proxyport, 543 status = proxy_wstunnel_request(p, r, backend, worker, conf, uri, locurl, 330 proxy_wstunnel_request(apr_pool_t *p, request_rec *r, proxy_conn_rec *conn, proxy_worker *worker, proxy_server_conf *conf, apr_uri_t *uri, char *url, char *server_portstr, char *scheme) argument
|
H A D | mod_proxy_fcgi.c | 797 apr_uri_t *uri, 875 apr_uri_t *uri = apr_palloc(r->pool, sizeof(*uri)); local 903 uri, &url, proxyname, proxyport, 930 status = fcgi_do_request(p, r, backend, origin, dconf, uri, url, 793 fcgi_do_request(apr_pool_t *p, request_rec *r, proxy_conn_rec *conn, conn_rec *origin, proxy_dir_conf *conf, apr_uri_t *uri, char *url, char *server_portstr) argument
|
H A D | mod_proxy_scgi.c | 533 apr_uri_t *uri = apr_palloc(r->pool, sizeof(*uri)); local 552 uri, &url, proxyname, proxyport,
|
H A D | mod_proxy.c | 448 static int alias_match(const char *uri, const char *alias_fakename) argument 451 const char *aliasp = alias_fakename, *urip = uri; 452 const char *end_uri = uri + strlen(uri); 482 /* We reach the end of the uri before the end of "alias_fakename" 483 * for example uri is "/" and alias_fakename "/examples" 498 return urip - uri; 528 r->uri = r->unparsed_uri; 529 r->filename = apr_pstrcat(r->pool, "proxy:", r->uri, NULL); 538 r->uri 930 char *uri, *scheme, *p; local [all...] |
H A D | mod_proxy_ftp.c | 986 apr_uri_t uri; local 1034 if (APR_SUCCESS != apr_uri_parse(p, url, &uri)) { 1038 connectname = uri.hostname; 1039 connectport = uri.port; 1040 path = apr_pstrdup(p, uri.path);
|
/httpd/modules/dav/fs/ |
H A D | dbm.c | 446 const char *uri; local 466 for (ns = 0, uri = db->ns_table.buf + sizeof(dav_propdb_metadata); 468 uri += strlen(uri) + 1) { 472 apr_pstrdup(pool, uri), APR_HASH_KEY_STRING, 515 const char *uri = db->ns_table.buf + sizeof(dav_propdb_metadata); local 518 for (ns = 0; ns < db->ns_count; ++ns, uri += strlen(uri) + 1) { 524 if (*uri == '\0') 531 apr_pstrdup(xi->pool, uri)); 583 const char *uri = *puri; local [all...] |
H A D | repos.c | 720 len = strlen(r->uri); 721 if (len > 1 && r->uri[len - 1] == '/') { 722 s = apr_pstrmemdup(r->pool, r->uri, len-1); 723 resource->uri = s; 726 resource->uri = r->uri; 784 if (strcmp(resource->uri, "/") == 0) { 821 if (resource->uri != NULL) { 822 char *uri = ap_make_dirstr_parent(ctx->pool, resource->uri); local [all...] |
/httpd/server/ |
H A D | util_script.c | 286 add_unless_null(e, "REDIRECT_URL", r->prev->uri); 299 AP_DECLARE(int) ap_find_path_info(const char *uri, const char *path_info) argument 301 int lu = strlen(uri); 304 while (lu-- && lp-- && uri[lu] == path_info[lp]) { 306 while (lu && uri[lu-1] == '/') lu--; 314 while (uri[lu] != '\0' && uri[lu] != '/') { 365 apr_table_setn(e, "SCRIPT_NAME", r->uri); 371 apr_table_setn(e, "SCRIPT_NAME", r->uri); 374 int path_info_start = ap_find_path_info(r->uri, [all...] |
H A D | protocol.c | 492 /* parse_uri: break apart the uri 495 * - sets r->uri to request uri (without r->args part) 498 AP_CORE_DECLARE(void) ap_parse_uri(request_rec *r, const char *uri) argument 502 r->unparsed_uri = apr_pstrdup(r->pool, uri); 511 while ((uri[0] == '/') && (uri[1] == '/')) { 512 ++uri ; 515 status = apr_uri_parse_hostinfo(r->pool, uri, &r->parsed_uri); 518 status = apr_uri_parse(r->pool, uri, 559 const char *uri; local [all...] |
H A D | request.c | 110 "configuration error: couldn't %s: %s", phase, r->uri); 116 status, r->uri); 154 ap_getparents(r->uri); /* OK --- shrinking transformations... */ 157 * next several steps. Only file subrequests are allowed an empty uri, 242 "access_checker_ex hook: %s", r->uri); 257 r->uri); 271 r->uri); 279 "access_checker_ex hook: %s", r->uri); 294 r->uri); 315 access_status, r->uri); 1379 char *uri = apr_pstrdup(r->pool, r->uri); local [all...] |
/httpd/modules/aaa/ |
H A D | mod_auth_digest.c | 141 const char *uri; member in struct:digest_header_struct 596 static const char *set_uri_list(cmd_parms *cmd, void *config, const char *uri) argument 601 c->uri_list = apr_pstrcat(cmd->pool, c->uri_list, " ", uri, "\"", NULL); 604 c->uri_list = apr_pstrcat(cmd->pool, ", domain=\"", uri, "\"", NULL); 957 else if (!strcasecmp(key, "uri")) 958 resp->uri = apr_pstrdup(r->pool, value); 973 if (!resp->username || !resp->realm || !resp->nonce || !resp->uri 994 * convenient place to get the request-uri (before any subrequests etc 1448 resp->uri, NULL)); 1463 a2 = apr_pstrcat(r->pool, resp->method, ":", resp->uri, NUL [all...] |