Skip to content

fix: update LaunchDarkly.EventSource to 5.3.2 for MAUI Android SSE stall - #328

Merged
tanderson-ld merged 1 commit into
mainfrom
ta/SDK-2755/eventsource-5.3.2
Aug 10, 2026
Merged

fix: update LaunchDarkly.EventSource to 5.3.2 for MAUI Android SSE stall#328
tanderson-ld merged 1 commit into
mainfrom
ta/SDK-2755/eventsource-5.3.2

Conversation

@tanderson-ld

@tanderson-ld tanderson-ld commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Related issues

Describe the solution you've provided

Bumps LaunchDarkly.EventSource from 5.3.1 to 5.3.2 in LaunchDarkly.ClientSdk. The 5.3.2 release increases the SSE read buffer from 1024 to 8192 bytes to bypass a stall in Xamarin.Android.Net.AndroidMessageHandler's BufferedStream small-count code path, which caused MAUI Android consumers' SSE reads to block for ~60 s waiting for the next server keepalive.

The fix was validated end-to-end with a new sse-contract-tests payload-size sweep run against a .NET-for-Android build of the SSE test service in an Android emulator; the sweep flags every regression to a sub-4096-byte buffer.

Describe alternatives you've considered

  • Working around the stall in-repo (e.g., swapping out AndroidMessageHandler for a different HTTP handler) was rejected as riskier than adjusting the buffer size at the SSE layer.
  • The ServerSdk consumer of LaunchDarkly.EventSource is out of scope for this PR: the stall is Android-only, so bumping ServerSdk would be pure hygiene rather than a fix.

Additional context

  • No API changes; single-line PackageReference version bump.
  • Companion to previously merged fix: treat unknown/constrained network access as connected #323, which addressed the network-connectivity side of the same customer-reported symptom.
  • Verified locally that LaunchDarkly.ClientSdk builds cleanly against 5.3.2 for both netstandard2.0 and net8.0-android.

Note

Overview
Bumps LaunchDarkly.EventSource from 5.3.1 to 5.3.2 in LaunchDarkly.ClientSdk only (no API or source changes).

The newer EventSource release increases the SSE read buffer (1024 → 8192 bytes) so MAUI Android clients avoid long (~60s) stalls when AndroidMessageHandler’s buffered stream blocks on small reads until the next keepalive. LaunchDarkly.ServerSdk is intentionally left on 5.3.1 because the issue is Android-specific.

Reviewed by Cursor Bugbot for commit b73204d. Bugbot is set up for automated code reviews on this repo. Configure here.

Picks up the SSE read-buffer increase (1024 -> 8192 bytes) shipped in
LaunchDarkly.EventSource 5.3.2, which resolves the MAUI Android
streaming stall where SSE reads would block ~60s waiting for the next
server keepalive.

Release notes:
  https://github.com/launchdarkly/dotnet-eventsource/releases/tag/5.3.2

Fix PR:
  launchdarkly/dotnet-eventsource#124
@tanderson-ld
tanderson-ld requested a review from a team as a code owner August 10, 2026 15:35
@tanderson-ld tanderson-ld changed the title fix: update LaunchDarkly.EventSource to 5.3.2 for MAUI Android SSE stall (SDK-2755) fix: update LaunchDarkly.EventSource to 5.3.2 for MAUI Android SSE stall Aug 10, 2026
@tanderson-ld
tanderson-ld merged commit 9f7cb38 into main Aug 10, 2026
17 checks passed
@tanderson-ld
tanderson-ld deleted the ta/SDK-2755/eventsource-5.3.2 branch August 10, 2026 17:29
tanderson-ld pushed a commit that referenced this pull request Aug 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[5.9.4](LaunchDarkly.ClientSdk-v5.9.3...LaunchDarkly.ClientSdk-v5.9.4)
(2026-08-10)


### Bug Fixes

* update LaunchDarkly.EventSource to 5.3.2 for MAUI Android SSE stall
(SDK-2755)
([#328](#328))
([9f7cb38](9f7cb38))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Overview**
> **Release Please** cuts **LaunchDarkly.ClientSdk 5.9.4** by updating
the package version, release manifest, changelog, and provenance docs
from **5.9.3**.
> 
> The **5.9.4** notes call out a bug fix: bump
**`LaunchDarkly.EventSource` to 5.3.2** to address **MAUI Android SSE
stall** (SDK-2755, #328). This PR’s diff is the versioned release
metadata for that change, not new SDK logic.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
639f4ea. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants