Commit Graph

1063 Commits (d58fea0c7a0274c223a4f6d0832fa2873ef11fc4)

Author SHA1 Message Date
Stefan Bühler 2e823e8d14 Use server.tag for SERVER_SOFTWARE if configured (fixes #357)
14 years ago
Stefan Bühler f4e1d106c2 Fix problem with versionstamp.h; don't rebuild every time
14 years ago
Stefan Bühler 75d2269821 Fix code comments in mod_auth.c (fixes #1909, thx cdumke)
14 years ago
Stefan Bühler ab6223a9aa Forgot src/version.h in previous commit
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 c634a51de6 Fix hashing the terminating zero in etag.c
14 years ago
Stefan Bühler a8ffcb783a Fix some cmake issues (xattr and mysql)
14 years ago
Stefan Bühler 9c7cdb8011 Add proper SUID bit detection (fixes #416)
14 years ago
Stefan Bühler b3c8517121 Remove mod_uploadprogress from cmake/scons (fixes #1955)
14 years ago
Stefan Bühler 25be86ae1b Fix "mod_indexfile(s)" typos (#1948)
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 07d9517df6 Removed unneeded buffer_is_empty check in stat cache
14 years ago
Stefan Bühler 7fe794e1a2 Fix mixed declarations and code in mod_rrdtool
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 61332595cb - adjust identing after patch
14 years ago
Elan Ruusamäe 0e84d4d4f5 - Create rrd file for empty rrdfile in mod_rrdtool (#1788)
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 c60b60e7f0 workaround some warnings from libmemcache
14 years ago
Stefan Bühler ff1fe3a8ee [cmake] add lighttpd-angel
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 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 705fcaaff1 [cmake] Fix package version in binary
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 0dea6999b5 Fix configure/cmake defines and checks
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 a64e7cd46b [cmake] Fix ipv6 detection
14 years ago
Stefan Bühler 454aefc51a [cmake] Add basic cmake support
14 years ago
Stefan Bühler bcf2b160cf Compare address family in inet_ntop_cache
15 years ago
Stefan Bühler ae90172ad3 return mapped events for linux-sysepoll (worked as they have the same values)
15 years ago
Stefan Bühler 2a765780da Fix fastcgi-authorizer handling; Status: 200 is now accepted as the doc requests
15 years ago
Stefan Bühler f786a82aa8 mod_alias: use log_error_write instead of fprintf
15 years ago
Stefan Bühler c61122ddde spawn-fcgi: Initialize socket address struct to zero
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 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 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 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 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 5ab6fa6fd2 Change parser generation again as the previous fix broke building with some non-gnu make utils.
15 years ago
Stefan Bühler 9cb47be07f Fix small copy/paste typo in previous commit
15 years ago
Stefan Bühler 9e6ef84e91 Do not send content-encoding for 304 (#1754), thx yzlai
15 years ago
Stefan Bühler ed346f3907 Fixed parser generating with automake
15 years ago
Stefan Bühler 22d8707ef2 Use struct copy instead of memcpy for volatile siginfo_t in server.c
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 5194c28220 Fix "comparison between signed and unsigned" warning on 64 bit in mod_fastcgi
15 years ago
Stefan Bühler b511c42939 Replaced fprintf with log_error_write in mod-fastcgi
15 years ago
Stefan Bühler 43a9842b28 Add 'O' and 'X' to format characters in log_error_write
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 f7dd7203e2 Fix buffer_reset to make an empty string
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 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 00e5a032d6 - print success message to stdout (for discarding it from initscripts)
15 years ago
Elan Ruusamäe f08ffad238 - strerror() wants errno as param not arbitary exit value from spawned child
15 years ago
Elan Ruusamäe 5fa895e8ec - revert unwanted commit
15 years ago
Elan Ruusamäe ef95813dea - merge spawn-fcgi changes from trunk (from @2191)
15 years ago
Xuefer b5632eada1 fixed #729: Incorrect PATH_INFO when FastCGI is serving "/", use "fix-root-scriptname" => "enable" to workaround
15 years ago
Xuefer 695a227783 build mod_extforward in scons
15 years ago
Xuefer 5921dc1f2d sync code between fastcgi->scgi: copy note_is_sent, fix typos
15 years ago
Xuefer b557589f05 sync the "if" logic block with mod_fastcgi to make the indention same
15 years ago
Xuefer 098ea27629 merged [2170] from trunk: fixed include basedir within include_shell, thanks to lunatic
15 years ago
Stefan Bühler 4adb52a416 Fix dependencies of the parser files in the Makefile
15 years ago
Stefan Bühler 193b933329 Fix type in previous commit
15 years ago
Stefan Bühler e93cb224c1 Fix more warnings (unused var, pointer types in md5.c)
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 5a9992b106 Fixed many warnings (compare (un)signed, unused vars, and initialize with zero)
15 years ago
Stefan Bühler 7adc4d7e8c Remove generated mod_ssi_expreparser.h from source (should be generated by lemon)
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 fcce4c9cbb Fix comment style (use /* */ instead of //)
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
Marcus Rückert 91d83ea983 - fix 2 small typos in the ssl fix
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 6363a0908f Fixed SSL_shutdown error handling problems which became visible after [2136].
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 2772e62d8d Fix mod_extforward to compile with old gcc version (#1591)
15 years ago
Stefan Bühler adec5443ee Fix mod_compress to compile with old gcc version (#1592)
15 years ago
Jan Kneschke 7bb555991c fixed handling of waitpid() == EINTR mod_ssi on solaris
15 years ago
Stefan Bühler ec5c74ad12 workaround #1587: require userdir.path to be set to enable mod_userdir (empty string allowed)
15 years ago
Elan Ruusamäe 0fd628958c - verbose FCGI header too small error
15 years ago
Stefan Bühler 85b8153dfc Fix previous merge
15 years ago
Xuefer 9ffe08a583 merged part of [1528] from trunk: added the new options and added alternative names for user-agent, remote-ip and query-string
15 years ago
Stefan Bühler 52840fa1ed fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload (#1440)
15 years ago
Stefan Bühler 6754ad5116 fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623)
15 years ago
Stefan Bühler c065f36bc1 r2136@chromobil: stefan | 2008-02-28 22:18:14 +0100
15 years ago
Stefan Bühler 0adc0af5fd Fix #1575: spawn-fcgi: only try to connect to unix socket (not tcp) before spawning
15 years ago
Jan Kneschke 5b20e0d864 fixed missing initialization
15 years ago
Jan Kneschke 46396ac56c don't suppress the content of a status 300
15 years ago
Jan Kneschke 7a61e46289 fixed warning about incompatible assignment
15 years ago
Stefan Bühler 87d3e8e41e Fix #1150: remove compress cache file if compression or write failed
15 years ago
Stefan Bühler debd30876a r2123@chromobil: stefan | 2008-02-27 19:30:54 +0100
15 years ago
Stefan Bühler d1bb91108d Fix Content-Length header if response body gets removed in connections.c (#1412, part 2)
15 years ago
Stefan Bühler f570913e3c Fix #1412: do not suppress content for "307 Temporary Redirect"
15 years ago
Stefan Bühler 40a41e3b66 Fix the fix #1324/[2086]: if no module handled a request, treat method OPTION as 200, all others as 403.
15 years ago
Stefan Bühler db1b286ecd r2098@chromobil: stefan | 2008-02-26 17:12:51 +0100
15 years ago
Stefan Bühler c0db8ab168 r2097@chromobil: stefan | 2008-02-26 17:12:30 +0100
15 years ago
Stefan Bühler 88750bb7be r2096@chromobil: stefan | 2008-02-26 17:12:09 +0100
15 years ago
Stefan Bühler 87145864db r2095@chromobil: stefan | 2008-02-26 17:11:21 +0100
15 years ago
Stefan Bühler 0a894c9cb3 r2094@chromobil: stefan | 2008-02-26 17:10:49 +0100
15 years ago
Stefan Bühler 26c45e8004 r2093@chromobil: stefan | 2008-02-26 17:10:03 +0100
15 years ago
Stefan Bühler 03f515165f r2092@chromobil: stefan | 2008-02-26 17:08:48 +0100
15 years ago
Stefan Bühler a25cbfa36b r2091@chromobil: stefan | 2008-02-26 17:06:03 +0100
15 years ago
Stefan Bühler a103fef58c r2090@chromobil: stefan | 2008-02-26 17:04:14 +0100
15 years ago
Stefan Bühler ad722324d9 r2089@chromobil: stefan | 2008-02-26 17:02:46 +0100
15 years ago
Stefan Bühler 75f92dd796 r2088@chromobil: stefan | 2008-02-26 17:02:27 +0100
15 years ago
Stefan Bühler 796502e7af r2087@chromobil: stefan | 2008-02-26 17:01:12 +0100
15 years ago
Stefan Bühler d0862e8522 r2086@chromobil: stefan | 2008-02-26 16:15:28 +0100
15 years ago
Stefan Bühler f350d186fc r2085@chromobil: stefan | 2008-02-26 16:14:50 +0100
15 years ago
Xuefer c97dc80862 fixed #1571: Crash when trying to add single item to list in config file
15 years ago
Jan Kneschke 94feee046c fixed handling of EAGAIN in linux-sendfile (fixes #657)
15 years ago
Jan Kneschke b719752a6c handle ECONNRESET in the openssl backend
15 years ago
Jan Kneschke 830bb59d86 don't report the "cgi died ?" in case we killed the dangling CGI process
15 years ago
Jan Kneschke 9d6da0d16c handle ECONNRESET as write-error()
15 years ago
Elan Ruusamäe cde46f6a3d - support chained proxies in mod_extforward (#1528)
15 years ago
Elan Ruusamäe 022742a5ae - support letterhomes in mod_userdir (#1473)
15 years ago
Elan Ruusamäe 15b126c73e - cosmetic
15 years ago
Elan Ruusamäe 3078b31568 - generate ETag and Last-Modified headers for mod_ssi based on newest modified include (#1491)
15 years ago
Elan Ruusamäe af4be7d0ce - HTTPS env var should be "on" when using mod_extforward and the X-Forwarded-Proto header is set. (#1499)
15 years ago
Elan Ruusamäe a18086bc35 - open log immediately after daemonizing, fixes SIGPIPEs on startup (#165)
15 years ago
Elan Ruusamäe 299ae40e78 - add IdleServers and Scoreboard directives in ?auto mode for mod_status (#1507)
15 years ago
Elan Ruusamäe 0ce79f8a1c - add missing files to EXTRA_DIST
15 years ago
Elan Ruusamäe 1f68a04110 - prevent crash in certain php-fcgi configurations (#841)
15 years ago
Elan Ruusamäe 513057ebd4 - fix also scgi and proxy modules. #1489
15 years ago