Commit Graph

1226 Commits (6ea62edd5264db9493a5030fcd9174f4d1e4ae56)
 

Author SHA1 Message Date
Stefan Bühler 6ea62edd52 Fix default vhost in mod_simple_vhost (fixes #1905)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2399 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 76f7b9543d Fix wrong lua type for CACHE_MISS/CACHE_HIT in mod_cml (fixes #533)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2398 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler c7467c693b - next is 1.4.22
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2397 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler e2fd8a89c1 Fix wrong format strings (#1900, thx stepancheg)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2394 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler b06a8648df [tests] Fix mod-rewrite test (skipped too many tests if php wasn't running)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2393 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 066b208bb6 Added Language conditional (fixes #1119); patch by petar
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2392 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 83e2296c02 Allow tabs in header values (fixes #1822)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2391 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 22bee5ad52 Silenced the annoying "request timed out" warning, enable with the "debug.log-timeouts" option (fixes #1529)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2390 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 9960b1a3ed Fix error handling in freebsd-sendfile (fixes #1813)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2389 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 705fcaaff1 [cmake] Fix package version in binary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2388 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 24d08807c5 Fix max-connection limit handling/100% cpu usage (fixes #1436)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2387 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler f0bbc7468c Use modified etags in mod_compress (fixes #1800)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2386 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler cb91487c8d Add option to ignore the "Expect: 100-continue" header instead of returning 417 Expectation failed (closes #1017)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2385 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler fdcb6f60f4 Allow mod_compress to return 304 (Not Modified); compress ignores the static-file.etags option.(fixes #1884)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2384 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 4456b579b7 Use/enforce sane max-connection values (fixes #1803)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2383 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler e62b8c19bc Disable SSLv2 by default
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2382 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 832ff277f2 Remove floating point math from server.c (fixes #1402)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2381 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 4642508de3 Some small buffer.c fixes (closes #1837)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2380 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 96eb3cf47c Fix wrong malloc sizes in mod_accesslog (probably nothing bad happened...) (fixes #1855, thx ycheng)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2379 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe ce9409a397 - Do not pass Proxy-Connection: header from client to backend http server in mod_proxy (#1877)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2372 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 3d20850451 Fix uninitialized value in time struct after strptime
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2366 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 79e229c1f0 Optimized buffer usage in mod_proxy (fixes #1850)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2365 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 0dea6999b5 Fix configure/cmake defines and checks
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2364 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 21c5377d3f Use FD_CLOEXEC if possible (fixes #1821)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2363 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 36f74e5d23 Revert url decoding+simplifying before matching of mod_rewrite/mod_redirect
- Lot of regressions (we forgot to reencode the result)
  - Generic problem: after decode and rewrite "a?b?c": which '?' was the path?query seperator?
  - Possible solution: only decode printable characters (without '?'), and encode the result; do not encode the '%' of a not decoded character.
  - Still a problem with path simplifying, it seems many people use urls like this: http://server1/http%3a//server2/xxx
    and rewrite the path into the querystring.
  - Probably only usable with an extra config option

  => Do NOT use rewrite/redirect to protect specific urls.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2362 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler a64e7cd46b [cmake] Fix ipv6 detection
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2360 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 454aefc51a [cmake] Add basic cmake support
- Not distributed yet (so only available in svn checkout)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2359 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 34172dfb09 [tests] Fix tests/mod-compress.conf distribution
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2358 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler bcf2b160cf Compare address family in inet_ntop_cache
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2353 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler ae90172ad3 return mapped events for linux-sysepoll (worked as they have the same values)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2352 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 2a765780da Fix fastcgi-authorizer handling; Status: 200 is now accepted as the doc requests
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2351 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler f786a82aa8 mod_alias: use log_error_write instead of fprintf
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2350 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe 1efff8bf80 - add link to changeset
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2349 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler c61122ddde spawn-fcgi: Initialize socket address struct to zero
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2348 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 376d613953 Check for lua and lua5.1 as pkg-config name with autotools
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2347 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 4b197d05ec Fixed fix for round-robin in mod_proxy (forgot to increment the index) (#1715)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2335 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe d64b33e193 - updated doc from wiki
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2334 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler ab154ee528 - added cve numbers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2327 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 4db2292d50 Fix duplicate connection keep-alive/transfer-encoding headers (#960)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2326 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe c6c2bf8308 - Add possibility to disable methods in mod_compress (#1773)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 80a4f7a721 Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. (#963)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2324 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 87eea9e4c3 Trust pcre-config, do not check for pcre manually (#1769)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2323 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler da4e28778f Do not cache default vhost in mod_simple_vhost (#709)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2322 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 65f4e4a8db Try to convert string options to shorts for numeric options in config file; allows to use env-vars for numeric options. (#1159, thx andrewb)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2321 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler c426767ea2 Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2320 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler b66dc12fda Fix leaving zombie process with include_shell (#1777)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2319 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler cfba07cb82 Now really fix mod auth ldap (#1066)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2318 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 80a2ff3f3a Do not rely on ioctl FIONREAD (#673)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2317 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 90bfe20bf5 Fix mod_cgi segfault when bound to unix domain socket (#653)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2316 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler 8cfa29a7a2 Fix base64 decoding in mod_auth (#1757, thx guido)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2315 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago