Repository navigation
loadbear v0.2.0
Note: in v0.1.x, sending SIGHUP terminated the process. Upgrade if you rely on signals.
Added
- Linux/macOS
SIGHUPreload of backend URLs, weights and selection strategy. Unchanged backends keep their state (health, counters, circuit breaker) and in-flight requests are not interrupted. An invalid config is rejected and the running config is kept. Other settings (listen addresses, timeouts, health-check settings, rate limiting, logging) still require a restart. - Integration tests for HTTP/1.1 upgrade handshakes and bidirectional byte echo through the proxy.
Fixed
SIGHUPterminated the process instead of reloading. It is now handled separately from the shutdown signals.UpgradeandConnectionheaders were stripped from every request, which broke WebSocket upgrades. They are now preserved for upgrade requests only; upgrade requests are never retried.- The access-log response wrapper did not implement
http.Hijackerandhttp.Flusher, which prevented upgrade tunnels. - Backend lists held by the metrics and health-check components were read and written without synchronization.