Skip to content

Releases: socketio/socket.io-sticky

2.0.0

Choose a tag to compare

@darrachequesne darrachequesne released this 17 Jul 12:53
f860569

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

1.0.4

Choose a tag to compare

@darrachequesne darrachequesne released this 12 Aug 07:36
518bd0b

Bug Fixes

  • cleanup sid to worker map on worker exit (4b430e7)
  • properly detect requests without body (ac7bb8e)

Links

1.0.3

Choose a tag to compare

@darrachequesne darrachequesne released this 24 Feb 11:15
e7f0375

Bug Fixes

  • handle case with no available worker (e8b4203)

Links

1.0.2

Choose a tag to compare

@darrachequesne darrachequesne released this 01 Nov 06:59
f59a376

Bug Fixes

  • properly handle large request body (a124d0b)

Links

1.0.1

Choose a tag to compare

@darrachequesne darrachequesne released this 01 Jul 22:40
56fc572

Bug Fixes

  • check if the socket exists in the worker (7069fbc)

Links

1.0.0

Choose a tag to compare

@darrachequesne darrachequesne released this 25 Jan 06:58
3aed346

Initial release 🔥