Commit Graph

1240 Commits (63f785a2f88f3486fa290372368cff318a76d459)
 

Author SHA1 Message Date
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2414 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler c60b60e7f0 workaround some warnings from libmemcache
- as libmemcache isn't maintained anymore, it is unlikely
   the function signature get fixed (should be const char* instead of char*)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2413 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler ff1fe3a8ee [cmake] add lighttpd-angel
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2412 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler bae697a298 - next is 1.4.23
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2411 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 4533af7668 Fix segfault if siginfo_t* is NULL in sigaction handler (fixes #1926)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2409 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler a6218765c2 Fix some problems with more strict compilers (#1923)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2408 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler fbaceca37c Fix useless redirection of stderr in mod_rrdtool, as it gets redirected to /dev/null later. (fixes #1922)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2407 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 19963e8c8c Fix autogen.sh warning (gnu make extensions in doc/)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2406 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 7883b7f2ff Treat EPIPE as connection-closed error in network_freebsd_sendfile.c (another fix from #1913)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2405 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler a7ecb6b93a Fix segfault in mod_scgi (fixes #1911)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2404 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 950fbe58bd Fix EAGAIN handling for freebsd sendfile (fixes #1913, thx AnMaster for spotting the problem)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2403 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler e47ee9b8ba [doc] dos2unix doc/magnet.txt
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2402 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 515d800f7c Fix rrd error after graceful restart (fixes #419)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2401 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler a15e1ce4bb Handle EINTR in mod_rrdtool (fixes #604)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2400 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 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