| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | mod_fastcgi.c | 424 hctx->host = host; in fcgi_host_assign() 898 if (buffer_is_empty(host->host)) { in fcgi_spawn_connection() 910 h_errno, host->host); in fcgi_spawn_connection() 934 if (!buffer_is_empty(host->host)) { in fcgi_spawn_connection() 1290 fcv[0].destination = host->host; in SETDEFAULTS_FUNC() 1313 if ((!buffer_is_empty(host->host) || host->port) && in SETDEFAULTS_FUNC() 1683 if (!buffer_is_empty(host->host)) { in fcgi_establish_connection() 2741 host->host, host->port, in fcgi_restart_dead_procs() 2762 host->host, host->port, in fcgi_restart_dead_procs() 3174 host = hctx->host; in SUBREQUEST_FUNC() [all …]
|
| H A D | mod_scgi.c | 691 if (buffer_is_empty(host->host)) { in scgi_spawn_connection() 703 h_errno, host->host); in scgi_spawn_connection() 2073 host->host, proc->port, in scgi_restart_dead_procs() 2095 host->host, host->port, in scgi_restart_dead_procs() 2174 if (((!host->host->used || !host->port) && !host->unixsocket->used)) { in scgi_write_request() 2178 host->host->used, in scgi_write_request() 2388 host = hctx->host; in SUBREQUEST_FUNC() 2396 host->host, in SUBREQUEST_FUNC() 2415 host->host, in SUBREQUEST_FUNC() 2642 host->host, in scgi_handle_fdevent() [all …]
|
| H A D | mod_proxy.c | 369 data_proxy *host= hctx->host; in proxy_establish_connection() local 374 if (strstr(host->host->ptr, ":")) { in proxy_establish_connection() 752 data_proxy *host= hctx->host; in proxy_write_request() local 758 (!host->host->used || !host->port)) return -1; in proxy_write_request() 911 host = hctx->host; in SUBREQUEST_FUNC() 920 host->host, in SUBREQUEST_FUNC() 1066 hctx->host->host, in proxy_handle_fdevent() 1215 host->host, in mod_proxy_check_extension() 1308 hctx->host = host; in mod_proxy_check_extension() 1319 host->host, host->port); in mod_proxy_check_extension() [all …]
|
| H A D | data_fastcgi.c | 13 buffer_copy_string_buffer(ds->host, src->host); in data_fastcgi_copy() 22 buffer_free(ds->host); in data_fastcgi_free() 31 buffer_reset(ds->host); in data_fastcgi_reset() 47 fprintf(stdout, "fastcgi(%s)", ds->host->ptr); in data_fastcgi_print() 57 ds->host = buffer_init(); in data_fastcgi_init()
|
| H A D | request.c | 37 if (!host || host->used == 0) return 0; in request_check_hostname() 39 host_len = host->used - 1; in request_check_hostname() 42 if (host->ptr[0] == '[') { in request_check_hostname() 43 char *c = host->ptr + 1; in request_check_hostname() 82 host_len = colon - host->ptr; in request_check_hostname() 89 if (host->ptr[host_len-1] == '.') { in request_check_hostname() 92 else host->ptr[host_len-1] = '\0'; in request_check_hostname() 94 host->used -= 1; in request_check_hostname() 101 const char c = host->ptr[i]; in request_check_hostname() 119 } else if ('-' == host->ptr[i+1]) { in request_check_hostname() [all …]
|
| H A D | network.c | 142 const char *host; local 192 host = b->ptr; 197 host++; 206 if (host[0] == '/') { 215 if (*host == '\0') host = NULL; 287 if (host == NULL) { 329 if (host == NULL) { 336 h_errno, host); 374 host); 383 unlink(host); [all …]
|
| H A D | mod_simple_vhost.c | 124 static int build_doc_root(server *srv, connection *con, plugin_data *p, buffer *out, buffer *host) { in build_doc_root() argument 132 if (host->used) { in build_doc_root() 140 if (NULL == (dp = strchr(host->ptr, ':'))) { in build_doc_root() 141 buffer_append_string_buffer(out, host); in build_doc_root() 143 buffer_append_string_len(out, host->ptr, dp - host->ptr); in build_doc_root()
|
| H A D | mod_evhost.c | 166 static int mod_evhost_parse_host(connection *con,array *host) { in mod_evhost_parse_host() argument 192 array_insert_unique(host,(data_unset *)ds); in mod_evhost_parse_host() 206 array_insert_unique(host,(data_unset *)ds); in mod_evhost_parse_host() 219 array_insert_unique(host,(data_unset *)ds); in mod_evhost_parse_host()
|
| H A D | mod_extforward.c | 306 static struct addrinfo *ipstr_to_sockaddr(server *srv, const char *host) { in ipstr_to_sockaddr() argument 324 result = getaddrinfo(host, NULL, &hints, &res0); in ipstr_to_sockaddr() 328 "could not resolve hostname ", host, " because ", gai_strerror(result), strerror(errno)); in ipstr_to_sockaddr() 333 "Problem in resolving hostname ", host, ": succeeded, but no information returned"); in ipstr_to_sockaddr()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/ |
| H A D | proxy.txt | 57 ( "host" => <string> , 59 ( "host" => <string> , 67 :"host": is ip of the proxy server 75 "host" => "10.0.0.242", 88 $HTTP["host"] == "www.example.org" { 90 proxy.server = ( "" => ( ( "host" => "10.0.0.10" ), 91 ( "host" => "10.0.0.11" ), 92 ( "host" => "10.0.0.12" ), 93 ( "host" => "10.0.0.13" ), 94 ( "host" => "10.0.0.14" ), [all …]
|
| H A D | simple-vhost.txt | 26 Every virtual host is in a directory below a base directory in a path that 42 server-root + default-host + document-root 57 simple-vhost.default-host = "www.example.org" 69 simple-vhost.default-host = "www.example.org" 72 $HTTP["host"] == "news.example.org" { 86 $HTTP["host"] !~ "^(news\.example\.org)$" { 88 simple-vhost.default-host = "www.example.org" 92 $HTTP["host"] == "news.example.org" { 102 root of the virtual host 104 simple-vhost.default-host
|
| H A D | redirect.txt | 38 # from any www.host (with www.) to the host (without www.) 39 $HTTP["host"] =~ "^www\.(.*)" {
|
| H A D | mysqlvhost.txt | 24 With MySQL-based vhosting you can store the path to a given host's 55 INSERT INTO domains VALUES ('host.dom.ain','/http/host.dom.ain/');
|
| H A D | traffic-shaping.txt | 25 a single connection or config context like a virtual host or a URL. 43 $HTTP["host"] == "www.example.org" { 47 which will override the default for this host.
|
| H A D | ssl.txt | 51 $ cat host.key host.crt > host.pem
|
| H A D | fastcgi.txt | 96 ( "host" => <string> , 99 # or host+port 114 ( "host" => ... 164 Multiple extensions for the same host :: 167 (( "host" => "127.0.0.1", 172 (( "host" => "127.0.0.1", 180 (( "host" => "192.168.0.3", 203 (( "host" => "10.0.0.2", 221 (( "host" => "10.0.0.2", "port" => 1030 ), 222 ( "host" => "10.0.0.3", "port" => 1030 )) [all …]
|
| H A D | rewrite.txt | 65 # use mod_*host instead to make real mass-vhost 74 $HTTP["host"] =~ "^.*\.([^.]+\.com)$" {
|
| H A D | configuration.txt | 90 $HTTP["host"] 91 match on host 141 $HTTP["host"] =~ "(^|\.)example\.org$" { 169 $HTTP["host"] == "www.example.org" { 182 $HTTP["host"] == "www.example.org" { 196 $HTTP["host"] == "www.example.org" { 233 $HTTP["host"] == "www.example.org" {
|
| H A D | accesslog.txt | 46 $HTTP["host"] == "mail.example.org" { 59 %h name or address of remote-host
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/tests/ |
| H A D | LightyTest.pm | 156 my $host = "127.0.0.1"; 165 PeerAddr => $host, 176 diag("\nsending request header to ".$host.":".$self->{PORT}) if $is_debug; 187 diag("\nsending request header to ".$host.":".$self->{PORT}) if $is_debug;
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | ltmain.sh | 4428 case $host in 4857 case $host in 5331 case $host in 6993 case $host in 7041 case $host in 7096 case $host in 8249 case $host in 9435 case $host in 10298 case $host in 10522 case $host in [all …]
|
| /mOS-networking-stack/samples/epwget/ |
| H A D | epwget.c | 62 static char host[MAX_IP_STR_LEN + 1]; variable 246 path, host); in SendHTTPRequest() 254 path, host); in SendHTTPRequest() 560 strncpy(host, url, slash_p - url); in GlbInitWget() 563 strncpy(host, url, MAX_IP_STR_LEN); in GlbInitWget() 567 daddr = inet_addr(host); in GlbInitWget()
|
| H A D | epwget-mp.c | 61 static char host[MAX_IP_STR_LEN + 1]; variable 245 path, host); in SendHTTPRequest() 253 path, host); in SendHTTPRequest() 558 strncpy(host, url, slash_p - url); in GlbInitWget() 561 strncpy(host, url, MAX_IP_STR_LEN); in GlbInitWget() 565 daddr = inet_addr(host); in GlbInitWget()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/config/conf.d/ |
| H A D | simple_vhost.conf | 19 simple-vhost.default-host = "default.example.com"
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/config/vhosts.d/ |
| H A D | vhosts.template | 7 $HTTP["host"] == "download.example.com" {
|