Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an io.ReadSeeker instead of an io.Reader to parse feeds #2459

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Use an io.ReadSeeker instead of an io.Reader to parse feeds #2459

merged 2 commits into from
Mar 7, 2024

Conversation

jvoisin
Copy link
Contributor

@jvoisin jvoisin commented Mar 6, 2024

This will allow to make use of func (*Reader) Seek, instead of re-recreating a new reader. It's a large commit for a small change, but anything to simply the reader/buffer/ReadAll/… mess is a step in the right direction I think, and it should enable more follow-up simplifications.

This is a rebased version of #2445

This will allow to make use of func (*Reader) Seek, instead of re-recreating a
new reader. It's a large commit for a small change, but anything to simply the
reader/buffer/ReadAll/… mess is a step in the right direction I think, and it
should enable more follow-up simplifications.
@fguillot fguillot merged commit a074773 into miniflux:main Mar 7, 2024
17 checks passed
@jvoisin jvoisin deleted the seek2 branch March 7, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants