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
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
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
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
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
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
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
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
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
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
Stefan Bühler
a51a8545f4
Update NEWS file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2708 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-01-30 21:27:38 +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
175ad79a0b
Fix configure.ac to allow autoreconf, also enables make V=0
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2693 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-21 15:11:59 +00:00
Stefan Bühler
2eaf42d0e5
mod_fastcgi: Don't reconnect after connect() succeeded ( fixes #2096 )
...
- a reconnect would try to rebuild the outgoing queue,
which involves reusing the post body - but the first
try already removed it.
we could try reusing the queue, but otoh that really
isn't our problem. accept() it - handle it.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2692 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-07 22:00:10 +00:00
Stefan Bühler
781784664a
mod_fastcgi: fix mod_fastcgi packet parsing
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2691 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-07 18:24:04 +00:00
Stefan Bühler
e430ce09bc
export some SSL_CLIENT_* vars for client cert validation ( fixes #1288 , thx presbrey)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2688 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-05 21:46:48 +00:00
Stefan Bühler
2b79b9c3cb
reset tlsext_server_name in connection_reset - fixes random hostnames in the $HTTP["host"] conditional
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2687 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-05 17:32:08 +00:00
Stefan Bühler
47bd40368d
mod_rrdtool: fix creating file if it doesn't exist ( #1788 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2686 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-31 09:54:13 +00:00
Stefan Bühler
ef28250d23
disable warning "CLOSE-read", part 2 ( fixes #2091 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2685 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-27 08:46:05 +00:00
Stefan Bühler
a81c2a1b02
disable warning "CLOSE-read"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2684 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-26 19:30:40 +00:00
Stefan Bühler
c3c58ae9c6
mod_rewrite: fix compile error if compiled without pcre
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2683 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-26 18:48:26 +00:00
Stefan Bühler
f5f6b954b0
mod_magnet: add traceback for printing lua errors
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2681 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-26 14:16:20 +00:00
Stefan Bühler
07ae3fb815
mod_magnet: fix pairs() for normal tables and strings ( fixes #1307 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2680 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-26 14:16:15 +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
987110317f
Fix broken return values from int to enum in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2670 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-20 07:32:40 +00:00
Stefan Bühler
932b67bd2b
Fix linger close timeout handling, drop timeout to 5 seconds ( fixes #2086 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2669 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-19 13:26:01 +00:00
Stefan Bühler
a0dfe15e41
Fix NEWS - referenced wrong bug ( fixes #2084 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2668 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-17 14:06:37 +00:00
Stefan Bühler
1d5d55a484
Don't print ssl error if client didn't support TLS SNI
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2666 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-16 22:06:22 +00:00
Stefan Bühler
e087d5bf1e
fix mod_webdav crash from #1793 ( fixes #2048 , thx hiroya)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2665 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-16 19:00:19 +00:00
Stefan Bühler
069e848a0c
mod_accesslog: escape special characters ( fixes #1551 , thx icy)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2660 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-16 16:43:28 +00:00
Stefan Bühler
19838e99eb
mod_fastcgi: Fix host->active_procs counter, return 503 if connect wasn't successful after 5 tries ( fixes #1825 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2657 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-16 09:02:41 +00:00
Stefan Bühler
b987643307
Add SSL Client Certificate verification ( #1288 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2654 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-14 18:19:19 +00:00
Peter Colberg
8b6dae4139
Add TLS servername indication (SNI) support ( fixes #386 , thx Peter Colberg <peter@colberg.org>)
...
* This patch may "break" some configs, if they do stupid things. Like setting
ssl.pemfile to a not existing file in a "non-socket/non-ssl" block.
Fix them! :)
From: Peter Colberg <peter@colberg.org>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2648 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-14 13:39:59 +00:00
Stefan Bühler
83145e8ba6
mod_rewrite: add url.rewrite-[repeat-]if-not-file to rewrite if file doesn't exist or is not a regular file ( fixes #985 , thx lucas aerbeydt)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2647 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 21:49:09 +00:00
Stefan Bühler
20c4cd55c3
Fix close_timeout_ts trigger (should finally fix lingering close)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2645 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 20:59:38 +00:00
Stefan Bühler
915a9e3e88
Add some iterators for mod_magnet ( fixes #1307 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2644 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 19:49:43 +00:00
Stefan Bühler
67cb38d0ca
always define _GNU_SOURCE
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2643 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 10:39:36 +00:00
Stefan Bühler
ea903c7512
mod_accesslog: configurable timestamp logging ( fixes #1479 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2642 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 10:13:01 +00:00
Stefan Bühler
07ed8a269b
mod_usertrack: Use T_CONFIG_INT for max-age, solves range problem ( #1455 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2641 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 09:35:01 +00:00
Stefan Bühler
0bd06a9629
Fix segfault on invalid config "duplicate else conditions" ( fixes #2065 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2640 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 08:48:08 +00:00
Stefan Bühler
fd13e94427
mod_fastcgi: restart local procs immediately after they terminated, fix local procs handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2639 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 21:54:50 +00:00
Stefan Bühler
a68a289c75
Fix linger-on-close behaviour to avoid rare failure conditions (was r2636, fixes #657 , thx apenwarr)
...
Sry for the broken commit message
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2638 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 20:36:49 +00:00
Stefan Bühler
925a5ed5c4
mod_fastcgi: fix is_local detection, respawn backends if bin-path is set ( fixes #897 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2635 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 19:46:32 +00:00
Stefan Bühler
d21c645bfa
mod_compress: match partial+full content-type ( fixes #1552 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2634 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 19:27:55 +00:00
Stefan Bühler
af3961c9d9
Update NEWS file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2633 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 19:11:45 +00:00
Elan Ruusamäe
6c75b7bf24
- Combine Cache-Control header value in mod_expire to existing HTTP header if header already added by other modules ( fixes #2068 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2621 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-09-21 13:15:57 +00:00
Stefan Bühler
543f8040d3
Print an error if you use too many captures in a regex pattern ( fixes #2059 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2614 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-08-28 19:30:48 +00:00
Stefan Bühler
5ae8685604
Use linux-epoll by default if available ( fixes #2021 , thx Olaf van der Spek)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2612 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-08-12 18:27:18 +00:00
Stefan Bühler
0413cf0ecf
Set tm.tm_isdst = 0 before mktime() ( fixes #2047 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2608 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-08-06 08:33:19 +00:00
Stefan Bühler
956b6e1924
Print errors from include_shell to stderr
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2606 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-30 18:15:04 +00:00
Stefan Bühler
a1862cc809
Fix ipv6 in mod_proxy ( fixes #2043 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2605 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-27 16:12:36 +00:00
Stefan Bühler
ed417a04d6
Allow mod_mysql_vhost to use stored procedures ( fixes #2011 , thx Ben Brown)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2604 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-24 20:26:17 +00:00
Stefan Bühler
ea78edda65
Fix typo in NEWS (referenced wrong bug)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2603 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-23 23:37:46 +00:00
Stefan Bühler
7b4d8fe8c3
Remove adaptive spawning code from fastcgi (was disabled for a long time)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2598 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-23 21:43:07 +00:00
Stefan Bühler
8004ebbddf
Use disable-time in fastcgi for all disables after errors, default is 1sec ( fixes #2040 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2597 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-23 21:42:59 +00:00
Stefan Bühler
9e6b2c63f0
Fix handling network-write return values ( #2024 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2596 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-23 21:42:24 +00:00
Stefan Bühler
f712888913
Try to fix server.tag issue with localized svnversion
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2595 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-23 13:01:38 +00:00
Stefan Bühler
4df22f2a32
Fix issues found with clang analyzer
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2594 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-21 20:35:27 +00:00
Stefan Bühler
8629831df2
Remove strptime failed message ( fixes #2031 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2593 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-21 08:52:33 +00:00
Stefan Bühler
8a24665a81
Allow all comparisons for $SERVER["socket"] - only bind for "=="
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2590 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-16 23:23:08 +00:00
Stefan Bühler
099d37ef75
Change mod_expire to append Cache-Control instead of overwriting it ( fixes #1197 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2589 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-14 13:18:33 +00:00
Stefan Bühler
5e91465797
Use connection_reset instead of handle_request_done for cleanup callbacks
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2588 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-14 13:15:38 +00:00
Stefan Bühler
b87d3e804b
Allow digits in hostnames in more places ( fixes #1148 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2586 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-14 12:57:27 +00:00
Stefan Bühler
909a546abd
Fix hanging connection in mod_scgi ( fixes #2024 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2585 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-13 14:13:52 +00:00
Stefan Bühler
1b2cc3bb66
Show "no uri specified -> 400" error only when "debug.log-request-header-on-error" is enabled ( fixes #2030 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2583 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-13 13:48:29 +00:00
Stefan Bühler
839aa7dbd9
Reset ignored signals to SIG_DFL before exec() in fastcgi/scgi ( fixes #2029 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2582 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-13 13:41:44 +00:00
Stefan Bühler
e1645ed287
Set FD_CLOEXEC for bound sockets before pipe-logger forks ( fixes #2026 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2578 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-11 09:01:18 +00:00