Stefan Bühler
d964e49874
[ssl] document new options in config example
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2814 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-12-06 11:26:51 +00:00
Stefan Bühler
38e3e4a65a
[ssl] fix ssl connection aborts if files are larger than the MAX_WRITE_LIMIT (256kb)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2813 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-12-05 17:08:17 +00:00
Stefan Bühler
456d7f4790
fix compile error when ssl is not enabled
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2812 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-11-30 20:57:54 +00:00
Stefan Bühler
b748fb890d
[core] accept dots in ipv6 addresses in host header ( fixes #2359 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2811 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-11-30 20:46:49 +00:00
Stefan Bühler
0f96222e7e
[ssl] add option to honor server cipher order, true by default ( fixes #2364 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2810 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-11-30 19:59:24 +00:00
Stefan Bühler
8c482a496d
remove copy/paste remainings from previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2809 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-11-30 19:59:20 +00:00
Stefan Bühler
a94bdd07df
[ssl] count renegotiations to prevent client renegotiations
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2808 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-11-30 18:40:08 +00:00
Stefan Bühler
6c9dff7cda
[mod_auth] Fix signedness error in http_auth ( fixes #2370 , CVE-2011-4362)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2806 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-11-29 22:27:11 +00:00
Stefan Bühler
f15ee9becb
Fix mod_status bug: always showed "0/0" in the "Read" column for uploads ( fixes #2351 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2805 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-10-05 13:39:50 +00:00
Stefan Bühler
3518ab60ed
Don't overwrite 401 (auth required) with 501 (unknown method) ( fixes #2341 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2804 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-09-05 09:32:43 +00:00
Stefan Bühler
e05f1b3eec
Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jpg as static file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2803 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-08-30 22:13:59 +00:00
Stefan Bühler
cbf1baacc9
[ssl] fix build errors when Elliptic-Curve Diffie-Hellman is disabled
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2802 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-08-22 15:32:55 +00:00
Stefan Bühler
f434d514ad
Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2801 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-08-22 15:12:28 +00:00
Stefan Bühler
59ebf3c818
fix some gcc warnings
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2800 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-07-30 09:20:15 +00:00
Stefan Bühler
90dd8af32b
Always use our 'own' md5 implementation, fixes linking issues on MacOS ( fixes #2331 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2799 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-07-30 09:16:03 +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
f0816d8db2
fdevent: add solaris eventports ( fixes #2171 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2796 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-06-13 17:34:57 +00:00
Stefan Bühler
960d34c7ea
[doc] Move docs to outdated/ subdir and refer to wiki instead ( fixes #2248 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2795 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-06-13 12:55:54 +00:00
Stefan Bühler
adc97e5ba3
[*cgi] Use physical base dir (alias, userdir) as DOCUMENT_ROOT in cgi environments ( fixes #2216 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2794 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-06-13 12:22:02 +00:00
Stefan Bühler
8cdf9cc767
[proc,include_shell] log error if exec shell fails ( fixes #2280 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2793 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-06-12 15:44:26 +00:00
Stefan Bühler
c66d21bc2b
[md5] fix md5 includes if openssl is not available ( #2269 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2790 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-04-24 16:14:54 +00:00
Stefan Bühler
55e1dc1825
[ssl/build] some minor fixes; fix compile without ssl, cleanup ssl config buffers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2789 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-04-24 16:02:55 +00:00
Stefan Bühler
328043caf3
[ssl/md5] prefix our own md5 implementation with li_ so it doesn't conflict with the openssl one ( fixes #2269 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2788 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-04-24 16:02:52 +00:00
Stefan Bühler
bf0d57d505
two additional test cases for absolute http(s) uris in the request line
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2787 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-04-04 22:39:48 +00:00
Stefan Bühler
f610f894a3
ssl: Support for Diffie-Hellman and Elliptic-Curve Diffie-Hellman key exchange ( fixes #2301 , #2246 , #2239 )
...
- add ssl.use-sslv3
- load all algorithms
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2780 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-03-13 18:00:09 +00:00
Stefan Bühler
562a6ba83b
[build] Fix detection of libev ( fixes #2300 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2779 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-03-13 17:44:42 +00:00
Stefan Bühler
33e30b486a
mod_cgi: make read buffer as big as incoming data block
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2778 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-03-13 17:44:39 +00:00
Stefan Bühler
1eef447d32
[tests] Add path traversal check with $HTTP['url']
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2777 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-02-10 07:56:11 +00:00
Stefan Bühler
abf07f3a02
[mod_proxy]: fix delayed connect
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2773 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-12-16 15:04:41 +00:00
Stefan Bühler
955fd0d08f
[mod_fastcgi]: remove unused var "last_used"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2772 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-12-10 17:38:50 +00:00
Stefan Bühler
cf719ec5b8
Silence annoying "connection closed: poll() -> ERR" error.log message ( fixes #2257 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2771 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-09-17 16:43:11 +00:00
Stefan Bühler
74ce062f56
Fix mod_proxy waiting for response even if content-length is 0 ( fixes #2259 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2770 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-09-17 16:43:07 +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
42ad681f66
Add ticket number in NEWS for segfault fix
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2767 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-22 11:44:49 +00:00
Stefan Bühler
2b6f7069bc
Fix buffer.h to include stdio.h as it is needer for SEGFAULT() ( fixes #2250 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2766 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-22 11:35:12 +00:00
Stefan Bühler
7e5b0fe9ab
Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2765 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-17 09:54:42 +00:00
Stefan Bühler
00fef415a5
Silence freebsd_kqueue delete errors
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2764 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-14 12:08:33 +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
6e724c0573
Only print a warning for now if you try to load a module twice
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2761 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-11 21:10:15 +00:00
Stefan Bühler
e4a1ba2e32
Revert "autotools: don't recreate parser files with lemon after lemon rebuild" ( #2238 )
...
This reverts revision 2748
It broke non-gnu make.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2760 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-11 21:10:11 +00:00
Stefan Bühler
b0126de9f1
[configure.ac] Move PKG_CONFIG path search up
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2759 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-11 21:10:07 +00:00
Stefan Bühler
e23e999089
bind to IPV6-only if ipv6 address was specified ( http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2758 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-07 13:16:16 +00:00
Stefan Bühler
b7cc84abc8
don't overwrite global server.force-lowercase-filenames setting ( fixes #2042 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2757 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-07 11:56:09 +00:00
Stefan Bühler
00265fbdb3
mod_proxy: return response as soon as it is available ( fixes #2196 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2756 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-07 11:41:27 +00:00
Stefan Bühler
743230643e
report libev handler in feature list/mod_status
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2755 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-07 11:03:30 +00:00
Stefan Bühler
f8eb52ebda
add libev fdevent handler: server.event-handler = "libev"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2754 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-07 10:46:34 +00:00
Stefan Bühler
4ae13c32b1
only require FDEVENT_IN bit to be set for listening connections ( fixes #2227 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2753 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-06 21:57:19 +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
614bb7538d
Add check to stop loading plugins twice
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2751 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 22:55:18 +00:00
Stefan Bühler
12f375f3b1
array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry ( fixes #2145 )
...
- the "mem leak" could only be triggered if you use different entry
types in the same array (this wasn't supported by
array_get_unused_element) or didn't call array_get_unused_element
before creating new entries.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2750 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 21:08:23 +00:00