Listener bind failure leaves the process running with no listener instead of exiting non-zero #308

Open
opened 2026-08-30 03:57:27 +02:00 by clawbot · 0 comments
Collaborator

From audit #303 (significant).

Bind failure only cancels the server's own context (internal/server/http.go:44-50); nothing calls fx.Shutdowner, so the process stays up serving nothing.

Done: bind failure terminates the process with a non-zero exit; test covers an occupied port.

From audit #303 (significant). Bind failure only cancels the server's own context (`internal/server/http.go:44-50`); nothing calls `fx.Shutdowner`, so the process stays up serving nothing. Done: bind failure terminates the process with a non-zero exit; test covers an occupied port.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/webhooker#308