Skip to content

fix event stream responses in CRT http client#3821

Merged
sbiscigl merged 1 commit into
mainfrom
crt-http-eventstream-response
May 8, 2026
Merged

fix event stream responses in CRT http client#3821
sbiscigl merged 1 commit into
mainfrom
crt-http-eventstream-response

Conversation

@sbiscigl
Copy link
Copy Markdown
Collaborator

@sbiscigl sbiscigl commented May 7, 2026

Description of changes:

because of a missing flush in the CRT HTTP client for requests that use response event streams, the json deserializer would fail for a empty body as the response would not have been flushed. in the libcurl implementation we do this.

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sbiscigl sbiscigl marked this pull request as ready for review May 7, 2026 18:33
@sbiscigl sbiscigl force-pushed the crt-http-eventstream-response branch from 52c87ea to 7779b3c Compare May 7, 2026 20:40
@sbiscigl sbiscigl merged commit 2434125 into main May 8, 2026
4 of 6 checks passed
@sbiscigl sbiscigl deleted the crt-http-eventstream-response branch May 8, 2026 14:42
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.

3 participants