Commit Graph

620 Commits (f8d54c857426f112d133da0af9add8750b5f8db5)

Author SHA1 Message Date
Jan Kneschke a6d91904fc removed quotes around values
17 years ago
Jan Kneschke e7cf0f51d8 set var.CWD for later use with relative paths
17 years ago
Jan Kneschke f6abde6c73 remove unused config variable
17 years ago
Jan Kneschke de2196c142 don't append a \n for syslog() (fixes #481)
17 years ago
Jan Kneschke 9ec477a374 - fixed load-balancing (#480)
17 years ago
Jan Kneschke ca33bec31a - removed the session-id code
17 years ago
Jan Kneschke 754f950fc1 set SEQENTIAL READ on the sendfile file-fds
17 years ago
Jan Kneschke 869b6d4585 - darwin 7 doesn't like madvise
17 years ago
Jan Kneschke de3bdbf1a2 fixed crash cause by missing comma (patch from <bobby@alphatrade.com>)
17 years ago
Xuefer bf67fb1413 implement global context
17 years ago
Jan Kneschke 866af7bc31 added comment about applying response header multiple times
17 years ago
Jan Kneschke 56109968f1 this should fix the 'missing cleanup' msg for mod_mysql_vhost
17 years ago
Jan Kneschke 487723d947 only apply setenv once per request
17 years ago
Jan Kneschke 6842dbb724 added tests for lowercase filesysytems
17 years ago
Jan Kneschke 0f437f2c23 remove unix domain socket if it is unused before binding to it (fixes #395)
17 years ago
Jan Kneschke 28e5c53a97 get known to the CONNECT method
17 years ago
Jan Kneschke c1d6012ce9 ENCODING_MINIMAL_XML was missing in last commit
17 years ago
Jan Kneschke e41496fba7 fixed error-msg
17 years ago
Jan Kneschke a1e6331f04 fixed encoding of UTF8 data (Jani Taskinen <sniper@iki.fi>)
17 years ago
Jan Kneschke 4afd2ae2af renamed server.force-lower-case-files to server.force-lowercase-filenams
17 years ago
Jan Kneschke ebb0efb457 oops, split the path on the final path to the binary itself
17 years ago
Jan Kneschke fbcecd3303 fixed wording
17 years ago
Jan Kneschke fc813b7d35 fixed mem-leak (fixes #450)
17 years ago
Jan Kneschke 8cf82a44a1 fixed wording in error-msgs
17 years ago
Jan Kneschke e485768d1e handle a sendfile() = 0 is connection closed by remote side
17 years ago
Jan Kneschke 2a4080a88b detect required static libs through ldd
17 years ago
Jan Kneschke f27b8d0168 fixed 'return 414 on overlong request-headers'
17 years ago
Jan Kneschke 4a86d31562 chdir to the bin-path dir before exec()ing the to-be-spawned fastcgi backend
17 years ago
Xuefer 5da3530140 new build_static/build_fullstatic/build_dynamic option
17 years ago
Jan Kneschke ea57fa1747 ok, rel_path is not updated by mod_indexfile or the pathinfo handling
17 years ago
Jan Kneschke 415e215746 use physical.rel_path instead url.path to handle case-insensitive file-systems in the right way
17 years ago
Jan Kneschke 77083977ae added a fullstatic target
17 years ago
Jan Kneschke a5e280fd4b added static building of lighttpd
17 years ago
Jan Kneschke 0ef0742654 added a comment what to do before we have Expect: support
17 years ago
Jan Kneschke 78fe973055 - added mod_evasive to the autoconf build
17 years ago
Jan Kneschke 8a010e16fb removed dead code which led to a collision on libsasl2 anyway
17 years ago
Jan Kneschke ded1e9a834 cosmetics and added a comment about the order in the STATE enum
17 years ago
Jan Kneschke 7096a842b8 fix hang if mod_status is used without mod_fastcgi (fixes #439)
17 years ago
Jan Kneschke abe6d62a02 don't strip numbers from the starting env (fixed #438)
17 years ago
Jan Kneschke bc95f8024a added statistics to the fastcgi module and a simple text/plain reporter to mod_status
17 years ago
Jan Kneschke cd4fd6f4d3 Depth: 1 PROPFIND request have to include the requested collection too
17 years ago
Jan Kneschke ab8493f603 print usefull information if the backend crashes for some reason
17 years ago
Jan Kneschke 28db0418f2 MSIE sends Content-Length: 0 for OPTIONS requests, tolerate that
17 years ago
Jan Kneschke ab35f0e383 fixed the handling of the global webdav.log-xml option
17 years ago
Jan Kneschke 96ffed78c3 added handling of If-Range
17 years ago
Jan Kneschke 94334e46b2 1x INT == graceful shutdown
17 years ago
Jan Kneschke 580823f791 forbid Content-Length for GET, HEAD or OPTIONS requests
17 years ago
Jan Kneschke 4c91a14c4d added a static target to scons which compiles lighttpd staticly (incl. mod_access as test)
17 years ago
Jan Kneschke b789ce87a1 remove zombies again
17 years ago
Jan Kneschke 8f871d4f04 fixed empty Host: for mod_proxy (finally)
17 years ago
Jan Kneschke b85fb3b41d fix logfile spamming on conn-refused and friends
17 years ago
Jan Kneschke e2f4ccd343 added internals for the statistics framework
17 years ago
Jan Kneschke 44cef4913a added the power-magnet to mod_cml
17 years ago
Jan Kneschke ed6f81da16 fixed config option
17 years ago
Jan Kneschke f9e91971ac added mod_evasive to limit the number of connections by IP (<w1zzard@techpowerup.com>)
17 years ago
Jan Kneschke ae4a4143d6 improved error-msg
17 years ago
Jan Kneschke 1ea90be00a fixed counting of unused blocks (sandy <sandy@meebo.com>)
17 years ago
Jan Kneschke 6e193e4040 make AIX happy and include fcntl.h instead of sys/fcntl.h (fixes #417)
17 years ago
Jan Kneschke a39e5713d5 show HEADER.txt if it exists (fixes #246) (<mnag@FreeBSD.org>)
17 years ago
Jan Kneschke 33101e2057 include content-type in HTML too
18 years ago
Jan Kneschke 2fe31be5c5 - next release is 1.4.9
18 years ago
Jan Kneschke 70436a8805 used the wrong type for the configfile handling
18 years ago
Jan Kneschke d35482ee9a fixed typo (and next time I should at least compile before commiting)
18 years ago
Jan Kneschke 3faefdbaf1 don't crash if Host: is not set
18 years ago
Jan Kneschke 4de36723c0 cleanup the connection-internals at the end of the of the response and not at the end of the connection
18 years ago
Jan Kneschke 052f83e095 take the right docroot if simple-vhost is used for MOVE/COPY operations (fixes #389)
18 years ago
Jan Kneschke 780bc91ffe improved the error-msgs
18 years ago
Jan Kneschke 7d2a0ff6dc fixed server-based traffic shaping if connection limit is not set
18 years ago
Jan Kneschke b9b8a46f40 allow to bind the server to a unix-domain socket
18 years ago
Jan Kneschke 269ccc70c8 in case the length is 0 don't decrement the lenght
18 years ago
Jan Kneschke 2d7b1e0227 improved error-msg
18 years ago
Jan Kneschke 478cb34bb3 reverted last patch as open + fstat() results in a hang on named-pipes
18 years ago
Jan Kneschke 11c3722432 set content-type for errorfiles (fixed #383)
18 years ago
Jan Kneschke 4561af582d fixed 64bit printf() for size_t
18 years ago
Jan Kneschke 7d8758598f - init FAM after fdevent-backend is up
18 years ago
Jan Kneschke ad7d85b7f5 fixed possible overflow in password-salt handling
18 years ago
Jan Kneschke 2cc4f96765 fixed streaming cgi output (like cgi-irc)
18 years ago
Jan Kneschke e9e05e3b03 fixed typo
18 years ago
Jan Kneschke f54cf620f1 suppress the 'using default-vhost' message by default
18 years ago
Jan Kneschke 93ba0f958e fixed unsigned/signed compare
18 years ago
Jan Kneschke 230e670078 check if we need -ldl to get dlopen
18 years ago
Jan Kneschke 971dc42657 link all the files to mod_cml
18 years ago
Jan Kneschke 93693b11e0 - don't duplicate Server and Date Header
18 years ago
Jan Kneschke a4be52451f more unsigned/sign compare fixes
18 years ago
Jan Kneschke 6db887ad3c added lua compile option
18 years ago
Jan Kneschke 1375a63a82 fixed ranges for the unsigned fixes
18 years ago
Jan Kneschke 62d8d1ef53 fixed md5 on 64bit platforms
18 years ago
Jan Kneschke 60ccbd89f7 fixed unsigned compares
18 years ago
Jan Kneschke aa7e634b75 fixed assertion if a read() returned with EGAIN in POST-read
18 years ago
Jan Kneschke 7d46051907 don't take all max-fds as solaris needs some fds for devpoll
18 years ago
Jan Kneschke 4d5dd7fe4d don't try to encode a empty uri.path
18 years ago
Jan Kneschke f0583d8b73 fixed unsigned compare
18 years ago
Jan Kneschke 0c6af9ae46 improved warning-message
18 years ago
Jan Kneschke f35df44d00 added ldap-support to scons-build for mod_auth
18 years ago
Jan Kneschke e3cac26e27 fixed unsinged compare
18 years ago
Jan Kneschke 6ca932df94 made cafile optional for starttls as encryption might be enough for a start
18 years ago
Jan Kneschke 95fb9a3cf7 init the fdevent-handler AFTER daemonize and AFTER the max-worker spawning
18 years ago
Jan Kneschke 53144a5a86 fixed calcutation of offset and length for range-request
18 years ago
Jan Kneschke 0ea0486d2f fixed the DEBUG: warning for the Last-Modified header check
18 years ago
Jan Kneschke 0ed6b72923 darix asked for this version of the type cast
18 years ago
Jan Kneschke 27a113bc20 cached FDs for the uploading chunk
18 years ago
Jan Kneschke 87cfee3fc5 fixed SIGBUS in range-requests as we were mmaping/madvising too much
18 years ago
Jan Kneschke c60643433c use the SIMPLE stat-cache-engine as default
18 years ago
Jan Kneschke 32879e3663 fixed stripping if strip and input are the same
18 years ago
Jan Kneschke 2d961090e8 don't try to call sqlite3 function if we don't have a sqlite3 db set
18 years ago
Jan Kneschke 57b7676542 fixed reconnect after dead php-backend
18 years ago
Jan Kneschke b0c433da41 removed some debug
18 years ago
Jan Kneschke dc87ff8c44 fixed range request handling in network_writev
18 years ago
Jan Kneschke b71b54fc5b added better debug
18 years ago
Jan Kneschke 319326b5af check return code of chdir and send SIGTERM to the childs when we shutdown
18 years ago
Jan Kneschke 6770984a0c fixed encoding of the buffers and trust the length of the string
18 years ago
Jan Kneschke 485fea2cbb improved hints if startup fails
18 years ago
Jan Kneschke f9cc749a8f accept no-error as return for the last xml-chunk
18 years ago
Jan Kneschke 976f32182e simplified buffer-encoding functions into one function
18 years ago
Jan Kneschke 95132d93c8 fixed warnings about unused vars and unhandled enum-values in switch()
18 years ago
Jan Kneschke ea7b9aba9b added auto-reconnect to ldap (fixes #294), patch from joerg@netbsd.org
18 years ago
Jan Kneschke 6fcfa114f1 fixed cache-control value
18 years ago
Jan Kneschke c3f45ae6dd fixed check for tempdirs
18 years ago
Jan Kneschke fa804343ca added debugging to webdav
18 years ago
Jan Kneschke d0751c5a2b fixed compile if openssl is not enabled
18 years ago
Jan Kneschke 9404220490 chunkqueue can get a list of tempdirs which are tried to open a file at
18 years ago
Jan Kneschke 308e5ce017 send Cache-Control next to Expire headers (fixing #350)
18 years ago
Jan Kneschke 6e424095f2 added check for madvise
18 years ago
Jan Kneschke e290b119db added startup-time selectable network-backend
18 years ago
Jan Kneschke 3888c10357 handle missing SSL-close-notify if keep-alive is disabled (fixed #311)
18 years ago
Jan Kneschke 0b3cc19a7f fixed assertion on failure of mkstemp or write on post-data
18 years ago
Jan Kneschke 7fd269cf87 added support for userdir without a passwd entry
18 years ago
Jan Kneschke 74d0c3d0de added BusyServer compat for ?auto
18 years ago
Jan Kneschke 1022432a1e added %I for bytes_in
18 years ago
Jan Kneschke ff0ec13761 get it compile on mac os x
18 years ago
Jan Kneschke 03452de486 added madvise, smaller mmap()ed windows and local-buffering
18 years ago
Jan Kneschke c87a000c13 renamed file.offset to file.start (we had 3 different 'offset' which was confusing)
18 years ago
Jan Kneschke ff29203dba close fds on error and add CLOEXEC to FDs which stay open for a longer time
18 years ago
Jan Kneschke 4f58672a85 added a comment on possible optimizations to the code and
18 years ago
Jan Kneschke e84aba5c24 fixed missing sys/filio.h on solaris (fixes #332)
18 years ago
Jan Kneschke c949273aa4 clean the error-queue is case we have a read/write error
18 years ago
Jan Kneschke 85617fc337 add no-fork option for daemontools (fixed #295)
18 years ago
Jan Kneschke d24262a03c gracefull -> graceful
18 years ago
Jan Kneschke 1f0174e9d1 assume case-sensitive FS of upper + lower case result in the same filename (e.g. /1234/)
18 years ago
Jan Kneschke c4fa6928b6 Moved the check if we have mysql-vhost config for this host AFTER the patch function
18 years ago
Jan Kneschke a77f7a90d8 the range-request options was not handled at all, added test case
18 years ago
Jan Kneschke 3a6769d19b remove trailing \ (fixed #310)
18 years ago
Jan Kneschke 51d6e2abf0 fixed output of non-cached compressed content and added test-cases
18 years ago
Jan Kneschke 6cfb2582c4 MacOS X needs the network* functions for the mod_fastcgi and friends
18 years ago
Xuefer 70110beb37 link mod_cml with libmemcache
18 years ago
Xuefer 578e68e26c build and install spawn-fcgi. don't install implib
18 years ago
Jan Kneschke ac7db634f6 detect empty URIs in requests as bad request, status 400
18 years ago
Xuefer 809199f98f scons fixes, and built/test on cygwin
18 years ago
Xuefer 56e8df101c part of [733]
18 years ago
Xuefer 58e4c26d94 remove warning for strptime
18 years ago
Jan Kneschke b2ee4babeb fixed handling of delay FDEVENT_HUP and epoll()
18 years ago
Jan Kneschke 0a0336dec6 s/def/defined/
18 years ago
Xuefer 4b7f5b1a3f the missing part of [757]
18 years ago
Jan Kneschke 1377748235 updated docs to 1.4.x names and add support for global index-generators (see #250)
18 years ago
Xuefer 89cbb82286 check all block for unknown config-key instead of only global one
18 years ago
Xuefer 1f855b34dd make %1 %2 etc works instead of SEGV
18 years ago
Xuefer 9be1abfb85 an unset header is now treat as empty_string "" to make the conditional logic correct.
18 years ago
Jan Kneschke 33320eba67 fixed compilation of libxml2 is not installed
18 years ago
Jan Kneschke ab522ec82a expect XML_ERR_DOCUMENT_END for the final packet
18 years ago
Jan Kneschke 54dea53fdf update bytes_written in con-> (fixed #737)
18 years ago
Jan Kneschke 6a0b737789 ported to request_content_queue and fixed segfault of sqlite is compiled in but not used
18 years ago
Jan Kneschke 7dcf695bee fdlist is not used, removed it (fixes inclusion into C++)
18 years ago
Jan Kneschke 40968e3c64 include either inttypes.h or stdint.h (fixes #291)
18 years ago
Jan Kneschke c76035f592 fixed preparation of the content if we have to get the content from 2 network packets
18 years ago
Jan Kneschke 5cafff4776 print bin-path if a fastcgi-binary exits at spawning time and us %lld for long long int
18 years ago
Jan Kneschke aab12c7582 fixed crc32c on 64bit platforms (fixes crc errors)
18 years ago
Jan Kneschke 8bf86d6d8d append X-Forwarded-For to existing headers
18 years ago
Jan Kneschke 08809b7968 removed debug code
18 years ago
Jan Kneschke 1c09f28447 removed con->request.content (mem-buffer) by a chunk-queue
18 years ago
Jan Kneschke 5bd52eea71 if we would have streaming mod_uploadprogress would work
18 years ago
Jan Kneschke 2d249ec215 removed warning
18 years ago
Jan Kneschke d958d547c8 added tempfile chunks which remove the file automaticly of they are closed
18 years ago
Jan Kneschke bd893badb9 added the fd as parameter for the write() functions
18 years ago
Jan Kneschke c440468249 max-request-size was not respected since a long time
18 years ago
Jan Kneschke 2865e7d1c9 copied mod-uploadprogress as we get to the point where it will work again
18 years ago
Jan Kneschke e95ea21b1e added a alternative to automake and friends by using scons
18 years ago
Jan Kneschke b4d9d061c8 either remove include config.h or covered it in HAVE_CONFIG_H
18 years ago
Jan Kneschke b46fa4497b only accept 100 connection in one round to remove the starvation of waiting connections
18 years ago
Xuefer 5e2a796a19 fix for string to be key (implicit convert integer to string when needed).
18 years ago
Xuefer 40fb6ffec1 correct error message for context_ndx
18 years ago
Jan Kneschke b32a18b1e8 updated cq->written and con->bytes_written correctly
18 years ago
Jan Kneschke dccb266a39 improved error-msg and fixed invalid read from uninit memory
18 years ago
Jan Kneschke 519788686c removed the if (ISREG || ISDIR) as we need the sce set if we return HANDLER_GO_ON
18 years ago
Jan Kneschke 6fa5bb1138 only cleanup conditional contextes which are already setup
18 years ago
Jan Kneschke eacec21ab5 replace i by j to fix a segfault in the error-msg and improved the error-msg (fixed #281)
18 years ago
Jan Kneschke f5ca9798df only get a buffer if we really need it (fixed #280)
18 years ago
Jan Kneschke 09a26806f4 fixed segfault if no global mysql-vhost-config was set (fixes #268)
18 years ago
Jan Kneschke 89ff779a78 302 is used for Location: redirects in SCGI, FastCGI and CGI which might contain content
18 years ago
Jan Kneschke c8a9649287 include <sys/select.h> if available (fixes #264, #275)
18 years ago
Jan Kneschke 0d8585137f added the rest of the DeltaV methods
18 years ago
Jan Kneschke 56f637b885 removed unusued variables
18 years ago
Jan Kneschke 4b025512d8 added REPORT for webdav/svn
18 years ago
Xuefer 14754f33f4 fix and add testcase for #255
18 years ago
Jan Kneschke 4f1b2f8ca0 add dirlisting needs pcre
18 years ago
Jan Kneschke be5f187d0f added support for md5 and blowfish passwords (fixes #73)
18 years ago
Jan Kneschke 119c0da37c the last header line is parsed again and X-LIGHTTPD-send-file was added.
18 years ago
Jan Kneschke 9d93d78b8e handle mod_secdownload similar to mod_alias: create the physical path yourself
18 years ago
Jan Kneschke 88c96e46a0 stipped data. from chunk structure (belongs to the last changeset)
18 years ago
Jan Kneschke 63dceeb0c6 open files only once for chunk, cache mmap and let the chunk itself close the fd (fixed #261, #257)
18 years ago
Jan Kneschke b795fd36c0 fixed hashing function to only generate unsigned values (fixes #251)
18 years ago