Open denyaalt opened 8 months ago
If it's as simple as adding a socket flag, then yes. Moreover, this module already allows SO_REUSEPORT
.
Node.js allows setting noDeply
option for net.Server
. Therefore you can set the option with SO_REUSEPORT.
Example:
const fd = createReuseportFd(port, host);
const server = net.createServer({ noDelay: true })
server.listen(fd)
Hi, Is it possible to add the TCP_NODELAY setting to SO_REUSEPORT to use them together? Thanks.