Repository navigation
Support standard HTTP 410 Gone - #3561
Merged
Merged
Conversation
When a feed returns an HTTP 410 Gone, mute the corresponding feed, i.e. stop refreshing it. Example of such feed, Les Décodeurs (Libération) https://rss.liberation.fr/rss/100893/
Alkarex
added a commit
to FreshRSS/simplepie
that referenced
this pull request
Mar 25, 2021
New method for a client to get the last HTTP status code. Use-case: implement HTTP 410 Gone Downstream PR: FreshRSS/FreshRSS#3561
Member
Author
|
Upstream PR: simplepie/simplepie#674 |
mblaney
pushed a commit
to simplepie/simplepie
that referenced
this pull request
Mar 26, 2021
New method for a client to get the last HTTP status code. Use-case: implement HTTP 410 Gone Downstream PR: FreshRSS/FreshRSS#3561
Member
Author
|
Merged upstream |
3 of 4 tasks
Alkarex
added a commit
that referenced
this pull request
Oct 3, 2026
* Fix muting of feeds gone with HTTP 410 A feed answering HTTP 410 Gone is meant to be muted (#3561), but: * Since #6037, FreshRSS_Feed_Exception extends Minz_Exception, which resets any code other than its own error levels to 0, so the check for 410 never matched. FreshRSS_Feed_Exception now keeps the HTTP status code it is given. * FreshRSS_FeedDAO::mute() mutes by negating the TTL, which leaves a feed with the default TTL (0) unmuted. Mute the feed the way the feed settings and dynamic OPML categories do instead. * A bit of cleaning --------- Co-authored-by: Alexandre Alapetite <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a feed returns an HTTP 410 Gone, mute the corresponding feed, i.e. stop refreshing it.
Example of such feed, Les Décodeurs (Libération) https://rss.liberation.fr/rss/100893/