Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

Salon Ceases Publication

Salon, in an unsigned goodbye post: Thirty-one years is a remarkable run, but what matters most is what happened during those years: the journalism, the ideas, the voices, the conversations and the…

Why Node.js HTTP backpressure must count bytes, not string length

In Node.js, string.length counts UTF-16 code units, not bytes . When Node's HTTP OutgoingMessage buffered a write, it added data.length to the counters that drive backpressure, so multi-byte response…

  • Node.js string.length counts UTF-16 code units, not bytes
  • HTTP OutgoingMessage buffers data by adding data.length to backpressure counters
  • Fix counts bytes instead of code units to accurately detect backpressure

More from Thursday 5 November →