Stefan Bühler
63f785a2f8
Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2414 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 21:05:37 +00:00
Stefan Bühler
a6218765c2
Fix some problems with more strict compilers ( #1923 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2408 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 13:54:10 +00:00
Stefan Bühler
21c5377d3f
Use FD_CLOEXEC if possible ( fixes #1821 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2363 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-12-07 15:22:49 +00:00
Stefan Bühler
52861d77df
Replace buffer_{append,copy}_string with the _len variant where possible ( #1732 , thx crypt)
...
Replace BUFFER_{APPEND,COPY}_STRING_CONST with _len(b, CONST_STRL_LEN(x))
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2250 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-30 19:38:32 +00:00
Stefan Bühler
193b933329
Fix type in previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2166 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-04-29 21:01:22 +00:00
Stefan Bühler
e93cb224c1
Fix more warnings (unused var, pointer types in md5.c)
...
- Use const void* in instead of unsigned char* in MD5_Update
(same as in the openssl api, to avoid signed/unsigned char* warnings)
- Add const to some pointers in md5.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2165 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-04-29 21:01:00 +00:00
Stefan Bühler
5a9992b106
Fixed many warnings (compare (un)signed, unused vars, and initialize with zero)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2160 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-04-29 11:03:26 +00:00
Jan Kneschke
8f9f532083
* fixed crash on 32bit archs when debug-msgs are printed in mod_scgi,
...
mod_fastcgi and mod_webdav (#1263 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1882 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-07-17 18:02:33 +00:00
Jan Kneschke
bdc811e2ec
fixed compilation on c89 compilers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1743 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 15:04:46 +00:00
Marcus Rückert
b6ee10916c
mkcol/mkdir in mod_webdav now honors the umask aswell.
...
fixes [#884 ]
* src/mod_webdav.c
added define WEBDAV_FILE_MODE
added define WEBDAV_DIR_MODE
and replaced all hardcoded values in open/mkdir calls with
the defines.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1379 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 03:09:39 +00:00
Jan Kneschke
bb24041f92
provide a useful error-msg when sqlite3_open fails
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1373 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 21:25:29 +00:00
Marcus Rückert
8cd1471cb3
- white space cleanup part 2 this time 1.4 ;)
...
i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:26:23 +00:00
Marcus Rückert
b060b46dc9
- mark a few params as unused
...
- fix a few signed mismatch by casting to the correct type
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1363 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:21:42 +00:00
Jan Kneschke
0ad43990ee
added a better comment about the current (incomplete) state of LOCK support
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1346 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-28 12:09:26 +00:00
Marcus Rückert
347f6479c2
- configure.in:
...
check for uuid/uuid.h
- mod_webdav.c:
change the conditional to use HAVE_UUID_UUID_h
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1343 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-27 23:55:04 +00:00
Jan Kneschke
15a488a945
use the right return-value for an error
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1339 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 12:11:30 +00:00
Marcus Rückert
b2239df913
- mod_webdav honors the umask now.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1327 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 08:48:52 +00:00
Jan Kneschke
38b24d85d4
backported to the 1.4.11 interface
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1277 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-01 10:21:53 +00:00
Jan Kneschke
33983f89f1
merged -r1042:1194 for mod_webdav.c from the 1.5.0 tree
...
- added Content-Range support for PUT
- added experimental LOCK support
- call PREATE after the CREATE TABLE
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1276 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-01 10:17:28 +00:00
Jan Kneschke
c76b19673a
allow proxy to svn-apache do a commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1015 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-02 23:31:40 +00:00
Jan Kneschke
4afd2ae2af
renamed server.force-lower-case-files to server.force-lowercase-filenams
...
- use case-insensitive matches for mod_auth too if the FS is lower-case
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@939 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-11 23:05:06 +00:00
Jan Kneschke
fc813b7d35
fixed mem-leak ( fixes #450 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@934 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-11 10:18:30 +00:00
Jan Kneschke
cd4fd6f4d3
Depth: 1 PROPFIND request have to include the requested collection too
...
- this fixes an error with kde ioslave for webdav seen in krusader
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@913 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-03 23:48:17 +00:00
Jan Kneschke
ab35f0e383
fixed the handling of the global webdav.log-xml option
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@910 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-03 15:08:08 +00:00
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
2005-11-26 12:47:45 +00:00
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
2005-11-18 13:28:53 +00:00
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
2005-11-18 12:00:48 +00:00
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
2005-11-10 18:22:54 +00:00
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
2005-11-10 00:29:49 +00:00
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
2005-11-07 13:15:51 +00:00
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
2005-11-01 08:56:31 +00:00
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
2005-09-29 14:36:08 +00:00
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
2005-09-29 14:18:26 +00:00
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
2005-09-29 13:04:20 +00:00
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
2005-09-26 08:56:39 +00:00
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
2005-08-29 10:43:29 +00:00
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
2005-08-27 14:34:40 +00:00
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
2005-08-21 11:27:59 +00:00
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
2005-08-21 10:06:23 +00:00
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
2005-08-21 07:21:22 +00:00
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
2005-08-20 19:10:44 +00:00
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
2005-08-19 14:40:19 +00:00
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
2005-08-19 13:56:32 +00:00
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
2005-08-19 13:42:01 +00:00
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
2005-08-19 08:37:21 +00:00
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
2005-08-19 00:05:52 +00:00