aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/web-globals.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-19 22:34:57 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-19 22:34:57 -0800
commitb230e7a73a78e67533cba0d852cefdbbd787eae9 (patch)
treec720a12d0bc6af9f8b3a6f053a8eefbb2ca50e76 /test/bun.js/web-globals.test.js
parente024116b776efc19b92d4be613c1449213690ca1 (diff)
downloadbun-b230e7a73a78e67533cba0d852cefdbbd787eae9.tar.gz
bun-b230e7a73a78e67533cba0d852cefdbbd787eae9.tar.zst
bun-b230e7a73a78e67533cba0d852cefdbbd787eae9.zip
[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
Diffstat (limited to 'test/bun.js/web-globals.test.js')
0 files changed, 0 insertions, 0 deletions