summaryrefslogtreecommitdiff
path: root/ucb/Library_ucpdav1.mk
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-08-20 15:45:07 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2021-11-01 18:44:58 +0100
commit7541727dfc5938910ce58c73c4dfbcd727dcb7f1 (patch)
tree5087a9bdf8f0715f133a7c001802475b1def2815 /ucb/Library_ucpdav1.mk
parentee7a590994c3853945fd7fa0c41e4755e741f2b9 (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 'ucb/Library_ucpdav1.mk')
-rw-r--r--ucb/Library_ucpdav1.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucb/Library_ucpdav1.mk b/ucb/Library_ucpdav1.mk
index ee1c944b1fbd..b8cbb2be48e1 100644
--- a/ucb/Library_ucpdav1.mk
+++ b/ucb/Library_ucpdav1.mk
@@ -48,6 +48,7 @@ $(eval $(call gb_Library_add_exception_objects,ucpdav1,\
ucb/source/ucp/webdav-curl/DAVSessionFactory \
ucb/source/ucp/webdav-curl/DAVTypes \
ucb/source/ucp/webdav-curl/DateTimeHelper \
+ ucb/source/ucp/webdav-curl/PropfindCache \
ucb/source/ucp/webdav-curl/SerfLockStore \
ucb/source/ucp/webdav-curl/UCBDeadPropertyValue \
ucb/source/ucp/webdav-curl/webdavcontent \