Fluxzero 1.237.0
1.237.0 (2026-08-05)
Features
websocket: identify replaced sessions on reconnect (
0ab2691)Pass each closed session to its session-pool replacement and advertise the previous negotiated session id in the new websocket handshake. Legacy runtimes safely ignore the new header.
This allows a supporting runtime to remove one matching stale session only after its replacement has connected.
Bug Fixes
websocket: close gracefully before aborting (
8d98c66)Mark unhealthy JDK sessions unavailable immediately, enqueue a close frame without blocking the caller, and allow one second for the peer close before aborting the transport. This lets runtime close callbacks arrive while retaining a bounded fallback for stuck transports.
Code Refactoring
websocket: keep replacement factory internal (
d68ba07)Keep the existing public supplier constructor as the only external SessionPool constructor. The replacement-aware function remains package-private to avoid an unnecessary public overload and null-call ambiguity.