Skip to content

SSE: Update Last-Event-ID independently of event dispatch - #892

Merged
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:sse_last-event-id
Oct 8, 2026
Merged

arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:sse_last-event-id

Conversation

@arturobernalg

@arturobernalg arturobernalg commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

According to the WHATWG SSE processing model, the last event ID is updated during the dispatch step before checking whether the data buffer is empty.

Update the SSE consumers to preserve Last-Event-ID even when no event is dispatched, and omit the Last-Event-ID request header when the value has been reset to an empty string.

@arturobernalg
arturobernalg merged commit fd21b1b into apache:master Oct 8, 2026
10 checks passed
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