3 ms·
I was curious whether I had to change anything in my applications after reading that so did a bit of research. Both Node.js and Curl use TCP_NODELAY by default
by epolanski 3y ago
I was curious whether I had to change anything in my applications after reading that so did a bit of research.
Both Node.js and Curl use TCP_NODELAY by default from a long time.
- Sammi 3y agoNodejs enabled TCP_NODELAY by default in 2022 v.18. PR: https://github.com/nodejs/node/pull/42163 https://github.com/nodejs/node/pull/42163 Changelog entry: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#other-notable-changes-7 https://github.com/nodejs/node/blob/main/doc/changelogs/CHAN...
- epolanski 3y agoThat's the HTTP module, but it was already moved to NODELAY for the 'net' module in 2015.