Glenn Strauss
22ca2778a8
[build] check for pipe2() at configure time
...
Lack of pipe2() on relic Unix as well as missing on Mac OSX is likely
one reason why threaded web servers such as nginx choose not to support
CGI except via an external service to the process. Without pipe2(),
race conditions exist and it is not safe for a threaded server to use
pipe() and fork() when the server also does not want to potentially leak
open file descriptors to various unrelated CGI scripts.
2016-12-17 18:07:42 -05:00
Glenn Strauss
df61f19daf
[core] compile fix for Mac OS X 10.6 (old) ( fixes #2773 )
...
Mac OS X 10.7 Lion introduces arc4random_buf()
(thx ryandesign)
x-ref:
"Mac OS X build issue Undefined symbols"
https://redmine.lighttpd.net/issues/2773
2016-11-28 12:39:11 -05:00
Glenn Strauss
33e3504bcb
- next is 1.4.44
2016-10-31 09:58:23 -04:00
Glenn Strauss
1f3ad401ba
[mod_deflate] skip deflate if loadavg too high ( fixes #1505 )
...
[mod_deflate] skip deflate if 1 min loadavg too high
deflate.max-loadavg = "3.50" # express value as string of float num
[mod_compress] skip compression if 1 min loadavg too high
compress.max-loadavg = "3.50" # express value as string of float num
Feature available on BSD-like systems which have getloadavg() in libc
Note: load average calculations are different on different operating
systems and different types of system loads, so there is no value that
can be recommended for one-size-fits-all.
x-ref:
"Enable mod_compress to abandon compression when load average is too high"
https://redmine.lighttpd.net/issues/1505
2016-10-19 16:38:47 -04:00
Glenn Strauss
c073a31f69
[autobuild] omit module stubs when missing deps
...
do not build any module (containing module stubs) when the dependencies
for a given module are not present.
2016-10-17 14:15:50 -04:00
Glenn Strauss
5feb2694f7
[autobuild] remove mod_authn_gssapi dep on resolv
...
remove mod_authn_gssapi explicit dependency on -lresolv
This fixes build on FreeBSD when ./configure --with-krb5
(On systems that need libresolv, libkrb5 depends on libresolv)
Also remove obsolete hstrerror() references from build
2016-10-16 08:56:30 -04:00
Glenn Strauss
22c560c228
- next is 1.4.43
2016-10-16 07:58:46 -04:00
Glenn Strauss
032772ab6c
add random() to list of rand() fallbacks
...
(but prefer better mechanisms)
2016-10-16 05:11:38 -04:00
Glenn Strauss
3d0dcdf6ab
fix SCons build
2016-10-16 01:58:25 -04:00
Glenn Strauss
7f4e156e5f
[core] rand.[ch] to use better RNGs when available
...
prefer RAND_pseudo_bytes() (openssl), arc4random() or jrand48(),
if available, over rand()
These are not necessarily cryptographically secure, but should be better
than rand()
2016-10-15 23:28:09 -04:00
Glenn Strauss
177f5509bd
[SCons] define with_geoip for SCons build
2016-09-23 01:15:52 -04:00
Glenn Strauss
9e6524fef5
[SCons] fix syntax error in SConstruct
2016-09-23 01:05:58 -04:00
Glenn Strauss
4ba57b2f67
[SCons] define with_krb5 for SCons build
2016-09-23 00:58:43 -04:00
Glenn Strauss
1c1a63786e
[mod_auth] mod_authn_gssapi Kerberos auth backend ( fixes #1899 )
...
module status: experimental; more testing and review needed
Kerberos library calls have been preserved from original patch set
and should be reviewed.
module has been quickly tested with Basic auth (Use over TLS!)
SPNEGO -has not- been tested. Again, kerberos library calls have
been preserved from original patch set. YMMV. (Use over TLS!)
x-ref:
"Kerberos/GSSAPI Delegation Support"
https://redmine.lighttpd.net/issues/1899
2016-09-22 23:15:38 -04:00
Glenn Strauss
ccd817d3c9
- next is 1.4.42
2016-07-31 08:40:41 -04:00
Glenn Strauss
1ebc83f11f
[build_cmake] clock_gettime() -lrt w/ glibc < 2.17 ( fixes #2737 )
...
clock_gettime() needs -lrt with glibc < 2.17,
and possibly other platforms
This commit contains fixes for CMake and SCONS
See also commit:4d920466 which updated configure.ac for same
x-ref:
"1.4.40 compiling issuses on Debian Wheezy"
https://redmine.lighttpd.net/issues/2737
2016-07-19 04:03:14 -04:00
Glenn Strauss
8f8fa606ca
- next is 1.4.41
2016-07-16 07:58:40 -04:00
Stefan Bühler
f3b577ddee
use libmemcached instead of deprecated libmemcache
...
Differential Revision: https://review.lighttpd.net/D5
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3071 152afb58-edef-0310-8abb-c4023f1b3aa9
2016-01-03 14:48:11 +00:00
Stefan Bühler
c354229f42
add handling for lua 5.2 and 5.3 ( fixes #2674 )
...
Reviewers: stbuehler
Differential Revision: https://review.lighttpd.net/D4
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3070 152afb58-edef-0310-8abb-c4023f1b3aa9
2016-01-03 14:48:09 +00:00
Stefan Bühler
3dd2f66d13
- next is 1.4.40
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3068 152afb58-edef-0310-8abb-c4023f1b3aa9
2016-01-03 14:48:04 +00:00
Stefan Bühler
53c4ab8438
- next ist 1.4.39
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3063 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-12-05 14:18:38 +00:00
Loganaden Velvindron
d7be04beb5
[mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero if available
...
From: Loganaden Velvindron <logan@elandsys.com>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3045 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-09-26 10:11:24 +00:00
Stefan Bühler
d8b5492f5a
-next is 1.4.38
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3037 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-09-15 11:52:35 +00:00
Stefan Bühler
b9c160ec88
[scons] fix build
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3033 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-29 12:37:16 +00:00
Stefan Bühler
52d72fe8fc
[scons] fix crypt() detection, other improvements
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3032 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-29 12:23:45 +00:00
Stefan Bühler
68284bd7f1
[scons] various improvements
...
- don't generate files in src/
- move all build stuff to sconsbuild/
- have different output directories for static/ and fullstatic/,
so we can use that directory for the test suite
- each build type (dynamic, static, fullstatic) has its own check target
- read CFLAGS, LDFLAGS and LIBS from environment
(LIBS are appended after all other dependencies)
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3030 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-29 09:28:04 +00:00
Stefan Bühler
27ab3f76db
[mod_dirlisting] remove sys/syslimits.h; base.h already includes limits.h
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3024 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-23 07:41:09 +00:00
Stefan Bühler
752e501231
- next is 1.4.37
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3006 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-07-26 13:02:44 +00:00
Stefan Bühler
e1b1c52028
- next is 1.4.36
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2961 152afb58-edef-0310-8abb-c4023f1b3aa9
2014-04-02 10:04:09 +00:00
Stefan Bühler
0d855be97e
- next is 1.4.35
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2935 152afb58-edef-0310-8abb-c4023f1b3aa9
2014-01-20 14:20:06 +00:00
Stefan Bühler
32199a7bdf
- next is 1.4.34
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2909 152afb58-edef-0310-8abb-c4023f1b3aa9
2013-09-27 20:22:12 +00:00
Stefan Bühler
5aef370a2d
- next is 1.4.33
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2863 152afb58-edef-0310-8abb-c4023f1b3aa9
2012-11-21 12:34:49 +00:00
Stefan Bühler
b6b694df3d
- next is 1.4.32
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2841 152afb58-edef-0310-8abb-c4023f1b3aa9
2012-08-31 14:11:37 +00:00
Stefan Bühler
beb6709b6c
- next is 1.4.31
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2820 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-12-18 16:35:12 +00:00
Stefan Bühler
34abcf7309
- next is 1.4.30
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2798 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-07-03 16:34:59 +00:00
Stefan Bühler
8d769fd0e2
- next is 1.4.29
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2769 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-22 15:37:46 +00:00
Stefan Bühler
1c796b2d15
- next is 1.4.28
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2763 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-13 11:12:28 +00:00
Stefan Bühler
38f2d1ddd7
cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
...
* use log functions
* convert flags
* fix handler callback prototype
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2752 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-06 21:57:15 +00:00
Stefan Bühler
320e293038
- next is 1.4.27
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2715 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-02-07 21:02:54 +00:00
Stefan Bühler
b5a76921e4
- next is 1.4.26
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2695 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-21 16:08:36 +00:00
Stefan Bühler
66805d03a6
- next is 1.4.25
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2679 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-26 14:16:09 +00:00
Stefan Bühler
7c5917a24b
- next is 1.4.24
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2545 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-19 20:26:45 +00:00
Stefan Bühler
4a47537696
Add IPv6 support to mod_proxy ( fixes #1537 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2484 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 21:02:16 +00:00
Stefan Bühler
bae697a298
- next is 1.4.23
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2411 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 15:46:23 +00:00
Stefan Bühler
c7467c693b
- next is 1.4.22
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2397 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-02-17 09:01:37 +00:00
Stefan Bühler
47f133cbd0
- next is 1.4.21
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2314 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 11:20:31 +00:00
Stefan Bühler
6528732c79
- next is 1.4.20
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2127 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-13 15:33:06 +00:00
Marcus Rückert
1b6b361b66
- next is 1.4.19
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1998 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-09 21:31:27 +00:00
Marcus Rückert
66c4c8f1dd
- next ist 1.4.18
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1978 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-29 00:49:56 +00:00
Marcus Rückert
8cd1471cb3
- white space cleanup part 2 this time 1.4 ;)
...
i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:26:23 +00:00