Jan Kneschke
b85fb3b41d
fix logfile spamming on conn-refused and friends
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@900 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
e2f4ccd343
added internals for the statistics framework
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@899 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
44cef4913a
added the power-magnet to mod_cml
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@898 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
ed6f81da16
fixed config option
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@897 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
f9e91971ac
added mod_evasive to limit the number of connections by IP (<w1zzard@techpowerup.com>)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@896 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
ae4a4143d6
improved error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@894 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
1ea90be00a
fixed counting of unused blocks (sandy <sandy@meebo.com>)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@893 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
6e193e4040
make AIX happy and include fcntl.h instead of sys/fcntl.h ( fixes #417 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@892 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
a39e5713d5
show HEADER.txt if it exists ( fixes #246 ) (<mnag@FreeBSD.org>)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@891 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
33101e2057
include content-type in HTML too
...
- fixes #365 (patch from sniper@php.net )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@890 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2fe31be5c5
- next release is 1.4.9
...
- added checks for prctl to enable core files after setuid() <sandy@meebo.com>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@889 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
70436a8805
used the wrong type for the configfile handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@888 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d35482ee9a
fixed typo (and next time I should at least compile before commiting)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@886 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3faefdbaf1
don't crash if Host: is not set
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@885 152afb58-edef-0310-8abb-c4023f1b3aa9
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
...
- fixed 100% loops and error-log messages for mod_cgi ("sandy" <sjen@cs.stanford.edu>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@884 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
052f83e095
take the right docroot if simple-vhost is used for MOVE/COPY operations ( fixes #389 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@883 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
780bc91ffe
improved the error-msgs
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@882 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7d2a0ff6dc
fixed server-based traffic shaping if connection limit is not set
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@879 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b9b8a46f40
allow to bind the server to a unix-domain socket
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@878 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
269ccc70c8
in case the length is 0 don't decrement the lenght
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@877 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2d7b1e0227
improved error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@876 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
478cb34bb3
reverted last patch as open + fstat() results in a hang on named-pipes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@875 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
11c3722432
set content-type for errorfiles ( fixed #383 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@874 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4561af582d
fixed 64bit printf() for size_t
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@873 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7d8758598f
- init FAM after fdevent-backend is up
...
- open + fstat instead of stat + open for speed reasons
- only init FAM if requested by config
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@872 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ad7d85b7f5
fixed possible overflow in password-salt handling
...
(reported on slashdot by james-web@and.org )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@871 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2cc4f96765
fixed streaming cgi output (like cgi-irc)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@870 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e9e05e3b03
fixed typo
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@868 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f54cf620f1
suppress the 'using default-vhost' message by default
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@867 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
93ba0f958e
fixed unsigned/signed compare
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@866 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
230e670078
check if we need -ldl to get dlopen
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@864 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
971dc42657
link all the files to mod_cml
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@863 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
93693b11e0
- don't duplicate Server and Date Header
...
- strip Connection header from backend response if we are proxy
- trust Connection-Length if we are proxy
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@862 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a4be52451f
more unsigned/sign compare fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@861 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6db887ad3c
added lua compile option
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@859 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1375a63a82
fixed ranges for the unsigned fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@858 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
62d8d1ef53
fixed md5 on 64bit platforms
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@856 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
60ccbd89f7
fixed unsigned compares
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@855 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
aa7e634b75
fixed assertion if a read() returned with EGAIN in POST-read
...
and fixed pipelining + keep-alive
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@854 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7d46051907
don't take all max-fds as solaris needs some fds for devpoll
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@853 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4d5dd7fe4d
don't try to encode a empty uri.path
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@852 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f0583d8b73
fixed unsigned compare
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@851 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0c6af9ae46
improved warning-message
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@850 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f35df44d00
added ldap-support to scons-build for mod_auth
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@849 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e3cac26e27
fixed unsinged compare
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@848 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6ca932df94
made cafile optional for starttls as encryption might be enough for a start
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@847 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
95fb9a3cf7
init the fdevent-handler AFTER daemonize and AFTER the max-worker spawning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@844 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
53144a5a86
fixed calcutation of offset and length for range-request
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@842 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0ea0486d2f
fixed the DEBUG: warning for the Last-Modified header check
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@841 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0ed6b72923
darix asked for this version of the type cast
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@840 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
27a113bc20
cached FDs for the uploading chunk
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@839 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
87cfee3fc5
fixed SIGBUS in range-requests as we were mmaping/madvising too much
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@838 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c60643433c
use the SIMPLE stat-cache-engine as default
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@837 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
32879e3663
fixed stripping if strip and input are the same
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@833 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2d961090e8
don't try to call sqlite3 function if we don't have a sqlite3 db set
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@832 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
57b7676542
fixed reconnect after dead php-backend
...
added strip-request-uri
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@831 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b0c433da41
removed some debug
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@830 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
dc87ff8c44
fixed range request handling in network_writev
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@829 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b71b54fc5b
added better debug
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@828 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
319326b5af
check return code of chdir and send SIGTERM to the childs when we shutdown
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@827 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6770984a0c
fixed encoding of the buffers and trust the length of the string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@826 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
485fea2cbb
improved hints if startup fails
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@825 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f9cc749a8f
accept no-error as return for the last xml-chunk
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@824 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
976f32182e
simplified buffer-encoding functions into one function
...
- all of them do some kind of string-to-hex conversion
(html, rel-uri, hex)
- add a rel-uri encoding next to the old rel-uri-part one
- fixes #266
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@822 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
95132d93c8
fixed warnings about unused vars and unhandled enum-values in switch()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@821 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ea7b9aba9b
added auto-reconnect to ldap ( fixes #294 ), patch from joerg@netbsd.org
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@818 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6fcfa114f1
fixed cache-control value
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@817 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c3f45ae6dd
fixed check for tempdirs
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@815 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
fa804343ca
added debugging to webdav
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@814 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d0751c5a2b
fixed compile if openssl is not enabled
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@813 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
9404220490
chunkqueue can get a list of tempdirs which are tried to open a file at
...
server.upload-dirs is the option in the configfile
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@812 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
308e5ce017
send Cache-Control next to Expire headers (fixing #350 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@811 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6e424095f2
added check for madvise
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@810 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e290b119db
added startup-time selectable network-backend
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@808 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3888c10357
handle missing SSL-close-notify if keep-alive is disabled ( fixed #311 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@803 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0b3cc19a7f
fixed assertion on failure of mkstemp or write on post-data
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@802 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7fd269cf87
added support for userdir without a passwd entry
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@801 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
74d0c3d0de
added BusyServer compat for ?auto
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@800 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1022432a1e
added %I for bytes_in
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@799 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ff0ec13761
get it compile on mac os x
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@797 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
03452de486
added madvise, smaller mmap()ed windows and local-buffering
...
(step 1 and 2 of the optimizations)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@796 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c87a000c13
renamed file.offset to file.start (we had 3 different 'offset' which was confusing)
...
added a offset tag to the mmap part of the file-struct to allow moving mmap-windows
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@795 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ff29203dba
close fds on error and add CLOEXEC to FDs which stay open for a longer time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@794 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4f58672a85
added a comment on possible optimizations to the code and
...
added #ifdef USE_MADVISE to improve experimental support for read-head via mmap()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@791 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e84aba5c24
fixed missing sys/filio.h on solaris ( fixes #332 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@790 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c949273aa4
clean the error-queue is case we have a read/write error
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@789 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
85617fc337
add no-fork option for daemontools ( fixed #295 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@787 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d24262a03c
gracefull -> graceful
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@785 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1f0174e9d1
assume case-sensitive FS of upper + lower case result in the same filename (e.g. /1234/)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@783 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c4fa6928b6
Moved the check if we have mysql-vhost config for this host AFTER the patch function
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@782 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a77f7a90d8
the range-request options was not handled at all, added test case
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@781 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3a6769d19b
remove trailing \ ( fixed #310 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@780 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
51d6e2abf0
fixed output of non-cached compressed content and added test-cases
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@779 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6cfb2582c4
MacOS X needs the network* functions for the mod_fastcgi and friends
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@778 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
70110beb37
link mod_cml with libmemcache
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@776 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
578e68e26c
build and install spawn-fcgi. don't install implib
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@775 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ac7db634f6
detect empty URIs in requests as bad request, status 400
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@773 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
809199f98f
scons fixes, and built/test on cygwin
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@771 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
56e8df101c
part of [733]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@770 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
58e4c26d94
remove warning for strptime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@769 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b2ee4babeb
fixed handling of delay FDEVENT_HUP and epoll()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@768 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0a0336dec6
s/def/defined/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@767 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
4b7f5b1a3f
the missing part of [757]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@766 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1377748235
updated docs to 1.4.x names and add support for global index-generators (see #250 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@762 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
89cbb82286
check all block for unknown config-key instead of only global one
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@761 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
1f855b34dd
make %1 %2 etc works instead of SEGV
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@758 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
9be1abfb85
an unset header is now treat as empty_string "" to make the conditional logic correct.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@757 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
33320eba67
fixed compilation of libxml2 is not installed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@756 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ab522ec82a
expect XML_ERR_DOCUMENT_END for the final packet
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@755 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
54dea53fdf
update bytes_written in con-> ( fixed #737 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@751 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6a0b737789
ported to request_content_queue and fixed segfault of sqlite is compiled in but not used
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@750 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7dcf695bee
fdlist is not used, removed it (fixes inclusion into C++)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@749 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
40968e3c64
include either inttypes.h or stdint.h ( fixes #291 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@748 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c76035f592
fixed preparation of the content if we have to get the content from 2 network packets
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@747 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
5cafff4776
print bin-path if a fastcgi-binary exits at spawning time and us %lld for long long int
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@746 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
aab12c7582
fixed crc32c on 64bit platforms (fixes crc errors)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@745 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
8bf86d6d8d
append X-Forwarded-For to existing headers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@743 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
08809b7968
removed debug code
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@742 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1c09f28447
removed con->request.content (mem-buffer) by a chunk-queue
...
which can buffer to tempfiles of the content is to large
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@741 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
5bd52eea71
if we would have streaming mod_uploadprogress would work
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@740 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2d249ec215
removed warning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@739 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d958d547c8
added tempfile chunks which remove the file automaticly of they are closed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@738 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
bd893badb9
added the fd as parameter for the write() functions
...
- the plugins can use them now too
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@737 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c440468249
max-request-size was not respected since a long time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@736 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2865e7d1c9
copied mod-uploadprogress as we get to the point where it will work again
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@735 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e95ea21b1e
added a alternative to automake and friends by using scons
...
The main reason is improved built-speed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@734 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b4d9d061c8
either remove include config.h or covered it in HAVE_CONFIG_H
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@733 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b46fa4497b
only accept 100 connection in one round to remove the starvation of waiting connections
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@732 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
5e2a796a19
fix for string to be key (implicit convert integer to string when needed).
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@731 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
40fb6ffec1
correct error message for context_ndx
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@730 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b32a18b1e8
updated cq->written and con->bytes_written correctly
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@728 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
dccb266a39
improved error-msg and fixed invalid read from uninit memory
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@727 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
519788686c
removed the if (ISREG || ISDIR) as we need the sce set if we return HANDLER_GO_ON
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@726 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6fa5bb1138
only cleanup conditional contextes which are already setup
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@725 152afb58-edef-0310-8abb-c4023f1b3aa9
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 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@724 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f5ca9798df
only get a buffer if we really need it ( fixed #280 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@723 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
09a26806f4
fixed segfault if no global mysql-vhost-config was set ( fixes #268 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@722 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
89ff779a78
302 is used for Location: redirects in SCGI, FastCGI and CGI which might contain content
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@721 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c8a9649287
include <sys/select.h> if available ( fixes #264 , #275 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@720 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0d8585137f
added the rest of the DeltaV methods
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@719 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
56f637b885
removed unusued variables
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@718 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4b025512d8
added REPORT for webdav/svn
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@717 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
14754f33f4
fix and add testcase for #255
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@716 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4f1b2f8ca0
add dirlisting needs pcre
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@715 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
be5f187d0f
added support for md5 and blowfish passwords ( fixes #73 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@710 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
119c0da37c
the last header line is parsed again and X-LIGHTTPD-send-file was added.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@706 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
9d93d78b8e
handle mod_secdownload similar to mod_alias: create the physical path yourself
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@705 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
88c96e46a0
stipped data. from chunk structure (belongs to the last changeset)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@704 152afb58-edef-0310-8abb-c4023f1b3aa9
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 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b795fd36c0
fixed hashing function to only generate unsigned values ( fixes #251 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@702 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b3a8abd09d
added the same check-local behaviour as in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@701 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
74a71a2ff8
exported splaytree_size
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@700 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7113a665b3
improved error messages
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@699 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
3006dd11c5
add variable var.PID for use in config file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@698 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
38b8743af3
- don't keep the full fastcgi response in memory
...
- don't cache more than 4 chunks in a queue for reuse
- on chunkqueue_reset, clean the chunks
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@696 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
57ed250138
don't assume the relpath is really set (merge from #120 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@695 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4b63eae57d
fixed crash in SIGINT handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@694 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d00bb524f7
improve error-reporting (should fixed the Success 5 0 0 messages)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@693 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0f9a82bd0e
only enable fastcgi if necessary
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@690 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b9623d6fd2
try pkg-config for lua if all other tests fail ( fixed #247 , #254 , #209 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@689 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
68f009a99f
make default of sort to work
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@688 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
730ce9e9dd
don't crach in error message for auth.require->method
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@687 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
b37a95855f
fix bug triggered by [680]. reset "used"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@685 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
949ab7685e
stupid SEGV introduced in [679]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@684 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d0c12ea533
when ever we have content-length we have to forward it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@683 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
603d6ace1d
don't try to guess, do a read check if we can open it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@682 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
52125c82b8
check that we can really read the file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@681 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
326fa40875
compail about the right plugin and don't segfault
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@680 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
363301ccf3
added 'V' for HTTP_HOST, updated default accesslog format.
...
able to log all method supported by lighttpd.
cleanup (and possibly be faster) a bit by b=p->conf.access_logbuffer.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@679 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
5ae22303f4
fixed last-modified handling and handle absolute path names correctly ( fixed #244 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@678 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
286b6100a4
moved the etag.h to the right file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@677 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d956619380
make MacOS X happy when it domes to mod_cml and lua
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@676 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3553b694d0
don't fetch the error-msg a second time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@675 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
8e742eac4c
minor portability fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@668 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
478053510b
only try to open the event-handler, but close right away as we have to open it AFTER the daemonize again
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@665 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e45388fc44
added file_isdir
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@664 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f350d3253a
replaced /bin/sh exec by a simple cmdline parser ( fixed #133 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@663 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1a50f47b30
fixed error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@662 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a7d25eb577
add 404 and 403 to request-handling debug output
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@660 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
131f9a3293
use the standard value for it
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@659 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
32c28a0421
make ucbcc on sol9 happy as B_TRUE and B_FALSE are defined somewhere
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@658 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
9dd464a72b
moved last-modifed handling to response.c and let mod_cml_lua.c use it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@655 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
5c20c426b7
added gracefull shutdown and max-connections
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@653 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3749f4cbfb
limit max_fds to FD_SETSIZE of select is used.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@652 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e47ae00886
let kqueue startup after daemonize is done
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@650 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d84a871547
after-release fixes for freebsd (merged [191])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@649 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
15dc40cd36
removed the 'make distcheck' hack as we have -m now ([640], [630])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@646 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7d4f64c476
don't set a global uri-prefix and added checks ( fixes #235 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@641 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c2f868c02a
removed optimization as it didn't handled alignement issues
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@638 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ecb30c4eec
reverted last chngeset and added asserts() that all inserts and deletes are working
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@637 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a3e25bf8ed
closed memleaks at shutdown
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@636 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d1e70da839
iterate over the tree on delete and free() the nodes itself
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@635 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e19d4d77db
for EAGAIN: don't close the fd twice, for the other errno's: close() might modify errno.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@634 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
1f00903dd2
fix table css for easy of embeding
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@633 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0212534554
fixed detection of mimetype on uppercase extensions
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@632 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c7ec5012e0
added -m to set the location of the modules
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@630 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c18d4565cd
removed -6 from help text and moved FAMOpen2() to a place after setuid() (merged patch from #233 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@629 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e2fc3e86d0
closed mem-leaks on shutdown
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@628 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
54d03b905b
added large-file support for Range-Requests again.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@625 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c1ac34063e
reset and free dst_addr_buf
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@624 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
79d3bc4491
add support for the original libfam and handle HUP on the fam-fd
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@622 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e93ac5407b
if the write is waiting, break the loop.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@621 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ff8637dee0
call create-env only for the first match. (for #220 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@619 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e1855b24dd
EINTR is harmless
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@618 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
f387d89870
fix merging of auto-indexing element, and make autoload modules hack to use array merging
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@616 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
9a2e653557
if pcre is not avaible the UNUSED(regex) tries to tag a non-existent parameter
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@615 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
30e094f8d2
complain about the right plugin not cleaning up
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@614 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
9db5407390
HANDLER_GO_ON results in HANDLER_FINISHED later even if the we only received the header yet which is a bit too early.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@613 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1ce7cb8272
fixed check for base-docroot if chroot is used ( fixes #144 ), patch provided by jochen at schalanda.de
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@610 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
632703d7ae
we can't use mmap() with SSL_write as we don't have guarantee that
...
after a SSL_ERROR_WANT_WRITE we get the same mmap()ed address as
start pointer. On OpenBSD the start-address is completly random.
Using a local sendbuffer solves this problem.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@607 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
8b88536b71
REUSE the socket on spawning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@606 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
34e169d58d
Patch for new option 'dir-listing.exclude' ( closes #215 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@605 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
35d3c10d81
on SEGFAULT tell were we where
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@603 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e8c45fbd58
don't try to compress a empty filename
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@602 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
2bc0d28842
wait for the cgi response before we send the HTTP header
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@601 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
86ac3fb37f
if pathconf fails (like on obsd and nfs) fall back to NAME_MAX or 256
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@600 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6f940eaeb7
ported to stat-cache
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@598 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
fddcf8379f
don't set content-length if chunked encoding is used.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@597 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b3cbfab0e1
get the properties of the file, not the directory
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@596 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
71d3dad979
remove signess warnings, fixed PROPFIND listings, send 404 in PROPPATCH if resource doesn't exist
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@595 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c453169814
only of sqlite3 and libxml2 are available enable PROPPATCH and friends
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@594 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
163c25a2a9
added MOVE, COPY, PROPPATCH and nearly complete PROPFIND (Level 1-3 of litmus passed)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@593 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
30b1973266
fixed stat-cache for xattr
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@592 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1a1fc2d54d
forgot to add the legacy option as conditional
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@590 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6c160ec7d9
added PUT, all basic litmus tests passed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@589 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e2a32465f3
does include the parent directory in the PROPFIND output
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@585 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e37805c9b4
added DELETE and MKCOL to mod_webdav
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@584 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c5249103fd
sol10 needs them
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@581 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a31377ace4
fixed handling of OPTIONS * and /
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@579 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
919187ecf1
added a switch to enable webdav on demand
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@578 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3be06bb84c
added read-only WebDAV support
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@577 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
faa4d51ede
the userdir module builds a physical path by hand, the same as mod_alias
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@576 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b01d94c3a9
added function declaration
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@575 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
270ce0c65e
removed unused variable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@574 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b8e6fee3c3
removed unused variable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@573 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
eca25a0ae1
file_cache.h is not stat_cache.h
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@572 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
962d936d94
don't die if accesslog file is not set
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@571 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
172340e22f
let mod_compress prepare etag, last-modified and content-type
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@569 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c39b55649d
initialize is_ssl (perhaps fixes a long standing bug)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@568 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0d7dca9483
removed #ifdefs and fixed conditional config for mod_trigger_b4_dl that way
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@567 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0d79097c3d
added debug option to mod_trigger_b4_dl and initialize the base-config
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@566 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1b4b0b313a
tell the user to use the right PHP build for FastCGI
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@565 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
df688f7de0
pipe and syslog need each log-entry by itself
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@564 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e9165caae8
range-requests is at 40
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@563 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c052589bb3
load mod_indexfile before, mod_fastcgi and friends and let array regenerated unique ids if necessary
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@560 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a1944f40f2
initialize balancer-config
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@556 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4c265a6fd8
better error-handling and cleanup (merged [257] and [282])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@555 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
6044dbc5b3
make output of array/config same format as lighttpd.conf, with auto indention
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@554 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
718e97b68b
don't segfault on stat-failed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@552 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
bac9212c8f
fixed possible uninit variables of the config-parser fails (merged [183])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@551 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago