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
Stefan Bühler
cf5fcf953d
openssl: silence annoying error messages for errno==0 ( fixes #2213 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2749 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 20:42:18 +00:00
Stefan Bühler
7b7dd1b986
autotools: don't recreate parser files with lemon after lemon rebuild
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2748 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 19:53:52 +00:00
Stefan Bühler
572f738f29
mod_accesslog: optimize accesslog_append_escaped ( fixes #2236 , thx crypt)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2747 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 19:53:49 +00:00
Stefan Bühler
f8ef22c019
Add some more people to AUTHORS list
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2745 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 19:22:29 +00:00
Stefan Bühler
f65467386f
mod_status: Add version to status page ( fixes #2219 )
...
* the status page shouldn't be public anyway, so no reason to hide the version;
but it makes debugging easier
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2744 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-11 17:18:59 +00:00
Stefan Bühler
cece2fe3c6
mod_accesslog: Fix var declarations mixed in source ( fixes #2233 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2743 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-11 17:18:54 +00:00
Marcus Rückert
ac087bd9c7
- a bit more cleanup in the docs dir
...
- move scripts and init scripts into subdirs
- remove unused lighttpd.user
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2742 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-07 12:56:48 +00:00
Marcus Rückert
b75fa3c990
- add new directories
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2741 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-07 12:52:30 +00:00
Marcus Rückert
06721fcb35
- register makefiles in configure
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2740 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-07 12:48:07 +00:00
Marcus Rückert
9b2f794c2c
- fix makefiles for the new files
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2739 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-07 12:28:35 +00:00
Marcus Rückert
433c2a0c0d
- replace old default config with my config from opensuse. #2203
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2738 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-07 11:29:31 +00:00
Stefan Bühler
73e0bb2715
mod_cgi: fix race condition leaving response not forwarded to client ( fixes #2217 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2737 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 10:37:34 +00:00
Stefan Bühler
165de1331b
mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions ( fixes #2215 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2736 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 08:43:37 +00:00
Stefan Bühler
c6c8ad2ac7
mod_fastcgi: Send 502 "Bad Gateway" if we couldn't open the file for X-Sendfile ( fixes #2226 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2735 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 08:30:52 +00:00
Stefan Bühler
48f1cf79b4
mod_accesslog: fix %p for ipv6 sockets ( fixes #2228 , thx jo.henke)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2734 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 08:30:48 +00:00
Stefan Bühler
d58fea0c7a
Fix parsing of fastcgi.debug option on big-endian ( fixes #2230 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2733 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 07:45:29 +00:00
Stefan Bühler
a61e0bdde0
Fix two compiler warnings
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2732 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 07:45:25 +00:00
Stefan Bühler
bcb4f31188
Fix comment style
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2731 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 07:45:21 +00:00
Stefan Bühler
63233d3c47
Fix etag formatting
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2730 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 07:45:17 +00:00
Stefan Bühler
bd4c4aaab2
Fix stalls while reading from ssl sockets ( fixes #2197 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2729 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 07:45:13 +00:00
Elan Ruusamäe
a813273c2f
- Include IP addresses on error log on password failures ( fixes #2191 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2727 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-05-28 15:54:27 +00:00
Elan Ruusamäe
5518643d39
- Print double quotes properly when dumping config file ( fixes #1806 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2725 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-05-28 15:16:39 +00:00
Stefan Bühler
b3892c1410
Reset uri.authority before TLS servername handling, reset all "keep-alive" data in connection_del ( fixes #2125 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2724 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-28 19:08:11 +00:00
Stefan Bühler
494ce8e3b0
[mod_compress] Fix segfault when etags are disabled ( fixes #2169 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2723 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-28 13:35:25 +00:00
Stefan Bühler
f6b3c15024
Fix detecting git repository ( fixes #2173 , thx ncopa)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2722 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-28 13:12:36 +00:00
Stefan Bühler
a0b5391e77
Fix var declarations mixed in source
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2721 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-13 16:21:21 +00:00
Stefan Bühler
a48aa0f023
Check uri instead of physical path for directory redirect
...
* should fix alias handling for "/foo" => "/var/www/";
http://example.com/foo should result in a redirect to
http://example.com/foo/
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2720 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-13 15:47:29 +00:00
Stefan Bühler
221af3d59d
mod_proxy: close connection on write error ( fixes #2114 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2719 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-07 15:54:28 +00:00
Stefan Bühler
e789ea231f
Fix mod_proxy HUP handling (send final chunk, fix usage counter)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2718 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-07 15:34:51 +00:00
Stefan Bühler
34fb1258e4
Fix handling return value of SSL_CTX_set_options ( fixes #2157 , thx mlcreech)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2716 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-02-28 11:48:05 +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
ed9be1a84f
Add some details to NEWS
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2713 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-02-07 19:51:52 +00:00
Stefan Bühler
914e499723
Fix HUP detection in close-state if event-backend doesn't support FDEVENT_HUP (like select or poll on FreeBSD)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2712 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-02-04 10:13:37 +00:00
Stefan Bühler
f601b8028b
Append to previous buffer in con read ( fixes #2147 , found by liming, CVE-2010-0295)
...
* Remove ssl_error_want_reuse_buffer for SSL_read:
Although the manual states we have to use the same arguments in the
next call after SSL_ERROR_WANT_*, it has been running without this
in 1.5 for a long time now.
* As POST-data chunks get copied to the next queue, we reuse chunks
there as well.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2710 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-02-01 23:28:50 +00:00