| /lighttpd1.4/src/ |
| H A D | Makefile.am | 341 hdr = base64.h buffer.h burl.h network.h log.h http_kv.h keyvalue.h \ 342 response.h request.h reqpool.h chunk.h h2.h \ 343 first.h http_chunk.h \ 345 algo_md.h algo_md5.h algo_sha1.h algo_splaytree.h algo_xxhash.h \ 348 http_cgi.h http_date.h \ 350 fdevent.h gw_backend.h connections.h base.h base_decls.h stat_cache.h \ 351 plugin.h plugins.h plugin_config.h \ 352 http_etag.h array.h \ 353 fdevent_impl.h network_write.h configfile.h \ 358 sys-endian.h sys-mmap.h sys-setjmp.h \ [all …]
|
| H A D | meson.build | 45 'sys/un.h', 48 'unistd.h', 49 'dlfcn.h', 50 'getopt.h', 52 'poll.h', 53 'pwd.h', 54 'stdint.h', 55 'stdlib.h', 57 'syslog.h', 58 'crypt.h', [all …]
|
| H A D | CMakeLists.txt | 266 #include <sys/types.h> 267 #include <sys/socket.h> 268 #include <netinet/in.h> 285 #include <time.h> 320 check_include_files("sys/types.h;sys/xattr.h" HAVE_SYS_XATTR_H) 322 check_include_files("sys/types.h;sys/extattr.h" HAVE_SYS_EXTATTR_H) 325 check_include_files("sys/types.h;attr/attributes.h" HAVE_ATTR_ATTRIBUTES_H) 353 NAMES libpq-fe.h 420 #include <wolfssl/options.h> 818 ## Write out config.h [all …]
|
| H A D | http_chunk.c | 290 buffer * const h = &r->gw_dechunk->b; in http_chunk_decode_append_data() local 297 if (buffer_is_blank(h)) { in http_chunk_decode_append_data() 313 uint32_t hlen = buffer_clen(h); in http_chunk_decode_append_data() 314 p = strchr(h->ptr, '\n'); in http_chunk_decode_append_data() 359 if (buffer_is_unset(h)) in http_chunk_decode_append_data() 362 buffer_clear(h); in http_chunk_decode_append_data() 371 uint32_t mlen = buffer_clen(h); in http_chunk_decode_append_data() 381 p = strrchr(h->ptr, '\n'); in http_chunk_decode_append_data() 383 buffer_truncate(h, p + 1 - h->ptr); in http_chunk_decode_append_data() 388 buffer_clear(h); in http_chunk_decode_append_data() [all …]
|
| H A D | network.c | 208 char *h; in network_host_parse_addr() local 218 h = host->ptr; in network_host_parse_addr() 219 if (h[0] == '/' || h[0] == '\\') { in network_host_parse_addr() 221 if (h[0] == '\\' && h[1] == 'x' && h[2] == '0' && h[3] == '0') in network_host_parse_addr() 235 h = tb->ptr; in network_host_parse_addr() 236 if (h[0] == '[') { in network_host_parse_addr() 238 if ((h = strchr(h, ']'))) { in network_host_parse_addr() 240 if (*h == ':') colon = h; in network_host_parse_addr() 256 if (h[0] == '*' && h[1] == '\0') { in network_host_parse_addr() 258 ++h; in network_host_parse_addr() [all …]
|
| H A D | request.c | 107 const char *h = host->ptr; in request_check_hostname() local 109 if (*h != '[') { in request_check_hostname() 130 const int ch = h[i]; in request_check_hostname() 149 h += hlen; in request_check_hostname() 154 ++h; /* step past '[' */ in request_check_hostname() 156 while (light_isxdigit(*h) || *h == '.' || (*h == ':' && ++cnt < 8)) ++h; in request_check_hostname() 158 if (*h != ']' || h - host->ptr == 1) return -1; in request_check_hostname() 159 ++h; /* step past ']' */ in request_check_hostname() 163 if (*h == ':') { in request_check_hostname() 166 do { ++h; } while (light_isdigit(*h)); in request_check_hostname() [all …]
|
| H A D | http_etag.c | 49 uint32_t h = dekhash(str, len, len); /*(pass len as initial hash value)*/ in http_etag_remix() local 53 h = dekhash(etag->ptr+1, elen-2, h); in http_etag_remix() 64 buffer_append_int(etag, h); in http_etag_remix()
|
| H A D | lemon.c | 5236 while( *x ) h = h*13 + *(x++); in strhash() 5237 return h; in strhash() 5351 if( x1a->ht[h] ) x1a->ht[h]->from = &(np->next); in Strsafe_insert() 5522 if( x2a->ht[h] ) x2a->ht[h]->from = &(np->next); in Symbol_insert() 5611 h = h*571 + a->rp->index*37 + a->dot; in statehash() 5614 return h; in statehash() 5719 if( x3a->ht[h] ) x3a->ht[h]->from = &(np->next); in State_insert() 5763 h = h*571 + a->rp->index*37 + a->dot; in confighash() 5764 return h; in confighash() 5859 if( x4a->ht[h] ) x4a->ht[h]->from = &(np->next); in Configtable_insert() [all …]
|
| H A D | mod_webdav.c | 2443 if (NULL != h) { in webdav_parse_Depth() 4026 if (h) { in webdav_has_lock() 4931 if (NULL != h) in mod_webdav_put() 5056 if (NULL != h) { in mod_webdav_copymove_b() 5058 || ((h->ptr[0] & 0xdf) != 'F' && (h->ptr[0] & 0xdf) != 'T')) { in mod_webdav_copymove_b() 5671 const buffer *h = in mod_webdav_lock() local 5673 if (h) { in mod_webdav_lock() 5900 if (NULL == h in mod_webdav_lock() 5901 || h->used < 6 || h->ptr[1] != '<' || h->ptr[h->used-3] != '>') { in mod_webdav_lock() 5935 if (NULL == h in mod_webdav_unlock() [all …]
|
| H A D | http_header.c | 269 char *h = buffer_string_prepare_append(vb, 2 + klen + vlen + 2); in http_header_response_insert_addtl() local 273 h += 2; in http_header_response_insert_addtl() 275 if (light_isupper(h[i])) h[i] |= 0x20; in http_header_response_insert_addtl()
|
| H A D | mod_auth.c | 123 uint32_t h = /*(hash pointer value, which includes realm and permissions)*/ in http_auth_cache_hash() local 125 h = djbhash(username, ulen, h); in http_auth_cache_hash() 127 return (int32_t)(h & ~(((uint32_t)1) << 31)); in http_auth_cache_hash() 1018 unsigned char h[MD_DIGEST_LENGTH_MAX]; in mod_auth_append_nonce() local 1023 SHA512_256_iov(h, iov, n); in mod_auth_append_nonce() 1028 SHA256_iov(h, iov, n); in mod_auth_append_nonce() 1034 MD5_iov(h, iov, n); in mod_auth_append_nonce() 1038 li_tohex(buffer_extend(b, n*2), n*2+1, (const char *)h, n); in mod_auth_append_nonce()
|
| H A D | gw_backend.c | 197 static void gw_host_free(gw_host *h) { in gw_host_free() argument 198 if (!h) return; in gw_host_free() 199 if (h->refcount) { in gw_host_free() 200 --h->refcount; in gw_host_free() 204 gw_proc_free(h->first); in gw_host_free() 205 gw_proc_free(h->unused_procs); in gw_host_free() 207 for (uint32_t i = 0; i < h->args.used; ++i) free(h->args.ptr[i]); in gw_host_free() 208 free(h->args.ptr); in gw_host_free() 209 free(h); in gw_host_free() 435 buffer *h; in gw_proc_sockaddr_init() local [all …]
|
| H A D | SConscript | 106 …parser = env.Command([input.replace('.y', '.c'),input.replace('.y', '.h')], input, lemon[0].path +… 209 staticheader = env.AlwaysBuild(env.Command('plugin-static.h', [], WriteStaticPluginHeader)) 220 env.Depends(static_plugin_obj, 'plugin-static.h')
|
| H A D | first.h | 53 #if __has_include(<sys/cdefs.h>)
|
| H A D | config.h.cmake | 2 CMake autogenerated config.h file. Do not edit!
|
| /lighttpd1.4/ |
| H A D | SConstruct | 368 'crypt.h', 375 'poll.h', 376 'pwd.h', 395 ['sys/types.h', 'sys/time.h', 'sys/resource.h'], 396 ['sys/types.h', 'netinet/in.h'], 397 ['sys/types.h', 'sys/event.h'], 398 ['sys/types.h', 'sys/mman.h'], 399 ['sys/types.h', 'sys/select.h'], 400 ['sys/types.h', 'sys/socket.h'], 401 ['sys/types.h', 'sys/uio.h'], [all …]
|
| H A D | configure.ac | 98 getopt.h \ 99 inttypes.h \ 100 poll.h \ 101 pwd.h \ 102 stdlib.h \ 103 stdint.h \ 104 strings.h \ 107 sys/poll.h \ 112 sys/uio.h \ 113 sys/un.h \ [all …]
|
| H A D | .gitignore | 25 config.h 26 config.h.in 31 configparser.h 46 mod_ssi_exprparser.h 54 versionstamp.h
|
| H A D | NEWS | 91 * [build] do not check for pthread.h 683 * [core] vector.h tweaks 818 * [build] look for port.h on Solaris, not sys/port.h 1111 * [multiple] employ http_date.h, sys-time.h 1712 * [build] detect nss3/nss.h or nss/nss.h for NSS 1830 * [core] remove server.h 2141 * [TLS] sys-crypto.h abstraction 2422 * [core] sys-strings.h abstraction for strings.h 3099 * Fix buffer.h to include stdio.h as it is needer for SEGFAULT() (fixes #2250) 3229 * Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923) [all …]
|
| H A D | .gitattributes | 28 *.h text
|
| /lighttpd1.4/tests/ |
| H A D | fcgi-responder.c | 233 FCGI_Header * const h = (FCGI_Header *)(buf+offset); in fcgi_dispatch_packet() local 234 int req_id = (h->requestIdB1 << 8) | h->requestIdB0; in fcgi_dispatch_packet() 235 int type = h->type; in fcgi_dispatch_packet() 297 FCGI_Header * const h = (FCGI_Header *)(buf+offset); in fcgi_recv_packet() local 298 uint32_t pad = h->paddingLength; in fcgi_recv_packet() 299 uint32_t len = (h->contentLengthB1 << 8) | h->contentLengthB0; in fcgi_recv_packet()
|
| H A D | LightyTest.pm | 338 (my $h = $1) =~ tr/[A-Z]/[a-z]/; 340 if (defined $resp_hdr{$h}) { 343 $resp_hdr{$h} .= ', '.$2; 345 $resp_hdr{$h} = $2;
|
| /lighttpd1.4/doc/outdated/ |
| H A D | accesslog.txt | 59 %h name or address of remote-host 97 accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\"" 111 …accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\" \"%{X-LIGHTTPD-SI…
|
| /lighttpd1.4/src/ls-hpack/ |
| H A D | README.md | 17 The API is documented in include/lshpack.h. To see usage examples,
|
| /lighttpd1.4/scripts/cmake/ |
| H A D | LighttpdMacros.cmake | 27 …om_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${SRCBASE}.c ${CMAKE_CURRENT_BINARY_DIR}/${SRCBASE}.h
|