Releases: socketio/socket.io-sticky
Releases · socketio/socket.io-sticky
Release list
2.0.0
Bug Fixes
- correct round-robin worker selection (7443e1d)
- disable HTTP keep-alive for sticky workers (efd3445)
- handle worker exit while forwarding upload chunks (1ee559f)
- preserve binary chunks when forwarding requests to workers (05bff84)
BREAKING CHANGES
- cluster IPC must use advanced serialization, so Buffers are preserved across
processes. Applications should configure the cluster primary with serialization: "advanced" before
forking workers.
// must run before cluster.fork()
cluster.setupPrimary({
serialization: "advanced", // prevents conversion of Node.js Buffer to string over IPC
});Reference: https://nodejs.org/docs/latest/api/child_process.html#advanced-serialization