Commit Graph

1563 Commits (a6b42cc61ee31969b170179099920fb074992f56)
 

Author SHA1 Message Date
Stefan Bühler 3d22a09b51 Add <sys/types.h> before including event backends
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2626 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 122831dc17 Fix some compile problems from header inclusion reorder patch
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2625 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler d69683ddb5 Remember keep-alive-idle in separate variable (fixes #1988)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2622 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
Elan Ruusamäe e74295262b - space cosmetic for last commit
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2620 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Elan Ruusamäe cb1ad7b130 - include query string in fastcgi backend errors
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2619 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler f9e65e8500 Fixed some small non-critical leaks reported by cppcheck
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2618 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 34d3f7da99 Create m4/ directory in autogen.sh
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2616 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 759121da93 Fix autogen.sh (used mysql-proxy as template)
* add --foreign as ChangeLog was removed


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2615 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
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
14 years ago
Stefan Bühler 0eff441bb6 tests: fix endless loop if connect fails without the child dying
Found as make check on ubuntu hardy hanged itself, as perl-base
dependencies were broken and didn't require /etc/protocols but it
needed the file.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2610 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Stefan Bühler 64c2e93336 Cleanup tree: remove .cvsignore and ChangeLog (deprecated by NEWS)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2600 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 97faac295b Update fastcgi doc
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2599 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Stefan Bühler b790231357 Fix comment style
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2581 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
Stefan Bühler fbd4fe3c07 cmake: Add -export-dynamic to link flags, fixes build on FreeBSD
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2577 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler fcfd4d048a cmake: Fix crypt lib check
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2576 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler fd43f070a9 Fix some warnings in mod_secure_download.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2575 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 243f756e92 Fix unused function webdav_lockdiscovery in mod_webdav
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2573 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler f5fccea003 Fix missing header <string.h> in mod_cml_lua.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2572 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 8f61a1ffd0 Add "lua-5.1" to searched pkg-config names for lua
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2571 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 2ab8287e32 Fix FD_SETSIZE comparision warnings on FreeBSD
* And again, FreeBSD sucks... it defines FD_SETSIZE as an unsigned integer,
  while every fd is signed.
  This obviously breaks thinks like assert(fd < FD_SETSIZE);


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2570 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 3c11705903 Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2558 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler b3ba9f0fb9 tests: use breakage log
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2555 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 3b66d3b6ae Fix config evaluation for debug.log-timeouts option (#1529)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2553 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler fbdb305f8a Add server.breakagelog, a "special" stderr (fixes #1863)
* The breakage-log simply replaces stderr (the old stderr is moved away if needed for errorlog),
  and stderr isn't closed after forking.
  It defaults to stderr if started with -n (no daemonize), otherwise it defaults to /dev/null.
  It is _not_ reopened in log_error_cycle, as there may be many long running childs which have it
  still open anyway. Use a pipe-logger with cycle-support if you need it.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2550 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 214484dec0 Keep url/host values from connection to display information while keep-alive in mod_status (fixes #1202)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2549 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 90151cdc2e Use unsigned int for secdownload.timeout (fixes #1966)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2548 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 28e198d5a5 Use unsigned int (and T_CONFIG_INT) for max_request_size
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2547 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler 0d8c6accd7 Add T_CONFIG_INT for bigger integers from the config (needed for #1966)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2546 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago