Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
davfs2
Check-for-valid-prop-etag.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Check-for-valid-prop-etag.patch of Package davfs2
From f40d1c64c1dc17042c6265c9264c705d8db16f07 Mon Sep 17 00:00:00 2001 From: Ali Abdallah <aabdallah@suse.de> Date: Wed, 22 Dec 2021 16:21:49 +0100 Subject: [PATCH] check valid prop etag --- src/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache.c b/src/cache.c index 07ec842..fe1be28 100644 --- a/src/cache.c +++ b/src/cache.c @@ -2317,7 +2317,7 @@ update_node(dav_node *node, dav_props *props) } if (is_cached(node)) { - if ((!node->etag && props->mtime > node->smtime) + if ((!props->etag && props->mtime > node->smtime) || (node->etag && props->etag && strcmp(node->etag, props->etag) != 0)) { if (is_open(node)) { -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor