Skip to content

[RESTEASY-3359] Commit SSE response headers when closing without send…#4785

Merged
jamezp merged 1 commit into
resteasy:mainfrom
jamezp:RESTEASY-3359
Feb 11, 2026
Merged

[RESTEASY-3359] Commit SSE response headers when closing without send…#4785
jamezp merged 1 commit into
resteasy:mainfrom
jamezp:RESTEASY-3359

Conversation

@jamezp

@jamezp jamezp commented Feb 11, 2026

Copy link
Copy Markdown
Member

…ing events

SseEventSink.close() now commits response headers (Content-Type and status) before completing the async response when no events were sent. This fixes SSE client reconnection issues in connection loss scenarios.

Also correctly returns status 200 for @stream endpoints vs 204 for SSE.

https://issues.redhat.com/browse/RESTEASY-3359

@jamezp jamezp requested a review from a team as a code owner February 11, 2026 03:50
…ing events

SseEventSink.close() now commits response headers (Content-Type and status) before completing the async response when no events were sent. This fixes SSE client reconnection issues in connection loss scenarios.

Also correctly returns status 200 for @stream endpoints vs 204 for SSE.

https://issues.redhat.com/browse/RESTEASY-3359

Signed-off-by: James R. Perkins <jperkins@ibm.com>
@jamezp jamezp merged commit 7c1725d into resteasy:main Feb 11, 2026
14 of 19 checks passed
@jamezp jamezp deleted the RESTEASY-3359 branch February 11, 2026 14:32
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