• v0.9.2 1801754a9b

    Rene Nochebuena released this 2026-03-24 18:53:56 -06:00 | 0 commits to main since this release

    v0.9.2

    code.nochebuena.dev/go/httpserver

    Overview

    Patch release. Fixes a silent failure in OnStart where 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

    • OnStart now binds the TCP listener synchronously via net.Listen before
      launching the serve goroutine. A port-in-use (or any other bind) error is
      returned immediately from OnStart, 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.2
    

    Requires code.nochebuena.dev/go/launcher and github.com/go-chi/chi/v5.

    Full Changelog

    https://code.nochebuena.dev/go/httpserver/compare/v0.9.1...v0.9.2

    Downloads