Commit Graph

142 Commits (feb21b3da2c54be621f3be8d303a6b5778a8966b)

Author SHA1 Message Date
Glenn Strauss 04d76e7afd [core] some header cleanup
5 years ago
Glenn Strauss bd32f67046 [core] open additional fds O_CLOEXEC
5 years ago
Marco Angaroni 3faf042847 [mod_webdav] fix crash if stat fails, not ENOENT
5 years ago
Glenn Strauss 2bed2c14af [mod_webdav] check HAVE_UUID for -luuid
5 years ago
Glenn Strauss 7bda136e5f [mod_webdav] PROPFIND getetag attr must match GET
6 years ago
Gaël PORTAY e8498bbfcc [core] silence compiler warnings if !HAVE_FORK
6 years ago
Glenn Strauss 0cc7556aec [core] perf: stat_cache_mimetype_by_ext()
6 years ago
Glenn Strauss a53f662a30 [core] remove some unused header includes
6 years ago
Glenn Strauss 987a76ff58 [mod_webdav] fix crash when plugin_ctx cleaned up (fixes #2780)
6 years ago
Glenn Strauss 431bc346df remove #include "stream.h" where not used
6 years ago
Glenn Strauss d5f64cd85f [mod_webdav] compile fix when locking not enabled
6 years ago
Glenn Strauss 5bf5e1adcc fix race in dynamic handler configs (reentrancy) (fixes #2774)
6 years ago
Glenn Strauss 81ce160d83 silence warnings from clang ccc-analyzer
6 years ago
Glenn Strauss dd1ae42770 [mod_webdav] fix proppatch mem leak, other fixes (#fixes 1334, #fixes 2000)
7 years ago
Glenn Strauss af304330e7 [mod_webdav] remove excess SQL param to UNLOCK
7 years ago
Glenn Strauss f69f209e6d [core] option to stream request body to backend (fixes #376)
7 years ago
Glenn Strauss 4f6bd42268 [mod_webdav] create file w/ LOCK request if ENOENT
7 years ago
Glenn Strauss 34fbc868cf [mod_webdav] getetag and lockdiscovery live props
7 years ago
Glenn Strauss aee88d6916 [mod_webdav] create file w/ LOCK request if ENOENT
7 years ago
Glenn Strauss a9568d0ad6 check close() return code after writing to file
7 years ago
Glenn Strauss 80bb42266e [mod_webdav] improve PROPFIND,PROPPATCH (#1818, #1953)
7 years ago
Glenn Strauss e0115208ec [mod_webdav] map COPY/MOVE Destination to aliases (fixes #1787)
7 years ago
Glenn Strauss 8e3c6bf754 fallback to lseek()/read() if mmap() fails (#fixes 2666)
7 years ago
Glenn Strauss 3b6fd58fd9 [mod_webdav] lseek,read if fs can not mmap (#2666, fixes #962)
7 years ago
Glenn Strauss 8f27ff8cd4 defer reading request body until handle subrequest
7 years ago
Glenn Strauss f4cb07f723 [mod_webdav] readdir POSIX compat (fixes #1826)
7 years ago
Glenn Strauss ab829cee5e [mod_webdav] allow Depth: Infinity lock on file (fixes #2296)
7 years ago
Glenn Strauss f5453290b7 validate return values from strtol, strtoul (fixes #2564)
7 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073)
7 years ago
Stefan Bühler c512345fa2 [config] check config option scope; warn if server option is given in conditional
7 years ago
Stefan Bühler 26226271de maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced
8 years ago
Stefan Bühler 33cebeb0f7 fix segfaults in many plugins if they failed configuration
8 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member
8 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API
8 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API
8 years ago
Stefan Bühler 8e31e18b8e [mod_webdav] fix logic error in handling file creation error
9 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546)
9 years ago
Stefan Bühler 24994e113a [mod_webdav] fix fd leak found with parfait (fixes #2530, thx kukackajiri)
9 years ago
Stefan Bühler 6f208cfde1 fix/silence bugs reported by ccc-analyzer (clang)
9 years ago
Cyril Brulebois 9c43331382 Use NULL instead of 0 where pointers are expected.
11 years ago
Cyril Brulebois f4ba2d4f24 Mark some data as static.
11 years ago
Stefan Bühler e087d5bf1e fix mod_webdav crash from #1793 (fixes #2048, thx hiroya)
13 years ago
Stefan Bühler a55f82a392 mod_webdav: Delete old properties before updating new for MOVE (fixes #1317)
14 years ago
Stefan Bühler cef23f08d3 mod_webdav: Patch to skip login information for domain part of Destination field (fixes #1793)
14 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header
14 years ago
Stefan Bühler 243f756e92 Fix unused function webdav_lockdiscovery in mod_webdav
14 years ago
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
14 years ago
Stefan Bühler a6218765c2 Fix some problems with more strict compilers (#1923)
14 years ago
Stefan Bühler 21c5377d3f Use FD_CLOEXEC if possible (fixes #1821)
14 years ago
Stefan Bühler 52861d77df Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt)
15 years ago
Stefan Bühler 193b933329 Fix type in previous commit
15 years ago
Stefan Bühler e93cb224c1 Fix more warnings (unused var, pointer types in md5.c)
15 years ago
Stefan Bühler 5a9992b106 Fixed many warnings (compare (un)signed, unused vars, and initialize with zero)
15 years ago
Jan Kneschke 8f9f532083 * fixed crash on 32bit archs when debug-msgs are printed in mod_scgi,
16 years ago
Jan Kneschke bdc811e2ec fixed compilation on c89 compilers
16 years ago
Marcus Rückert b6ee10916c mkcol/mkdir in mod_webdav now honors the umask aswell.
17 years ago
Jan Kneschke bb24041f92 provide a useful error-msg when sqlite3_open fails
17 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;)
17 years ago
Marcus Rückert b060b46dc9 - mark a few params as unused
17 years ago
Jan Kneschke 0ad43990ee added a better comment about the current (incomplete) state of LOCK support
17 years ago
Marcus Rückert 347f6479c2 - configure.in:
17 years ago
Jan Kneschke 15a488a945 use the right return-value for an error
17 years ago
Marcus Rückert b2239df913 - mod_webdav honors the umask now.
17 years ago
Jan Kneschke 38b24d85d4 backported to the 1.4.11 interface
17 years ago
Jan Kneschke 33983f89f1 merged -r1042:1194 for mod_webdav.c from the 1.5.0 tree
17 years ago
Jan Kneschke c76b19673a allow proxy to svn-apache do a commit
17 years ago
Jan Kneschke 4afd2ae2af renamed server.force-lower-case-files to server.force-lowercase-filenams
17 years ago
Jan Kneschke fc813b7d35 fixed mem-leak (fixes #450)
17 years ago
Jan Kneschke cd4fd6f4d3 Depth: 1 PROPFIND request have to include the requested collection too
17 years ago
Jan Kneschke ab35f0e383 fixed the handling of the global webdav.log-xml option
17 years ago
Jan Kneschke 052f83e095 take the right docroot if simple-vhost is used for MOVE/COPY operations (fixes #389)
17 years ago
Jan Kneschke e9e05e3b03 fixed typo
17 years ago
Jan Kneschke a4be52451f more unsigned/sign compare fixes
17 years ago
Jan Kneschke 2d961090e8 don't try to call sqlite3 function if we don't have a sqlite3 db set
17 years ago
Jan Kneschke f9cc749a8f accept no-error as return for the last xml-chunk
17 years ago
Jan Kneschke 976f32182e simplified buffer-encoding functions into one function
17 years ago
Jan Kneschke fa804343ca added debugging to webdav
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 6a0b737789 ported to request_content_queue and fixed segfault of sqlite is compiled in but not used
18 years ago
Jan Kneschke 1c09f28447 removed con->request.content (mem-buffer) by a chunk-queue
18 years ago
Jan Kneschke a3e25bf8ed closed memleaks at shutdown
18 years ago
Jan Kneschke e2fc3e86d0 closed mem-leaks on shutdown
18 years ago
Jan Kneschke b3cbfab0e1 get the properties of the file, not the directory
18 years ago
Jan Kneschke 71d3dad979 remove signess warnings, fixed PROPFIND listings, send 404 in PROPPATCH if resource doesn't exist
18 years ago
Jan Kneschke c453169814 only of sqlite3 and libxml2 are available enable PROPPATCH and friends
18 years ago
Jan Kneschke 163c25a2a9 added MOVE, COPY, PROPPATCH and nearly complete PROPFIND (Level 1-3 of litmus passed)
18 years ago
Jan Kneschke 6c160ec7d9 added PUT, all basic litmus tests passed
18 years ago
Jan Kneschke e2a32465f3 does include the parent directory in the PROPFIND output
18 years ago
Jan Kneschke e37805c9b4 added DELETE and MKCOL to mod_webdav
18 years ago
Jan Kneschke 919187ecf1 added a switch to enable webdav on demand
18 years ago
Jan Kneschke 3be06bb84c added read-only WebDAV support
18 years ago