Skip to content

fix(http): keep shutdown independent of logging callbacks - #1143

Merged
andiwand merged 1 commit into
mainfrom
review/125-http-cleanup-logging
Oct 6, 2026
Merged

andiwand merged 1 commit into
mainfrom
review/125-http-cleanup-logging

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

HTTP shutdown invoked user logging callbacks before stopping the server and again while clearing services. A throwing logger could interrupt stop() and terminate the process when the final handle was destroyed. Keep shutdown independent of logging and clear services under the existing lifecycle lock after listeners return.

Validation: the new throwing-logger regression fails and terminates on the parent revision; all 12 HTTP server tests pass with loopback access. Targeted LLVM 22 clang-tidy passes with the unrelated inheritance checks excluded.

@andiwand
andiwand force-pushed the review/124-explicit-reader-invariants branch from 717f6ba to c60c215 Compare October 6, 2026 13:19
Base automatically changed from review/124-explicit-reader-invariants to main October 6, 2026 13:27
@andiwand
andiwand force-pushed the review/125-http-cleanup-logging branch from c29bd7f to f4f8188 Compare October 6, 2026 13:27
@andiwand
andiwand merged commit 0c7921d into main Oct 6, 2026
34 checks passed
@andiwand
andiwand deleted the review/125-http-cleanup-logging branch October 6, 2026 14:01
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