Commit Graph

496 Commits (95dc1ed79e2c36b3481163729ce104a80a8bfc19)

Author SHA1 Message Date
Stefan Bühler d21c645bfa mod_compress: match partial+full content-type (fixes #1552)
13 years ago
Stefan Bühler af3961c9d9 Update NEWS file
13 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)
14 years ago
Stefan Bühler 543f8040d3 Print an error if you use too many captures in a regex pattern (fixes #2059)
14 years ago
Stefan Bühler 5ae8685604 Use linux-epoll by default if available (fixes #2021, thx Olaf van der Spek)
14 years ago
Stefan Bühler 0413cf0ecf Set tm.tm_isdst = 0 before mktime() (fixes #2047)
14 years ago
Stefan Bühler 956b6e1924 Print errors from include_shell to stderr
14 years ago
Stefan Bühler a1862cc809 Fix ipv6 in mod_proxy (fixes #2043)
14 years ago
Stefan Bühler ed417a04d6 Allow mod_mysql_vhost to use stored procedures (fixes #2011, thx Ben Brown)
14 years ago
Stefan Bühler ea78edda65 Fix typo in NEWS (referenced wrong bug)
14 years ago
Stefan Bühler 7b4d8fe8c3 Remove adaptive spawning code from fastcgi (was disabled for a long time)
14 years ago
Stefan Bühler 8004ebbddf Use disable-time in fastcgi for all disables after errors, default is 1sec (fixes #2040)
14 years ago
Stefan Bühler 9e6b2c63f0 Fix handling network-write return values (#2024)
14 years ago
Stefan Bühler f712888913 Try to fix server.tag issue with localized svnversion
14 years ago
Stefan Bühler 4df22f2a32 Fix issues found with clang analyzer
14 years ago
Stefan Bühler 8629831df2 Remove strptime failed message (fixes #2031)
14 years ago
Stefan Bühler 8a24665a81 Allow all comparisons for $SERVER["socket"] - only bind for "=="
14 years ago
Stefan Bühler 099d37ef75 Change mod_expire to append Cache-Control instead of overwriting it (fixes #1197)
14 years ago
Stefan Bühler 5e91465797 Use connection_reset instead of handle_request_done for cleanup callbacks
14 years ago
Stefan Bühler b87d3e804b Allow digits in hostnames in more places (fixes #1148)
14 years ago
Stefan Bühler 909a546abd Fix hanging connection in mod_scgi (fixes #2024)
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)
14 years ago
Stefan Bühler 839aa7dbd9 Reset ignored signals to SIG_DFL before exec() in fastcgi/scgi (fixes #2029)
14 years ago
Stefan Bühler e1645ed287 Set FD_CLOEXEC for bound sockets before pipe-logger forks (fixes #2026)
14 years ago
Stefan Bühler fbd4fe3c07 cmake: Add -export-dynamic to link flags, fixes build on FreeBSD
14 years ago
Stefan Bühler fcfd4d048a cmake: Fix crypt lib check
14 years ago
Stefan Bühler 243f756e92 Fix unused function webdav_lockdiscovery in mod_webdav
14 years ago
Stefan Bühler 8f61a1ffd0 Add "lua-5.1" to searched pkg-config names for lua
14 years ago
Stefan Bühler 2ab8287e32 Fix FD_SETSIZE comparision warnings on FreeBSD
14 years ago
Stefan Bühler 3c11705903 Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013)
14 years ago
Stefan Bühler 3b66d3b6ae Fix config evaluation for debug.log-timeouts option (#1529)
14 years ago
Stefan Bühler fbdb305f8a Add server.breakagelog, a "special" stderr (fixes #1863)
14 years ago
Stefan Bühler 214484dec0 Keep url/host values from connection to display information while keep-alive in mod_status (fixes #1202)
14 years ago
Stefan Bühler 90151cdc2e Use unsigned int for secdownload.timeout (fixes #1966)
14 years ago
Stefan Bühler 28e198d5a5 Use unsigned int (and T_CONFIG_INT) for max_request_size
14 years ago
Stefan Bühler 0d8c6accd7 Add T_CONFIG_INT for bigger integers from the config (needed for #1966)
14 years ago
Stefan Bühler 7c5917a24b - next is 1.4.24
14 years ago
Stefan Bühler b2108c436c Remove X-Sendfile-Range feature; it will be replaced with something more powerful (#2005, #2008)
14 years ago
Stefan Bühler 3c723e6744 Make dependency on svnversion/git optional (for devel versionstamp, fixes #2009)
14 years ago
Stefan Bühler e2e7fe607a Allow max-keep-alive-requests to depend on conditional (fixes #1881)
14 years ago
Stefan Bühler 60e745695a Fix 100% cpu usage if time() < 0 (thx to gaspa and cate, fixes #1964)
14 years ago
Stefan Bühler ad1e80e5af Add X-Sendfile-Range feature (fixes #2005)
14 years ago
Stefan Bühler 3af67d1392 Ignore multiple "If-None-Match" headers (only use first one, fixes #753)
14 years ago
Stefan Bühler 5204fd7e6c Adding support for additional chars in LDAP usernames (fixes #1941)
14 years ago
Stefan Bühler 7ad4792357 Add support for "real" entropy from /dev/[u]random (fixes #1977)
14 years ago
Stefan Bühler bcc65ae59f Add ssi.content-type option (default text/html, fixes #615)
14 years ago
Stefan Bühler 2f4120b37b Fix segfault in mod_expire after failed config parsing (fixes #1992)
14 years ago
Stefan Bühler 4f4d40f3f7 Add "lighty.req_env" table to mod_magnet for setting/getting environment values for cgi (fixes #1967, thx presbrey)
14 years ago
Stefan Bühler cbec37396d Allow using pcre with cross-compiling (pcre-config got fixed; fixes #1986)
14 years ago
Stefan Bühler 57066345e4 Workaround broken operating systems: check for trailing '/' in filenames (fixes #1989)
14 years ago
Stefan Bühler b063f0186a Improve FastCGI performance (fixes #1999)
14 years ago
Stefan Bühler b202898c40 Backup errno for later usage (reported by Guido Reina via mailinglist)
14 years ago
Stefan Bühler fbf79a8e72 Modify fastcgi error message
14 years ago
Stefan Bühler 1a5d8c2dc4 Fix mod-fastcgi counters
14 years ago
Stefan Bühler f70eab0d85 Fix evasive.silent option (#1438)
14 years ago
Stefan Bühler 69987ea95f Fix max-age value in mod_expire for 'modification' (fixes #1978)
14 years ago
Stefan Bühler 9c53e2ef80 Fix workaround for incorrect path info/scriptname if scgi prefix is "/" (fixes #729)
14 years ago
Stefan Bühler a78acf99a1 Fix mod_cgi environment keys mangling (fixes #1969)
14 years ago
Stefan Bühler d947d0d2da Fix x-sendfile 2gb limiting (fixes #1970)
14 years ago
Stefan Bühler ecfdc60945 Fix SERVER_NAME port stripping (fixes #1968)
14 years ago
Stefan Bühler 7f103eab6c Fix error message if no auth backend was set
14 years ago
Stefan Bühler 4de9dc077a mod_ssi printenv: print cgi env, add environment vars to cgi env (fixes #1713)
14 years ago
Stefan Bühler 4a47537696 Add IPv6 support to mod_proxy (fixes #1537)
14 years ago
Stefan Bühler 0544f34ee3 Add '%_' pattern for complete hostname in mod_evhost (fixes #1737)
14 years ago
Stefan Bühler 4c7c0b815e Make mod_extforward headers configurable (fixes #1545)
14 years ago
Stefan Bühler 6fac05e10b Add evasive.silent option (fixes #1438)
14 years ago
Stefan Bühler 966ba442dc Limit amount of bytes read for one read-event (fixes #1070)
14 years ago
Stefan Bühler 0226d4bf36 Add option to enable TCP_DEFER_ACCEPT (fixes #1447)
14 years ago
Stefan Bühler 63a010f686 Add some dirlisting enhancements (fixes #1458)
14 years ago
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)
14 years ago
Stefan Bühler e4b15be91c Change name/version separator back to "/" (affects every place where the version is printed)
14 years ago
Stefan Bühler c21623456c mod_magnet: Add env["request.path-info"]
14 years ago
Stefan Bühler 1ff333cb4a mod_magnet: Add env["request.remote-ip"] (fixes #1740)
14 years ago
Stefan Bühler 3172b49840 Fix trailing zero char in REQUEST_URI after "strip-request-uri" in mod_fastcgi
14 years ago
Stefan Bühler 2e823e8d14 Use server.tag for SERVER_SOFTWARE if configured (fixes #357)
14 years ago
Stefan Bühler 638ee6cad9 Add revision number to package version for svn/git checkouts
14 years ago
Stefan Bühler 1527160c69 Add support for pipe logging for server.errorlog (fixes #296)
14 years ago
Stefan Bühler 80552616ce Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923)
14 years ago
Stefan Bühler ff5c18bee8 Check for regular file in mod_cgi, so we don't try to start directories
14 years ago
Stefan Bühler 9c7cdb8011 Add proper SUID bit detection (fixes #416)
14 years ago
Stefan Bühler 815875377a Rename configure.in to configure.ac, with small cleanups (fixes #1932)
14 years ago
Stefan Bühler 0990c81134 Fix mod_proxy RoundRobin (off by one problem if only one backend is up)
14 years ago
Stefan Bühler def70d86e9 Remove the optional port info from SERVER_NAME (thx Mr_Bond)
14 years ago
Stefan Bühler ef59a62724 Strip trailing dot from "Host:" header
14 years ago
Stefan Bühler 1e69f57b50 Remove link from errormsg about fastcgi apps (fixes #1942)
14 years ago
Stefan Bühler b3027fef1c Allow xattr to overwrite mime type (fixes #1929)
14 years ago
Stefan Bühler b8b4fe19c8 Finally removed spawn-fcgi
14 years ago
Stefan Bühler ce39062dd2 Fix workaround for incorrect path info/scriptname if fastcgi prefix is "/" (fixes #729)
14 years ago
Elan Ruusamäe 0e84d4d4f5 - Create rrd file for empty rrdfile in mod_rrdtool (#1788)
14 years ago
Stefan Bühler 4311740cde New lighttpd man page (moved it to section 8) (fixes #1875)
14 years ago
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
14 years ago
Stefan Bühler bae697a298 - next is 1.4.23
14 years ago
Stefan Bühler 4533af7668 Fix segfault if siginfo_t* is NULL in sigaction handler (fixes #1926)
14 years ago
Stefan Bühler a6218765c2 Fix some problems with more strict compilers (#1923)
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)
14 years ago
Stefan Bühler 7883b7f2ff Treat EPIPE as connection-closed error in network_freebsd_sendfile.c (another fix from #1913)
14 years ago
Stefan Bühler a7ecb6b93a Fix segfault in mod_scgi (fixes #1911)
14 years ago
Stefan Bühler 950fbe58bd Fix EAGAIN handling for freebsd sendfile (fixes #1913, thx AnMaster for spotting the problem)
14 years ago
Stefan Bühler 515d800f7c Fix rrd error after graceful restart (fixes #419)
14 years ago
Stefan Bühler a15e1ce4bb Handle EINTR in mod_rrdtool (fixes #604)
14 years ago
Stefan Bühler 6ea62edd52 Fix default vhost in mod_simple_vhost (fixes #1905)
14 years ago
Stefan Bühler 76f7b9543d Fix wrong lua type for CACHE_MISS/CACHE_HIT in mod_cml (fixes #533)
14 years ago
Stefan Bühler c7467c693b - next is 1.4.22
14 years ago
Stefan Bühler e2fd8a89c1 Fix wrong format strings (#1900, thx stepancheg)
14 years ago
Stefan Bühler 066b208bb6 Added Language conditional (fixes #1119); patch by petar
14 years ago
Stefan Bühler 83e2296c02 Allow tabs in header values (fixes #1822)
14 years ago
Stefan Bühler 22bee5ad52 Silenced the annoying "request timed out" warning, enable with the "debug.log-timeouts" option (fixes #1529)
14 years ago
Stefan Bühler 9960b1a3ed Fix error handling in freebsd-sendfile (fixes #1813)
14 years ago
Stefan Bühler 24d08807c5 Fix max-connection limit handling/100% cpu usage (fixes #1436)
14 years ago
Stefan Bühler f0bbc7468c Use modified etags in mod_compress (fixes #1800)
14 years ago
Stefan Bühler cb91487c8d Add option to ignore the "Expect: 100-continue" header instead of returning 417 Expectation failed (closes #1017)
14 years ago
Stefan Bühler fdcb6f60f4 Allow mod_compress to return 304 (Not Modified); compress ignores the static-file.etags option.(fixes #1884)
14 years ago
Stefan Bühler 4456b579b7 Use/enforce sane max-connection values (fixes #1803)
14 years ago
Stefan Bühler e62b8c19bc Disable SSLv2 by default
14 years ago
Stefan Bühler 832ff277f2 Remove floating point math from server.c (fixes #1402)
14 years ago
Stefan Bühler 4642508de3 Some small buffer.c fixes (closes #1837)
14 years ago
Stefan Bühler 96eb3cf47c Fix wrong malloc sizes in mod_accesslog (probably nothing bad happened...) (fixes #1855, thx ycheng)
14 years ago
Elan Ruusamäe ce9409a397 - Do not pass Proxy-Connection: header from client to backend http server in mod_proxy (#1877)
14 years ago
Stefan Bühler 3d20850451 Fix uninitialized value in time struct after strptime
14 years ago
Stefan Bühler 79e229c1f0 Optimized buffer usage in mod_proxy (fixes #1850)
14 years ago
Stefan Bühler 21c5377d3f Use FD_CLOEXEC if possible (fixes #1821)
14 years ago
Stefan Bühler 36f74e5d23 Revert url decoding+simplifying before matching of mod_rewrite/mod_redirect
14 years ago
Stefan Bühler bcf2b160cf Compare address family in inet_ntop_cache
14 years ago
Stefan Bühler 2a765780da Fix fastcgi-authorizer handling; Status: 200 is now accepted as the doc requests
14 years ago
Elan Ruusamäe 1efff8bf80 - add link to changeset
15 years ago
Stefan Bühler 4b197d05ec Fixed fix for round-robin in mod_proxy (forgot to increment the index) (#1715)
15 years ago
Stefan Bühler ab154ee528 - added cve numbers
15 years ago
Stefan Bühler 4db2292d50 Fix duplicate connection keep-alive/transfer-encoding headers (#960)
15 years ago
Elan Ruusamäe c6c2bf8308 - Add possibility to disable methods in mod_compress (#1773)
15 years ago
Stefan Bühler 80a4f7a721 Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. (#963)
15 years ago
Stefan Bühler 87eea9e4c3 Trust pcre-config, do not check for pcre manually (#1769)
15 years ago
Stefan Bühler da4e28778f Do not cache default vhost in mod_simple_vhost (#709)
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)
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
15 years ago
Stefan Bühler b66dc12fda Fix leaving zombie process with include_shell (#1777)
15 years ago
Stefan Bühler cfba07cb82 Now really fix mod auth ldap (#1066)
15 years ago
Stefan Bühler 80a2ff3f3a Do not rely on ioctl FIONREAD (#673)
15 years ago
Stefan Bühler 90bfe20bf5 Fix mod_cgi segfault when bound to unix domain socket (#653)
15 years ago
Stefan Bühler 8cfa29a7a2 Fix base64 decoding in mod_auth (#1757, thx guido)
15 years ago
Stefan Bühler 47f133cbd0 - next is 1.4.21
15 years ago
Stefan Bühler 345462a45f Use decoded url for matching in mod_redirect (#1720)
15 years ago
Stefan Bühler c8bce9b4a5 Fix mod_rewrite memleak/endless loop detection (#1775, thx phy - again!)
15 years ago
Stefan Bühler 3decb2647b Fix memleak in request header parsing (#1774, thx qhy)
15 years ago
Stefan Bühler 86766c10c5 fix auth.backend.ldap.bind-dn/pw problems (thx ruskie)
15 years ago
Stefan Bühler 6d1d3fc203 workaround ldap connection leak if a ldap connection failed (restarting ldap)
15 years ago
Stefan Bühler e7ff94835f fix splitting of auth-ldap filter
15 years ago
Stefan Bühler 7a64f2f888 fix segfault for stat_cache(fam) calls with relative path (without '/', can be triggered by x-sendfile) (#1750)
15 years ago
Stefan Bühler 9e6ef84e91 Do not send content-encoding for 304 (#1754), thx yzlai
15 years ago
Stefan Bühler 19588f6ee6 Hide some ssl errors per default, enable them with debug.log-ssl-noise (#397)
15 years ago
Stefan Bühler 438626667c Fix mem leak in ssi expression parser (#1753), thx Take5k
15 years ago
Stefan Bühler b511c42939 Replaced fprintf with log_error_write in mod-fastcgi
15 years ago
Stefan Bühler 227d6f1b56 Fix format string bugs with sizeof(int)!=sizeof(size_t) in mod_accesslog for SYSLOG
15 years ago
Stefan Bühler 43075bd42a Fix bug with case-insensitive filenames in mod_userdir (#1589)
15 years ago
Stefan Bühler ec61ba0559 Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server)
15 years ago
Stefan Bühler ba715e1c8f Fixed conditional patching of ldap filter (#1564)
15 years ago
Stefan Bühler 5547928112 Decode url before matching in mod_rewrite (#1720)
15 years ago
Stefan Bühler e294fffbad Print helpful error message on conditionals in global block (#1550)
15 years ago
Stefan Bühler 8d837b75d0 Fix dropping last character of evhost pattern (#161)
15 years ago
Stefan Bühler b8835ab9a8 Allow digits in [s]cgi env vars (#1712)
15 years ago
Stefan Bühler d62f894344 Fix url encoding to encode more characters (#266)
15 years ago
Stefan Bühler ad12e4c5b2 Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631)
15 years ago
Stefan Bühler 6ce1dfb0d1 mod_{fast,s}cgi: overwrite environment variables (#1722)
15 years ago
Stefan Bühler a7f5983e05 Fix EINTR handling for waitpid in mod_fastcgi
15 years ago
Stefan Bühler d0b5d2b45f Fix round-robin balancing in mod_proxy (#1715)
15 years ago
Stefan Bühler 60b90dad70 Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null (#1716)
15 years ago
Stefan Bühler c1662bcf8a Handle EAGAIN and EINTR for freebsd sendfile (#1675)
15 years ago
Stefan Bühler 3f791f46d5 Fix mod_secdownload problem with unsigned time_t (#1688)
15 years ago
Stefan Bühler 0c16fddde3 Handle only HEAD, GET and POST in mod_dirlisting (same as in staticfile) (#1687)
15 years ago
Stefan Bühler 41868422f3 case insensitive match for secdownload md5 token (#1710)
15 years ago
Stefan Bühler 52861d77df Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt)
15 years ago
Stefan Bühler 25c7c7f3f8 fixed typo in mod_accesslog, localtime instead of localtime_r (#1699)
15 years ago
Stefan Bühler 3bb07cad07 [tests] Fixed tests needing php running (if not running on port 1026, search php in env[PHP] or /usr/bin/php-cgi)
15 years ago
Stefan Bühler cbd40dc44b [tests] Remove pidfile from test system
15 years ago
Stefan Bühler 0b257bcefa [tests] Fixed test system, use foreground daemons and waitpid
15 years ago
Stefan Bühler a70ba6c625 Fix scgi HTTP/1.* status parsing (#1638), found by met@uberstats.com
15 years ago
Stefan Bühler 543830266c Fix bug with IPv6 in mod_evasive
15 years ago
Stefan Bühler f08cd32877 Close connection in mod_magnet if returned status code
15 years ago
Stefan Bühler cf789917f7 Close connection after redirect in trigger_b4_dl
15 years ago
Elan Ruusamäe 0f515626e4 - let spawn-fcgi propagate exit code from spawned fcgi application
15 years ago
Elan Ruusamäe ef95813dea - merge spawn-fcgi changes from trunk (from @2191)
15 years ago
Stefan Bühler 93e7167f84 Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places (#624)
15 years ago
Stefan Bühler f9999e286e Disable logging to access.log if filename is an empty string
15 years ago
Stefan Bühler cbdd9e485b Do not rely on PATH_MAX (POSIX does not require it) (#580)
15 years ago
Stefan Bühler 70c0280c92 Remove lighttpd.spec* from source, fixing all problems with it ;-)
15 years ago
Stefan Bühler 73189c64e7 Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page
15 years ago
Stefan Bühler ac92ea3616 Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639)
15 years ago
Stefan Bühler 8dd78e06c7 Handle EINTR in mod_cgi during write() (#1640)
15 years ago
Stefan Bühler 4bf89c62b6 Overwrite Content-Type header in mod_dirlisting instead of inserting (#1614), patch by Henrik Holst
15 years ago
Stefan Bühler fe8b7e575e Fix mod_fastcgi prefix matching: match the prefix always against url, not the absolute filepath (regardless of check-local)
15 years ago
Stefan Bühler 79a6ae3fd4 Fix accesslog port (should be port from the connection, not the "server.port") (#1618)
15 years ago
Stefan Bühler 0841482318 Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: "%%" => "%", "$$" => "$"
15 years ago
Stefan Bühler bb1d9af71c Fix conditional interpretation of core options
15 years ago
Stefan Bühler ff4cabbb1d Don't send empty Server headers (#1620)
15 years ago
Stefan Bühler bcb3310a62 Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" (#1628)
15 years ago
Stefan Bühler 3ab6e28ce8 Fix previous commit (wrong line in the NEWS file)
15 years ago
Stefan Bühler 7df37be5c5 Added CVE for #285 (CVE-2008-1531)
15 years ago
Stefan Bühler 2cf3927ef5 Fix segfault for appending matched parts if there was no regex matching (just give empty strings) (#1601)
15 years ago
Stefan Bühler 80be71bd43 Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env (#1308)
15 years ago
Stefan Bühler 2b46e3dacc Fix #285 again: read error after SSL_shutdown (thx marton.illes@balabit.com) and clear the error queue before some other calls
15 years ago
Stefan Bühler 763f88406e Update documentation for #1587
15 years ago