Releases: ainvaltin/httpsrv
Releases · ainvaltin/httpsrv
drop utility functions `WaitWithTimeout` and `ListenForQuitSignal`
v0.3.0
- breaking change:
Runtakes*http.Server(instead ofhttp.Serverie pointer instead of value) as a parameter becausehttp.Servernow contains atomic values which may not be copied. - deprecate utility functions
WaitWithTimeoutandListenForQuitSignal- these are moved togithub.com/ainvaltin/wakepackage.
improve http.ErrAbortHandler detection
detect http.ErrAbortHandler even when it is wrapped inside another error
drop LogError option
breaking change: dropped LogError option in favour of using errors.Join using this package now requires Go 1.20
new ShutdownOnPanic option
- new
ShutdownOnPanicoption; - minor fixes;
new utility function WaitWithTimeout
- new utility function
WaitWithTimeout; - minor fixes;
initial release
v0.1.0 minor fixes