Skip to content

Releases: ainvaltin/httpsrv

drop utility functions `WaitWithTimeout` and `ListenForQuitSignal`

11 Nov 10:57

Choose a tag to compare

dropped utility functions WaitWithTimeout and ListenForQuitSignal - these are now part of github.com/ainvaltin/wake package.

v0.3.0

28 Oct 12:47

Choose a tag to compare

  • breaking change: Run takes *http.Server (instead of http.Server ie pointer instead of value) as a parameter because http.Server now contains atomic values which may not be copied.
  • deprecate utility functions WaitWithTimeout and ListenForQuitSignal - these are moved to github.com/ainvaltin/wake package.

improve http.ErrAbortHandler detection

03 Mar 17:52

Choose a tag to compare

detect http.ErrAbortHandler even when it is wrapped inside another error

drop LogError option

25 Feb 15:36

Choose a tag to compare

breaking change: dropped LogError option in favour of using errors.Join using this package now requires Go 1.20

new ShutdownOnPanic option

22 Jan 13:09

Choose a tag to compare

  • new ShutdownOnPanic option;
  • minor fixes;

new utility function WaitWithTimeout

17 Jan 17:27

Choose a tag to compare

  • new utility function WaitWithTimeout;
  • minor fixes;

initial release

01 Jan 21:11

Choose a tag to compare

v0.1.0

minor fixes