Skip to content

[downstream] Fix DAV stat cache to properly cache 404 - #2744

Merged
rullzer merged 1 commit into
masterfrom
oc_26324
Jan 11, 2017
Merged

[downstream] Fix DAV stat cache to properly cache 404#2744
rullzer merged 1 commit into
masterfrom
oc_26324

Conversation

@rullzer

Copy link
Copy Markdown
Member

@mention-bot

Copy link
Copy Markdown

@rullzer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @icewind1991, @LukasReschke and @butonic to be potential reviewers.

@rullzerrullzer added this to the Nextcloud 12.0 milestone Dec 19, 2016
@LukasReschke

Copy link
Copy Markdown
Member

I'd feel more confident here if we'd enable the DAV external storage tests.

@rullzer

Copy link
Copy Markdown
MemberAuthor

Rebased.

@LukasReschke we have external DAV tests now. Lets see what CI thinks.

404 errors were not properly cached due to catching the wrong
exception. Now catching ClientHttpException and checking the error
code. In case of 404, adjust the stat cache accordingly.
@rullzer
rullzer merged commit 447e388 into masterJan 11, 2017
@rullzer
rullzer deleted the oc_26324 branch January 11, 2017 07:16
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.

4 participants

@rullzer@mention-bot@LukasReschke@icewind1991