Node.js HTTP Client Memory Leak Issue

Recently, a developer in the community submitted an issue regarding a memory leak in the HTTP module, which affects the Node.js HTTP client. However, this is a rather special scenario that generally does not occur unless the server maliciously attacks the client. A pull request (PR) has recently been submitted to fix this issue, and … Read more

50 Lines of C Code for HTTP Parsing with Exceptional Performance!

50 Lines of C Code for HTTP Parsing with Exceptional Performance!

Introduction Have you ever wondered how lightweight an HTTP parser can be? Today, we will introduce a project—httplite—that implements a zero-copy, zero-allocation, dependency-free HTTP/1.1 parser in just 50 lines of C code. Even more impressive, it is fully compatible with the C89 standard and does not rely on the standard library! Sounds a bit “geeky,” … Read more