| /lighttpd1.4/tests/ |
| H A D | LightyTest.pm | 93 my $port = shift; 104 PeerPort => $port) || do { alarm(0); die 'socket()'; }; 131 my $port = shift; 135 while (0 == $self->listening_on($port)) { 159 my($port) = sockaddr_in(getsockname($SOCK)); 160 return ($SOCK, $port); 167 my $port; 168 (undef, $port) = bind_ephemeral_tcp_socket(); 169 return $port; 467 my ($self, $binary, $port) = @_; [all …]
|
| H A D | README | 71 A: It is likely that something else on the machine is already using the port 74 find out which process is using the port.)
|
| /lighttpd1.4/src/ |
| H A D | sock_addr.c | 198 saddr->ipv4.sin_port = htons(port); in sock_addr_set_port() 202 saddr->ipv6.sin6_port = htons(port); in sock_addr_set_port() 260 saddr->ipv4.sin_port = htons(port); in sock_addr_inet_pton() 274 saddr->ipv6.sin6_port = htons(port); in sock_addr_inet_pton() 440 saddr->ipv4.sin_port = htons(port); in sock_addr_from_str_hints() 462 saddr->ipv6.sin6_port = htons(port); in sock_addr_from_str_hints() 466 saddr->ipv4.sin_port = htons(port); in sock_addr_from_str_hints() 519 saddr->ipv6.sin6_port = htons(port); in sock_addr_from_str_hints() 574 saddr->ipv4.sin_port = htons(port); in sock_addr_from_str_hints() 685 saddr->ipv4.sin_port = htons(port); [all …]
|
| H A D | sock_addr.h | 53 void sock_addr_set_port (sock_addr * restrict saddr, unsigned short port); 57 …_inet_pton(sock_addr * restrict saddr, const char * restrict str, int family, unsigned short port); 65 …n_t * restrict len, const buffer * restrict b, int family, unsigned short port, log_error_st * res… 66 …n_t * restrict len, const char * restrict str, int family, unsigned short port, log_error_st * res…
|
| H A D | request.c | 202 long port = 0; in http_request_host_normalize() local 210 port = strtol(colon+1, &e, 0); /*(allow decimal, octal, hex)*/ in http_request_host_normalize() 211 if (0 < port && port <= USHRT_MAX && *e == '\0') { in http_request_host_normalize() 252 port = strtol(bracket+2, &e, 0); /*(allow decimal, octal, hex)*/ in http_request_host_normalize() 253 if (0 < port && port <= USHRT_MAX && *e == '\0') { in http_request_host_normalize() 294 if (0 != port && port != scheme_port) { in http_request_host_normalize() 296 buffer_append_int(b, (int)port); in http_request_host_normalize()
|
| H A D | network.c | 212 unsigned int port = srv->srvconf.port; in network_host_parse_addr() local 249 port = (unsigned int)strtol(colon, NULL, 10); in network_host_parse_addr() 250 if (port == 0 || port > 65535) { in network_host_parse_addr() 252 "port not set or out of range: %u", port); in network_host_parse_addr() 262 sock_addr_from_str_hints(addr,addr_len,chost,family,port,srv->errh)) { in network_host_parse_addr() 860 buffer_append_int(b, srv->srvconf.port); in network_init()
|
| H A D | mod_vhostdb_pgsql.c | 49 const char *dbname=NULL, *user=NULL, *pass=NULL, *host=NULL, *port=NULL; in mod_vhostdb_dbconf_setup() local 65 port = ds->value.ptr; in mod_vhostdb_dbconf_setup() 83 PGconn *dbconn = PQsetdbLogin(host,port,NULL,NULL,dbname,user,pass); in mod_vhostdb_dbconf_setup()
|
| H A D | gw_backend.h | 42 unsigned short port; /* config.port + pno */ member 74 unsigned short port; member
|
| H A D | mod_vhostdb_mysql.c | 51 unsigned int port = 0; in mod_vhostdb_dbconf_setup() local 67 port = strtoul(ds->value.ptr, NULL, 10); in mod_vhostdb_dbconf_setup() 110 if (!mysql_real_connect(dbconn, host, user, pass, dbname, port, sock, in mod_vhostdb_dbconf_setup()
|
| H A D | burl.h | 10 unsigned short port; member
|
| H A D | gw_backend.c | 140 proc->port = host->port + proc->id; in gw_proc_init_portpath() 354 host->host ? host->host->ptr : "", host->port, in gw_proc_check_enable() 427 0, proc->port, errh)) { in gw_proc_sockaddr_init() 445 buffer_append_int(proc->connection_name, proc->port); in gw_proc_sockaddr_init() 907 host->port, cur_max); in gw_host_get() 936 host->host ? host->host->ptr : "", host->port); in gw_host_get() 1383 host->port = cpv->v.shrt; in gw_set_defaults_backend() 1559 } else if (0 == host->port) { in gw_set_defaults_backend() 1560 host->port = 80; in gw_set_defaults_backend() 1632 host->port, in gw_set_defaults_backend() [all …]
|
| H A D | base.h | 96 unsigned short port; member
|
| H A D | server.c | 562 unsigned short port; in server_oneshot_init_pipe() local 564 port = (unsigned short)strtol(ncat_local_port, NULL, 10); in server_oneshot_init_pipe() 565 if (1 != sock_addr_inet_pton(&cnt_addr, ncat_local_addr, family, port)) { in server_oneshot_init_pipe() 573 port = (unsigned short)strtol(ncat_remote_port, NULL, 10); in server_oneshot_init_pipe() 574 if (1 != sock_addr_inet_pton(&cnt_addr, ncat_remote_addr, family, port)) { in server_oneshot_init_pipe()
|
| H A D | mod_redirect.c | 177 burl.port = sock_addr_get_port(&r->con->srv_socket->addr); in URIHANDLER_FUNC()
|
| H A D | mod_extforward.c | 1393 int port = 0; in mod_extforward_str_to_port() local 1394 for (int i = 0; i < 5; ++i, port *= 10) { in mod_extforward_str_to_port() 1396 port += (s[i] - '0'); in mod_extforward_str_to_port() 1397 if (s[i+1] == '\0') return port; in mod_extforward_str_to_port()
|
| /lighttpd1.4/doc/outdated/ |
| H A D | proxy.txt | 58 "port" => <integer> ), 60 "port" => <integer> ) 68 :"port": is tcp-port on the "host" used by the proxy 76 "port" => 81 86 listen on port 80 for requests. ::
|
| H A D | fastcgi.txt | 97 "port" => <integer> , 99 # or host+port 123 :"port": is tcp-port on the "host" used by the FastCGI 171 "port" => 1026, 176 "port" => 1026 184 "port" => 9000, 207 "port" => 9000, 224 (( "host" => "10.0.0.2", "port" => 1030 ), 225 ( "host" => "10.0.0.3", "port" => 1030 )) 250 - IP, port, unix-socket (is empty here) [all …]
|
| H A D | configuration.txt | 48 # TCP port 49 server.port = 80 109 match on socket. Value must be on the format "ip:port" where ip is an IP 110 address and port a port number. Only equal match (==) is supported. 111 It also binds the daemon to this socket. Use this if you want to do IP/port- 274 server.port 275 tcp-port to bind the server to 277 .. note:: port belows 1024 require root-permissions
|
| H A D | evhost.txt | 36 %_ => the complete hostname (without port info)
|
| H A D | ssl.txt | 38 To enable SSL for a specific port, put the directives within a
|
| H A D | accesslog.txt | 78 %p server port
|
| /lighttpd1.4/doc/systemd/ |
| H A D | lighttpd.socket | 8 # Enable listening on http port 10 # To enable listening on https port, lighttpd config needs SSL setup
|
| /lighttpd1.4/doc/config/ |
| H A D | lighttpd.conf | 88 server.port = 80
|
| /lighttpd1.4/ |
| H A D | INSTALL | 190 $ sudo port selfupdate 191 …$ sudo port install autoconf automake cmake libtool m4 pcre2 pkgconfig zlib zstd brotli openssl li…
|
| /lighttpd1.4/src/t/ |
| H A D | test_keyvalue.c | 58 burl.port = 80; in test_keyvalue_pcre_keyvalue_buffer_process()
|