SIGN IN SIGN UP
oven-sh / bun UNCLAIMED

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

0 0 150 Rust

[fetch] Fix sporadic data corruption bug in HTTP client and add fast path

- This removes memory pooling from the HTTP client which sometimes caused invalid memory to be written to the response body.
- This adds a fast path for small HTTP/HTTPS responses that makes it a single memory allocation for the response body, instead of copying & allocating a temporary buffer

cc @Electroid
J
Jarred Sumner committed
b230e7a73a78e67533cba0d852cefdbbd787eae9
Parent: e024116