Skip to content

Reset SSE event type after an empty event block - #135278

Merged
MihaZupan merged 1 commit into
dotnet:mainfrom
MihaZupan:mizupan-microsoft-sse-event-type-fix
Oct 7, 2026
Merged

MihaZupan merged 1 commit into
dotnet:mainfrom
MihaZupan:mizupan-microsoft-sse-event-type-fix

Conversation

@MihaZupan

Copy link
Copy Markdown
Member

An SSE block with an event: field but no data: leaks its event type into the next event instead of using the default "message" type.

Reset the event type at the terminating blank line, as explicitly required by the HTML specification. Pending id: and retry: values are preserved.

Note

This description was generated with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MihaZupan MihaZupan added this to the 12.0.0 milestone Oct 6, 2026
@MihaZupan MihaZupan self-assigned this Oct 6, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants