Skip to content

fix: keep SSE Flush working behind SlogMiddleware#3

Merged
iberflow merged 1 commit into
mainfrom
fix/slog-middleware
Jul 11, 2026
Merged

fix: keep SSE Flush working behind SlogMiddleware#3
iberflow merged 1 commit into
mainfrom
fix/slog-middleware

Conversation

@iberflow

Copy link
Copy Markdown
Member

Missing Flush and Hijack on the middleware's response wrapper meant any SSE or WebSocket route sitting behind SlogMiddleware broke, streams buffered instead of flushing, upgrades couldn't hijack the connection. This restores both so you can log those routes normally again.

Signed-off-by: Ignas Bernotas <ignas@toawe.me>
@github-actions github-actions Bot added the needs-triage Awaiting maintainer triage label Jul 11, 2026
@iberflow
iberflow merged commit d399eef into main Jul 11, 2026
4 checks passed
@iberflow
iberflow deleted the fix/slog-middleware branch July 11, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-triage Awaiting maintainer triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant