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
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
f2cd823b40
Fix segfault with broken rewrite/redirect patterns ( fixes #2140 , found by crypt)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2707 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-01-30 21:23:29 +00:00
Stefan Bühler
85b1f6afd3
Fix fd leaks in mod_cgi (fds not closed on pipe/fork failures, found by Rodrigo, fixes #2158 , #2159 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2706 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-01-30 11:32:12 +00:00
Stefan Bühler
da3370e82e
Fix mod_proxy dead host detection if connect() fails
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2704 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-01-20 13:22:48 +00:00
Stefan Bühler
d601017b75
mod_fastcgi: x-sendfile2 parse error debugging
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2703 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-01-20 13:22:40 +00:00
Stefan Bühler
e21a83934e
Fix mod_cgi cgi.execute-x-only option in global block
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2702 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-01-06 16:07:43 +00:00
Stefan Bühler
6e035ae1cf
mod_accesslog: support %e ( fixes #2113 , thx presbrey)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2699 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-12-14 15:58:35 +00:00
Stefan Bühler
529b06854f
Remove dependency on automake >= 1.11 with m4_ifdef check
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2697 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-29 14:13:20 +00:00
Stefan Bühler
48fea28651
Fix request parser to handle packets with splitted \r\n\r\n ( fixes #2105 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2696 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-29 14:13:13 +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
6ecb86159c
Fix accesslog escape segfault ( #1551 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2664 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-16 18:56:04 +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
1aaa67bb9b
Fix compile problems without ssl
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2656 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-14 19:05:00 +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
Stefan Bühler
97cec38a3b
Fix compile error if TLS SNI isn't supported
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2652 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-14 17:46:23 +00:00
Stefan Bühler
8c83976dbe
mod_fastcgi: Add "X-Sendfile2" - supporting multiple ranged files ( fixes #2008 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2651 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-14 17:32:38 +00:00