-
Release v0.9.2 Stable
released this
2026-03-24 18:53:56 -06:00 | 0 commits to main since this releasev0.9.2
code.nochebuena.dev/go/httpserverOverview
Patch release. Fixes a silent failure in
OnStartwhere a port-in-use error was
swallowed inside a goroutine, leaving the application running without an HTTP server
instead of failing fast.What's Changed
Fixed
OnStartnow binds the TCP listener synchronously vianet.Listenbefore
launching the serve goroutine. A port-in-use (or any other bind) error is
returned immediately fromOnStart, allowing the launcher to treat it as a
fatal startup failure and trigger a clean shutdown. Previously the error only
appeared in a log line while the application continued running without an
HTTP server.
Installation
go get code.nochebuena.dev/go/httpserver@v0.9.2Requires
code.nochebuena.dev/go/launcherandgithub.com/go-chi/chi/v5.Full Changelog
https://code.nochebuena.dev/go/httpserver/compare/v0.9.1...v0.9.2
Downloads