This website requires JavaScript.
68e4a416cc
[core] provide array_extract_element and use it
Stefan Bühler
2016-03-15 18:56:02 +00:00
e7a39cde36
[core] fix memory leak in configparser_merge_data
Stefan Bühler
2016-03-15 18:41:59 +00:00
224bf545c1
[core] refactor array search; raise array size limit to SSIZE_MAX
Stefan Bühler
2016-03-15 18:41:57 +00:00
be121a638b
[core] rename variable in array.c
Stefan Bühler
2016-03-15 18:41:54 +00:00
8d8ae9cbc8
[core] improve array API to prevent theoretical memory leaks
Stefan Bühler
2016-03-15 18:26:57 +00:00
c5a42e932f
[mod_fastcgi,mod_scgi] fix leaking file-descriptor when backend spawning failed (reported by Fortify Open Review Project)
Stefan Bühler
2016-03-14 18:07:01 +00:00
2a8f73e7d4
[mod_secdownload] fix buffer overflow in secdl_verify_mac (reported by Fortify Open Review Project)
Stefan Bühler
2016-03-13 14:53:20 +00:00
a6477d8481
[mod_rewrite] fix return type of process_rewrite_rules
Stefan Bühler
2016-03-13 14:53:18 +00:00
f3606dc539
[mod_dirlisting] dir-listing.hide-dotfiles = "enabled" by default (fixes #1081 )
Stefan Bühler
2016-03-04 19:46:29 +00:00
f56fe331e5
[mod_proxy] use case-insensitive comparision to filter headers, send Connection: Close to backend (fixes #421 )
Stefan Bühler
2016-03-04 19:23:16 +00:00
dde7bea99a
[mod_cgi] kill CGI if fail to write request body
Glenn Strauss
2016-03-04 18:54:30 +00:00
f2cbd0a3aa
[mod_cgi] simplify mod_cgi_handle_subrequest()
Glenn Strauss
2016-03-04 18:54:28 +00:00
e5e66f791f
[mod_cgi] consolidate CGI cleanup code
Glenn Strauss
2016-03-04 18:54:26 +00:00
94647804cf
[mod_cgi] send 500 if CGI ends and there is no response (fixes #2542 )
Glenn Strauss
2016-03-04 18:54:24 +00:00
c80ae9b212
[mod_fastcgi] 404 for X-Sendfile file not found (fixes #2474 )
Glenn Strauss
2016-03-04 15:37:17 +00:00
02594f107a
[plugins] don't include dlfcn.h if not needed (fixes #2548 )
Stefan Bühler
2016-02-28 12:12:05 +00:00
75e4859a1b
[mod_compress] case-insensitive content-codings (fixes #2645 )
Glenn Strauss
2016-02-28 11:59:09 +00:00
6c3c360129
[config] extend duplicate-array-key error (fixes #2704 )
Stefan Bühler
2016-02-23 17:05:10 +00:00
2abdf0143b
[buffer] use explicit integer promotion to make the code more readable
Stefan Bühler
2016-02-23 16:28:48 +00:00
c033a1966e
[core] improve conditional enabling (thx Gwenlliana, #2598 )
Stefan Bühler
2016-02-21 18:32:17 +00:00
ad65603ec0
[core] fix conditional cache handling
Stefan Bühler
2016-02-21 18:32:14 +00:00
1c01a42aa3
[core] never evaluate else branches until the previous branches are aready (fixes #2598 )
Glenn Strauss
2016-02-21 17:56:24 +00:00
431559e5df
[configparser] don't continue after parse error (fixes #2717 )
Stefan Bühler
2016-02-19 15:49:06 +00:00
f23a24a263
[mod_cgi] issue trace and exit if execve() fails (closes #2302 )
Glenn Strauss
2016-02-14 11:11:15 +00:00
36a266ec29
fix links to online docs in template config files
fbrosson
2016-02-14 10:56:25 +00:00
665cc39b95
[mod_cgi] edge case chdir "/" when docroot "/" (fixes #2460 )
Glenn Strauss
2016-02-14 10:54:26 +00:00
5cc061bfab
[core] do not send SIGHUP to process group unless server.max-workers is used (fixes #2711 )
Glenn Strauss
2016-02-14 10:44:30 +00:00
3fd80ff8ec
[mod_cgi] use MAP_PRIVATE to mmap temporary file instead of MAP_SHARED (fixes #2715 )
Glenn Strauss
2016-02-10 19:33:57 +00:00
1a71c13869
[autobuild] fix lua configure error handling
Stefan Bühler
2016-01-30 15:01:19 +00:00
107f40545c
cleanup dead keyvalue code
Stefan Bühler
2016-01-30 13:59:10 +00:00
566cf8decb
add force_assert for more allocation results
Stefan Bühler
2016-01-30 13:59:07 +00:00
f3b577ddee
use libmemcached instead of deprecated libmemcache
Stefan Bühler
2016-01-03 14:48:11 +00:00
c354229f42
add handling for lua 5.2 and 5.3 (fixes #2674 )
Stefan Bühler
2016-01-03 14:48:09 +00:00
d8e028e069
[mod_ssi] enhance support for ssi vars
fbrosson
2016-01-03 14:48:07 +00:00
3dd2f66d13
- next is 1.4.40
Stefan Bühler
2016-01-03 14:48:04 +00:00
c27e27a51b
[scons] fix fullstatic build
lighttpd-1.4.39
Stefan Bühler
2015-12-19 08:28:42 +00:00
6ef3b709db
[chunk] fix use after free / double free (fixes #2700 )
Stefan Bühler
2015-12-19 08:28:39 +00:00
737d4f0f20
[core] fix memset_s call (fixes #2698 )
Stefan Bühler
2015-12-18 21:56:59 +00:00
53c4ab8438
- next ist 1.4.39
Stefan Bühler
2015-12-05 14:18:38 +00:00
b37dd77491
[core] show correct crypt support result (fixes #2690 )
lighttpd-1.4.38
Kyle J. McKay
2015-12-04 20:53:51 +00:00
159ca0c15d
[network] add darwin-sendfile backend (fixes #2687 )
Kyle J. McKay
2015-12-04 20:48:21 +00:00
b0ecb4d44b
[mod_fastcgi/mod_scgi] zero sockaddr structs before use (fixes #2691 )
Kyle J. McKay
2015-12-04 20:22:42 +00:00
ab05eb7cec
[tests] do not half-close socket before having received the response (fixes #2688 )
Stefan Bühler
2015-12-04 20:22:38 +00:00
1566748b1a
[tests] test apr-md5 in mod-auth.t
Stefan Bühler
2015-12-04 20:11:35 +00:00
2bcb73cdb8
mod-auth.t: no crypt md5 for darwin
Kyle J. McKay
2015-12-04 20:11:33 +00:00
b9c14b24dd
[autobuild] fix missing header in tar ball
Stefan Bühler
2015-11-22 22:37:19 +00:00
bfaa48260a
[mod_secdownload] add required algorithm option; old behaviour available as "md5", new options "hmac-sha1" and "hmac-sha256"
Stefan Bühler
2015-11-22 22:22:22 +00:00
b0a4421272
[core] refactor base64 functions into separate file
Stefan Bühler
2015-11-22 22:22:20 +00:00
85d8a17575
[core] encode path with ENCODING_REL_URI in redirect to directory (fixes #2661 , thx gstrauss)
Stefan Bühler
2015-11-07 15:00:18 +00:00
3943de280e
[core] add '~' to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding
Stefan Bühler
2015-11-07 15:00:15 +00:00
a069548370
[core] revert increase of temp file size back to 1MB, provide a configure option "server.upload-temp-file-size" instead (fixes #2680 )
Stefan Bühler
2015-11-07 12:51:14 +00:00
c512345fa2
[config] check config option scope; warn if server option is given in conditional
Stefan Bühler
2015-11-07 12:51:11 +00:00
39add4476f
[mod_secdownload] use a hopefully constant time comparison to check hash (fixes #2679 )
Stefan Bühler
2015-10-27 20:50:53 +00:00
5c5f67a5c7
add force_assert for many allocations and function results
Gaurav
2015-10-16 19:44:06 +00:00
f19128086c
[core] don't buffer request bodies smaller than 64k on disk
Stefan Bühler
2015-10-13 19:46:04 +00:00
d7be04beb5
[mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero if available
Loganaden Velvindron
2015-09-26 10:11:24 +00:00
37bdb250a4
[core] check configparserAlloc() result with force_assert
Gaurav
2015-09-26 10:11:22 +00:00
a93be99441
[core] fix search for header end if split across chunks (fixes #2670 )
Stefan Bühler
2015-09-24 06:03:40 +00:00
3512b5cb77
[core] allocate at least 4k buffer for incoming data
Stefan Bühler
2015-09-24 06:03:38 +00:00
69f890e2c5
[stat-cache] fix handling of collisions, might have returned wrong data (fixes #2669 )
Stefan Bühler
2015-09-16 00:18:11 +00:00
90a9322121
fix packdist.sh output links
Stefan Bühler
2015-09-15 11:52:38 +00:00
d8b5492f5a
-next is 1.4.38
Stefan Bühler
2015-09-15 11:52:35 +00:00
5307fd5d33
packdist.sh: use fakeroot for make dist to have root owned files in tar
lighttpd-1.4.37
Stefan Bühler
2015-08-30 11:42:36 +00:00
dd4fe73c47
fix some warnings found by coverity ("leak" in setup phase, not catching too long unix socket paths in mod_proxy)
Stefan Bühler
2015-08-30 10:16:28 +00:00
b9c160ec88
[scons] fix build
Stefan Bühler
2015-08-29 12:37:16 +00:00
52d72fe8fc
[scons] fix crypt() detection, other improvements
Stefan Bühler
2015-08-29 12:23:45 +00:00
0b02cd2690
[mmap] handle SIGBUS in network; those get triggered if the file gets smaller during reading
Stefan Bühler
2015-08-29 12:23:42 +00:00
68284bd7f1
[scons] various improvements
Stefan Bühler
2015-08-29 09:28:04 +00:00
b66fa2cb68
[plugins] when modules are linked statically still only load the modules given in the config
Stefan Bühler
2015-08-29 09:28:01 +00:00
912533cd68
[mmap] fix mmap alignment
Stefan Bühler
2015-08-23 12:59:07 +00:00
6d6dbadb14
[mod_cgi] rewrite mmap and generic (post body) send error handling
Stefan Bühler
2015-08-23 11:53:48 +00:00
2b9be8f072
[build] put --as-needed into linker flags instead of cflags
Stefan Bühler
2015-08-23 08:07:47 +00:00
d572be6a6d
small README for FreeBSD build setup
Stefan Bühler
2015-08-23 07:41:11 +00:00
27ab3f76db
[mod_dirlisting] remove sys/syslimits.h; base.h already includes limits.h
Stefan Bühler
2015-08-23 07:41:09 +00:00
9257d7df4f
[bsd xattr] fix compile break with BSD extended attributes in stat_cache
Stefan Bühler
2015-08-22 23:27:17 +00:00
d7cd5b087a
[autoconf] define HAVE_CRYPT when crypt() is present
Stefan Bühler
2015-08-22 21:39:24 +00:00
9290e923d9
[tests] fix warning about newline in filename
Stefan Bühler
2015-08-22 21:39:22 +00:00
e57a70174b
[kqueue] fix kevent call
Stefan Bühler
2015-08-22 21:39:19 +00:00
87c5ec9651
[tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups
Stefan Bühler
2015-08-22 20:51:08 +00:00
5c48617737
[cmake] fix FreeBSD linker bug
Stefan Bühler
2015-08-22 17:52:17 +00:00
16e1a78ad5
[cmake] don't put date into config.h (not used anyway), only unset local vars for disabled features instead of clearing cache
Stefan Bühler
2015-08-22 17:39:04 +00:00
26226271de
maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced
Stefan Bühler
2015-08-22 17:04:02 +00:00
0508bf674e
fix some unchecked return value warnings
Stefan Bühler
2015-08-22 16:01:08 +00:00
10f1490fb1
[cmake] cleanup cache variables if features get deactivated
Stefan Bühler
2015-08-22 16:01:05 +00:00
403afcd251
[cmake] lowercase commands, whitespace cleanup, remove clutter in else(...), endif(...), endforeach(...)
Stefan Bühler
2015-08-22 16:01:02 +00:00
593599f14a
rewrite network (write) backends
Stefan Bühler
2015-08-22 16:00:59 +00:00
fa8b154628
fix undefined integer shift
Stefan Bühler
2015-08-22 16:00:56 +00:00
5c5616e3e5
increase upload temporary chunk file size from 1MB to 16MB
Stefan Bühler
2015-08-13 18:44:30 +00:00
1371c87c34
fix out-of-filedescriptors when uploading "large" files (fixes #2660 , thx rmilecki)
Stefan Bühler
2015-08-13 18:44:27 +00:00
47cddfd4f3
[mod_dirlisting] fix dir-listing.set-footer not showing
Stefan Bühler
2015-08-09 13:03:52 +00:00
a80f75e004
[mod_proxy] remove debug log line from error log (fixes #2659 )
Stefan Bühler
2015-08-03 19:43:06 +00:00
752e501231
- next is 1.4.37
Stefan Bühler
2015-07-26 13:02:44 +00:00
66d4e93b59
[dist] add dist-xz, remove dist-bzip2, allow ~rc appendix in packdist.sh
lighttpd-1.4.36
Stefan Bühler
2015-07-19 11:20:16 +00:00
def17b2925
[configfile] fix reading uninitialized variable (found by Willian B.)
Stefan Bühler
2015-07-19 10:03:12 +00:00
4a87f75fcf
[mod_proxy] add unix domain socket support (fixes #2653 )
lighttpd-1.4.36--rc1
Pascal Bach
2015-07-11 11:20:18 +00:00
8db141a1b3
mime.conf: add some new mime types, remove .dat, .sha1, .md5, update .vcf
Stefan Bühler
2015-07-07 17:12:48 +00:00
cfaa78ebc5
check fcgi_env_add return value (found by coverity)
Stefan Bühler
2015-07-05 22:00:20 +00:00
2bd89370fc
fix segfault when temp file for upload couldn't be created (found by coverity)
Stefan Bühler
2015-07-05 22:00:17 +00:00
c5737093db
[mod_magnet] fix segfault when accessing not existing lighty.req_env[] entry (found by coverity)
Stefan Bühler
2015-07-05 22:00:14 +00:00
2edec63597
#ifdef all parts belonging to the connection-state debugging
Stefan Bühler
2015-07-05 22:00:11 +00:00