Skip to content

Conversation

@rob-bygrave
Copy link
Contributor

The HttpClient uses the BodyHandlers.ofLines() but was not filtering out empty lines. These empty lines can fail the assigned body handler (e.g. json parsing error).

The fix is to filter out empty lines when reading the stream.

The HttpClient uses the BodyHandlers.ofLines() but was not filtering out empty lines.
These empty lines can fail the assigned body handler (e.g. json parsing error).

The fix is to filter out empty lines when reading the stream.
@SentryMan SentryMan merged commit 089c8f7 into master Jul 16, 2025
6 checks passed
@SentryMan SentryMan deleted the fix/client-stream-empty branch July 16, 2025 00:33
@SentryMan SentryMan added this to the 3.4 milestone Jul 23, 2025
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.

4 participants