Skip to content

dont open the file on dav HEAD request - #9559

Merged
MorrisJobke merged 1 commit into
masterfrom
sabre-head-dont-open-file
May 28, 2018
Merged

dont open the file on dav HEAD request#9559
MorrisJobke merged 1 commit into
masterfrom
sabre-head-dont-open-file

Conversation

@icewind1991

@icewind1991icewind1991 commented May 23, 2018

Copy link
Copy Markdown
Member

Upstream version: sabre-io/dav#1058

Not only does opening the file lead to unneeded overhead, it also requires locking the file which can lead to locking conflicts.

@icewind1991icewind1991 added the 3. to review Waiting for reviews label May 23, 2018
@icewind1991icewind1991 added this to the Nextcloud 14 milestone May 23, 2018
@icewind1991
icewind1991force-pushed the sabre-head-dont-open-file branch from 45aed74 to 9b9a576CompareMay 25, 2018 14:06
@icewind1991

Copy link
Copy Markdown
MemberAuthor

rebased and updated to keep changes in line with upstream

Signed-off-by: Robin Appelman <robin@icewind.nl>
@rullzer
rullzerforce-pushed the sabre-head-dont-open-file branch from 9b9a576 to c8076f5CompareMay 26, 2018 11:17
@rullzer

Copy link
Copy Markdown
Member

rebased

@codecov

codecovBot commented May 26, 2018

Copy link
Copy Markdown

Codecov Report

Merging #9559 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@ Coverage Diff @@## master #9559 +/- ##
============================================
+ Coverage 51.15% 51.15% +<.01% 
Complexity 25692 25692 ============================================
Files 1568 1568 Lines 88039 88039 ============================================
+ Hits 45036 45037 +1 + Misses 43003 43002 -1
Impacted FilesCoverage ΔComplexity Δ
lib/private/Files/Cache/Propagator.php96.2% <0%> (+1.26%)16% <0%> (ø)⬇️

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@MorrisJobke
MorrisJobke merged commit b76f806 into masterMay 28, 2018
@MorrisJobke
MorrisJobke deleted the sabre-head-dont-open-file branch May 28, 2018 12:38
@MorrisJobke

Copy link
Copy Markdown
Member

@icewind1991 Please backport to stable13

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@icewind1991@rullzer@MorrisJobke