Skip to content

Follow-up fix http trailers for on_http_response#57

Merged
Alkarex merged 1 commit intofreshrssfrom
fix-response-trailer
Sep 20, 2025
Merged

Follow-up fix http trailers for on_http_response#57
Alkarex merged 1 commit intofreshrssfrom
fix-response-trailer

Conversation

@Alkarex
Copy link
Member

@Alkarex Alkarex commented Sep 20, 2025

Follow-up of #55
For FreshRSS/FreshRSS#7983

@Alkarex Alkarex merged commit c1bf1a3 into freshrss Sep 20, 2025
20 checks passed
@Alkarex Alkarex deleted the fix-response-trailer branch September 20, 2025 20:33
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Sep 20, 2025
Alkarex added a commit to FreshRSS/FreshRSS that referenced this pull request Oct 1, 2025
* Fix SimplePie support of HTTP trailer headers
fix #7981
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Trailer
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Server-Timing
We need to use content-length to know where the body stops, but content-length is wrong is any compression was used.
So let cURL perform the separation of HTTP headers and body instead of using the SimplePie parser.

* Minor whitespace

* Same change for lib_rss

* Move changes to SimplePie repo
FreshRSS/simplepie#55
FreshRSS/simplepie#57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant