Why Node.js HTTP backpressure must count bytes, not string length
DEV Community
Why Node.js HTTP backpressure must count bytes, not string length
Node's OutgoingMessage counted buffered strings in UTF-16 code units, so multi-byte bodies were under-counted up to 3× and write() kept saying there was room. My fix, and how I verified it.
0 comments
No comments yet.