Commit Graph

1308 Commits

Author SHA1 Message Date
Stefan Bühler 60e745695a Fix 100% cpu usage if time() < 0 (thx to gaspa and cate, fixes #1964)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2532 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 14:04:57 +00:00
Stefan Bühler ad1e80e5af Add X-Sendfile-Range feature (fixes #2005)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2531 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 12:35:00 +00:00
Stefan Bühler 59eaedf353 [tests] Remove index.html~ from repository, create it on the fly for tests
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2530 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 12:34:54 +00:00
Stefan Bühler 3af67d1392 Ignore multiple "If-None-Match" headers (only use first one, fixes #753)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2528 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 10:18:36 +00:00
Stefan Bühler 5204fd7e6c Adding support for additional chars in LDAP usernames (fixes #1941)
Allowing LDAP entries to use the chracters ' ', '@', '-', '_',
and '.' in the user name attribute.  These characters do not
modify the behavior of the LDAP filter and are common in LDAP
user names.

Signed-off-by: David M. Syzdek <david@syzdek.net>


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2526 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 10:09:14 +00:00
Stefan Bühler 7ad4792357 Add support for "real" entropy from /dev/[u]random (fixes #1977)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2524 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 09:53:34 +00:00
Stefan Bühler 93bac6a31e Fix unused var in log.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2523 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 09:38:54 +00:00
Stefan Bühler 01d6ce3fb6 Fix building the versionstamp file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2522 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-10 16:59:01 +00:00
Stefan Bühler bcc65ae59f Add ssi.content-type option (default text/html, fixes #615)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2519 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-10 14:50:42 +00:00
Stefan Bühler 2f4120b37b Fix segfault in mod_expire after failed config parsing (fixes #1992)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2517 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-10 14:31:06 +00:00
Stefan Bühler 4f4d40f3f7 Add "lighty.req_env" table to mod_magnet for setting/getting environment values for cgi (fixes #1967, thx presbrey)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2515 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-10 13:08:15 +00:00
Stefan Bühler cbec37396d Allow using pcre with cross-compiling (pcre-config got fixed; fixes #1986)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2511 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-07 19:31:24 +00:00
Stefan Bühler 57066345e4 Workaround broken operating systems: check for trailing '/' in filenames (fixes #1989)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2510 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-07 19:07:31 +00:00
Stefan Bühler b063f0186a Improve FastCGI performance (fixes #1999)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2509 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-07 17:46:11 +00:00
Stefan Bühler b202898c40 Backup errno for later usage (reported by Guido Reina via mailinglist)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2508 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-03 16:44:37 +00:00
Stefan Bühler fbf79a8e72 Modify fastcgi error message
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2507 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-03 16:07:20 +00:00
Stefan Bühler 1a5d8c2dc4 Fix mod-fastcgi counters
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2506 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-05-19 18:39:44 +00:00
Stefan Bühler f70eab0d85 Fix evasive.silent option (#1438)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2505 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-05-12 06:47:00 +00:00
Stefan Bühler 69987ea95f Fix max-age value in mod_expire for 'modification' (fixes #1978)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2503 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-05-10 12:20:19 +00:00
Stefan Bühler 95dd0db4d7 Change autoconf contact email
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2502 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-30 20:15:40 +00:00
Stefan Bühler 2c0eb025f1 [cmake] Remove -Wno-pointer-sign from extra warnings
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2499 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-29 14:51:39 +00:00
Stefan Bühler 9c53e2ef80 Fix workaround for incorrect path info/scriptname if scgi prefix is "/" (fixes #729)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2498 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-29 14:51:35 +00:00
Stefan Bühler a78acf99a1 Fix mod_cgi environment keys mangling (fixes #1969)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2497 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-28 18:32:03 +00:00
Stefan Bühler ca95b48d68 Fix lemon compiler warnings
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2495 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-28 18:29:03 +00:00
Stefan Bühler d947d0d2da Fix x-sendfile 2gb limiting (fixes #1970)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2494 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-28 18:28:13 +00:00
Stefan Bühler ecfdc60945 Fix SERVER_NAME port stripping (fixes #1968)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2492 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-28 18:26:23 +00:00
Stefan Bühler d0c8721b0d Fix unused var in mod_extforward if ipv6 is disabled.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2487 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-27 09:28:49 +00:00
Stefan Bühler 7f103eab6c Fix error message if no auth backend was set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2486 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-27 09:28:48 +00:00
Stefan Bühler 4de9dc077a mod_ssi printenv: print cgi env, add environment vars to cgi env (fixes #1713)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2485 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-27 09:28: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 0544f34ee3 Add '%_' pattern for complete hostname in mod_evhost (fixes #1737)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2483 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 20:19:31 +00:00
Stefan Bühler 4c7c0b815e Make mod_extforward headers configurable (fixes #1545)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2482 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 19:43:22 +00:00
Stefan Bühler 6fac05e10b Add evasive.silent option (fixes #1438)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2481 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 18:29:14 +00:00
Stefan Bühler 966ba442dc Limit amount of bytes read for one read-event (fixes #1070)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2480 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 18:29:09 +00:00
Stefan Bühler 0226d4bf36 Add option to enable TCP_DEFER_ACCEPT (fixes #1447)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2479 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 17:59:55 +00:00
Stefan Bühler 63a010f686 Add some dirlisting enhancements (fixes #1458)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2478 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 16:40:55 +00:00
Stefan Bühler e7b0528e9e Fix bug with FastCGI request id overflow under high load; just use always id 1 as we don't use multiplexing. (thx jgray)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2477 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-24 19:22:16 +00:00
Stefan Bühler e4b15be91c Change name/version separator back to "/" (affects every place where the version is printed)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2475 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-16 12:14:00 +00:00
Stefan Bühler c21623456c mod_magnet: Add env["request.path-info"]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2474 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-15 22:33:36 +00:00
Stefan Bühler 1ff333cb4a mod_magnet: Add env["request.remote-ip"] (fixes #1740)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2473 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-15 22:33:34 +00:00
Stefan Bühler 3172b49840 Fix trailing zero char in REQUEST_URI after "strip-request-uri" in mod_fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2472 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-15 22:33:30 +00:00
Stefan Bühler 2e823e8d14 Use server.tag for SERVER_SOFTWARE if configured (fixes #357)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2471 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-11 12:48:27 +00:00
Stefan Bühler f4e1d106c2 Fix problem with versionstamp.h; don't rebuild every time
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2470 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-11 12:48:20 +00:00
Stefan Bühler 75d2269821 Fix code comments in mod_auth.c (fixes #1909, thx cdumke)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2469 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-11 12:10:14 +00:00
Stefan Bühler ab6223a9aa Forgot src/version.h in previous commit
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2468 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-10 18:27:35 +00:00
Stefan Bühler 638ee6cad9 Add revision number to package version for svn/git checkouts
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2467 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-10 17:35:19 +00:00
Stefan Bühler 1527160c69 Add support for pipe logging for server.errorlog (fixes #296)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2466 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-10 10:50:51 +00:00
Stefan Bühler a8ad0477a8 Some small example-config updates (fixes #1540)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2444 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 20:02:45 +00:00
Stefan Bühler 80552616ce Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2440 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 17:39:20 +00:00
Stefan Bühler ff5c18bee8 Check for regular file in mod_cgi, so we don't try to start directories
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2439 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 16:51:56 +00:00