Added more stuff in README.md

This commit is contained in:
2024-04-11 19:55:51 +03:00
parent 87f8f19225
commit 8ff4438f82

View File

@@ -43,7 +43,27 @@ TODO webdav apis with an htpasswd file through nginx basic authentication
TODO webdav apis with database managed through django
# Building
TODO
After cloning this repository in $gitdir clone the nginx source code in $gitdir/nginx
cd $gitdir/nginx
./configure --add-dynamic-module=../../nginx-sf-webdav-module/' --with-compat
make
then the module is in $gitdir/nginx/objs/ngx_http_webdav_module.so
to compile the module statically just replace --add-dynamic-module with --add-module
# Requirements
- nginx version >= 1.13.4
- libxml2 + libxslt
The libxslt library is technically redundant and is only required since this combination is supported by nginx for the xslt module. Using builtin nginx mechanisms for linking against third-party libraries brings certain compatibility benefits. However this redundancy can be easily eliminated in the config file.
# Locking
- Only the exclusive write locks are supported, which is the only type of locks described in the WebDAV specification.
- All currently held locks are kept in a list. Checking if an object is constrained by a lock requires O(n) operations. A huge number of simultaneously held locks may degrade performance. Thus it is not recommended to have a large lock timeout which would increase the number of locks.
# Testing
TODO