e3dio
e3dio
I was going to say, looks like those 3 DLL were required
This was asked before here: https://github.com/uNetworking/uWebSockets.js/issues/649 That guy was trying to do 1 socket per process which was a bad idea, your use case makes more sense but is not...
Ah there is open issue https://github.com/uNetworking/uWebSockets/issues/881
More info on transfer-encoding chunked: > While transfer-encoding chunked is defined for both response and request in the HTTP/1.1 standard (but not in HTTP/1.0) it is typically only used for...
I tested `transfer-encoding: chunked` request with Node v17.5 which now includes `fetch` using `fetch(url, {body: createReadStream()})` and uWS.js accepts the request, it emits `onData` event with empty buffer. You can...
Hey its the lead dev from the ws library :) I think he was referring to the uws library ws.send function tho
`us_listen_socket_close` closes the listen socket for new http/ws connections, existing connections for http and ws are still open. `res.close()` and `ws.close()` force close connections, or `.end()` graceful close. If you...
@jcherrabi I don't see you closing any websockets in your shutdown code, that would probably fix your issue https://github.com/uNetworking/uWebSockets.js/discussions/575 `us_listen_socket_close` stops new connections
If you add `if (!listenSocket) return res.close()` at the top of your routes/middleware the next time the client sends request it will close the connection
Http timeout is 10 seconds, is not determined by what client sends in header, might be short enough for you https://github.com/uNetworking/uWebSockets/blob/master/src/HttpContext.h#L44