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