uNetworkingAB
uNetworkingAB
This whole class is in need of a rewrite. It's not just the clear, it's also the erase.
Holy shit this looks great, I need to process this for a while
If you want to listen to multiple ports, you might as well skip that load balancing entirely and just use the fact that you have multiple ports, as a way...
You need two apps; SSLApp and APP and you need to register the same handlers on all URL routes. And you just call listen on them with their respective port
They should have identical perf. My persoanl preferrence is WorkerThreads becaue, technically, it should be lower resource usage but in practise probably the same.
No way I can merge this as one MR, you need to separate it into multiple smaller Mrs with clear separation of concern. Otherwise, I'm positive 👍
Yes it will come soon
You need to update uWS
You can install latest nightly builds npm install uNetworking/uWebSockets.js#binaries
Aha D:\a\uWebSockets.js\uWebSockets.js\uWebSockets.js\targets\node-v23.0.0\include\node\v8config.h(13): fatal error C1189: #error: "C++20 or later required."