diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-20 15:45:07 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-11-01 18:44:58 +0100 |
commit | 7541727dfc5938910ce58c73c4dfbcd727dcb7f1 (patch) | |
tree | 5087a9bdf8f0715f133a7c001802475b1def2815 /solenv | |
parent | ee7a590994c3853945fd7fa0c41e4755e741f2b9 (diff) |
ucb: webdav-curl: Related: tdf#82677, implement a PROPFIND 'propname' request cache
PROPFIND 'propname' is the special usage to retrieve all the
properties available on the URI resource, their names only.
See <https://tools.ietf.org/html/rfc4918#section-9.1> for
PROPFIND 'propname' definition.
Add cache usage in Content::getProperties as well.
The caching model is simple: a simple lifetime limit of 10 seconds
to declare the property name list stale and request another list,
accessing the Net.
This should reduce the number of PROPFIND calls on the Net.
[ port of commit 98bd24f8b479132ca3f2d884749b738e9e6203e3 ]
Change-Id: I48ae38f706370557698dd80e31840b44e05bfef6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123481
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/clang-format/excludelist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index af38ed914cb2..2608eb588055 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -14006,6 +14006,8 @@ ucb/source/ucp/webdav-curl/DAVTypes.hxx ucb/source/ucp/webdav-curl/DateTimeHelper.cxx ucb/source/ucp/webdav-curl/DateTimeHelper.hxx ucb/source/ucp/webdav-curl/PropertyMap.hxx +ucb/source/ucp/webdav-curl/PropfindCache.cxx +ucb/source/ucp/webdav-curl/PropfindCache.hxx ucb/source/ucp/webdav-curl/SerfLockStore.cxx ucb/source/ucp/webdav-curl/SerfLockStore.hxx ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.cxx |