/httpd/modules/cache/ |
H A D | cache_storage.c | 434 const char *hostname, *scheme; local 497 * Copy the scheme, ensuring that it is lower case. If the parsed uri 499 * scheme for this request. As r->parsed_uri.scheme is not set if this 504 if (r->proxyreq && parsed_uri->scheme) { 505 /* Copy the scheme and lower-case it */ 506 lcs = apr_pstrdup(p, parsed_uri->scheme); 509 scheme = lcs; 512 if (conf->base_uri && conf->base_uri->scheme) { 513 scheme [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_ajp.c | 26 * scheme is the scheme for the URL 28 * def_port is the default port for this scheme. 737 const char *scheme = "AJP"; local 753 status = ap_proxy_acquire_connection(scheme, &backend, worker, 758 ap_proxy_release_connection(scheme, backend, r->server); 779 if (ap_proxy_connect_backend(scheme, backend, worker, r->server)) { 827 ap_proxy_release_connection(scheme, backend, r->server);
|
H A D | mod_proxy_wstunnel.c | 36 char *scheme; /* required to release the proxy connection */ member in struct:ws_baton_t 151 ap_proxy_release_connection(baton->scheme, baton->proxy_connrec, baton->r->server); 201 * scheme is the scheme for the URL 203 * def_port is the default port for this scheme. 210 char *scheme; local 216 scheme = "ws:"; 221 scheme = "wss:"; 264 r->filename = apr_pstrcat(r->pool, "proxy:", scheme, "//", host, sport, 335 char *url, char *server_portstr, char *scheme) 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 470 char *scheme; local [all...] |
H A D | mod_proxy_balancer.c | 389 const char *scheme = strstr(*url, "://"); local 392 if (scheme) 393 path = ap_strchr_c(scheme + 3, '/'); 1291 ap_rvputs(r, " <httpd:scheme>", worker->s->scheme, 1292 "</httpd:scheme>\n", NULL); 1383 if (!strcasecmp(worker->s->scheme, "ajp")) {
|
H A D | mod_proxy.c | 520 if (conf->req && r->parsed_uri.scheme) { 523 && !strcasecmp(r->parsed_uri.scheme, ap_http_scheme(r)) 533 /* We need special treatment for CONNECT proxying: it has no scheme part */ 873 /* canonicalise each specific scheme */ 930 char *uri, *scheme, *p; local 1060 scheme = apr_pstrmemdup(r->pool, uri, p - uri); 1104 p2 = ap_strchr_c(ents[i].scheme, ':'); /* is it a partial URL? */ 1105 if (strcmp(ents[i].scheme, "*") == 0 || 1108 (p2 == NULL && strcasecmp(scheme, ents[i].scheme) 1522 char *r, *f, *scheme; local [all...] |
H A D | mod_proxy_http.c | 27 static apr_status_t ap_proxy_http_cleanup(const char *scheme, 33 * scheme is the scheme for the URL 35 * def_port is the default port for this scheme. 42 const char *scheme; local 48 scheme = "http"; 52 scheme = "https"; 57 port = def_port = ap_proxy_port_of_scheme(scheme); 108 r->filename = apr_pstrcat(r->pool, "proxy:", scheme, "://", host, sport, 1885 ap_proxy_release_connection(backend->worker->s->scheme, 1962 ap_proxy_http_cleanup(const char *scheme, request_rec *r, proxy_conn_rec *backend) argument 1985 char *scheme; local [all...] |
H A D | mod_proxy.h | 99 const char *scheme; /* the schemes handled by this proxy, or '*' */ member in struct:proxy_remote 100 const char *protocol; /* the scheme used to talk to this proxy */ 247 void *data; /* per scheme connection data */ 349 char scheme[PROXY_WORKER_MAX_SCHEME_SIZE]; /* scheme to use ajp|http|https */ member in struct:__anon284 537 * The url is rewritten from balancer://cluster/uri to scheme://host:port/uri 854 * @param proxy_function calling proxy scheme (http, ajp, ...) 866 * @param proxy_function calling proxy scheme (http, ajp, ...) 881 * @param proxy_function calling proxy scheme (http, ajp, ...) 892 * @param proxy_function calling proxy scheme (htt [all...] |
/httpd/modules/dav/main/ |
H A D | util.c | 191 const char *scheme; local 205 if (comp.scheme == NULL && must_be_absolute) { 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. 228 if (comp.scheme != NULL || comp.port != 0 || must_be_absolute) 231 scheme = r->parsed_uri.scheme; 232 if (scheme == NULL) 233 scheme [all...] |
/httpd/modules/aaa/ |
H A D | mod_auth_digest.c | 137 const char *scheme; member in struct:digest_header_struct 696 * The main advantages of the above scheme are that it's easy to implement 886 resp->scheme = ap_getword_white(r->pool, &auth_line); 887 if (strcasecmp(resp->scheme, "Digest")) { 1477 if (src->scheme && src->scheme[0] != '\0') { 1478 dst->scheme = src->scheme; 1481 dst->scheme = (char *) "http"; 1579 "client used wrong authentication scheme ` [all...] |
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 499 /* return number of chars of the scheme (incl. '://') 500 * if the URI is absolute (includes a scheme etc.) 503 * the scheme supports a query string or not. 507 * Not every scheme takes query strings and some schemes 510 * XXX: we may consider a scheme registry, perhaps with 685 static char *escape_absolute_uri(apr_pool_t *p, char *uri, unsigned scheme) argument 692 if (!scheme || strlen(uri) < scheme) { 696 cp = uri + scheme; 698 /* scheme wit [all...] |
/httpd/server/ |
H A D | core.c | 2831 * [scheme://]fully-qualified-domain-name[:port], for instance 2841 char *scheme; local 2855 scheme = apr_pstrndup(cmd->pool, arg, part - arg); 2856 ap_str_tolower(scheme); 2857 cmd->server->server_scheme = (const char *)scheme;
|