From 9979c8ec4c91309bde6d77e91225f91adcd99f68 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Sun, 16 Dec 2018 06:46:15 +0100 Subject: [PATCH] Updated README. --- README.rst | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.rst b/README.rst index ff632fb..092056e 100644 --- a/README.rst +++ b/README.rst @@ -47,6 +47,18 @@ brings certain compatibility benefits. However this redundancy can be easily eliminated in the ``config`` file. +Testing +======= + +The module tests require standard nginx-tests_ and Perl ``HTTP::DAV`` library. + +.. code-block:: bash + + $ export PERL5LIB=/path/to/nginx-tests/lib + $ export TEST_NGINX_BINARY=/path/to/nginx + $ prove t + + Locking ======= @@ -56,7 +68,8 @@ Locking - 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. + Thus it is not recommended to have a large lock timeout which would increase + the number of locks. Directives @@ -102,18 +115,6 @@ current scope, HTTP methods LOCK and UNLOCK should also be explicitly specified in the ``dav_ext_methods``. -Testing -======= - -The module tests require standard nginx-tests_ and Perl ``HTTP::DAV`` library. - -.. code-block:: bash - - $ export PERL5LIB=/path/to/nginx-tests/lib - $ export TEST_NGINX_BINARY=/path/to/nginx - $ prove t - - Example 1 =========