Felix Zedén Yverås
bc503ce8ec
test: add failing test for #13696
...
It seems that the http module does not stream the initial few chunks of
a streaming http response in real-time. This has caused issues when
using bun with testcontainers.
While I am not qualified to locate and resolve the root cause of this
issue, I can provide a breaking test, in the hopes it will help somebody
else locate and fix the issue.
2024-09-09 11:24:56 -07:00
Ciro Spaciari
528ad62d1e
remember #3458
2024-09-09 11:24:56 -07:00
Ciro Spaciari
876ff4c199
test for headersSent
2024-09-09 11:24:56 -07:00
Wilmer Paulino
a0939ca4f1
Switch asymmetric encryption implementation to BoringSSL ( #13786 )
2024-09-08 03:19:23 -07:00
Dylan Conway
50d2f76075
fix(pack): don't automatically include CHANGELOG when files is populated ( #13789 )
2024-09-08 00:56:21 -07:00
Dylan Conway
267afa2934
implement bun pm pack ( #13723 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-09-07 03:55:09 -07:00
190n
084734db64
Implement napi_handle_scope and napi_escapable_handle_scope ( #13756 )
2024-09-07 00:55:19 -07:00
Meghan Denny
de5809b45a
windows: fix sometimes crash when FDImpl.uv() is called on stdio ( #13719 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dave Caruso <me@paperdave.net >
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-09-06 21:00:55 -07:00
Jarred Sumner
f0a4b9f96f
Copy fix from #13756 into separate PR ( #13783 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-06 20:16:20 -07:00
Meghan Denny
8cd515f533
node:zlib: move deflate and gzip into native code ( #11770 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 18:49:19 -07:00
Jarred Sumner
1458fcca4a
Run formatter
2024-09-06 18:13:08 -07:00
Ciro Spaciari
1011b44d78
fix(node:http) implement request.setTimeout and server.setTimeout ( #13772 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 17:52:38 -07:00
Jarred Sumner
69f97cecf0
Ensure shell keeps process alive while running ( #13777 )
2024-09-06 16:28:50 -07:00
Meghan Denny
ed7741a662
node:https: provide proper Agent definition ( #11826 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 16:11:19 -07:00
Jarred Sumner
debaa2cc34
Fix CTRL + C behavior in bun run so it doesn't ^[[A ( #13762 )
2024-09-06 13:54:01 -07:00
Jarred Sumner
ea12db4084
Deflake a test
2024-09-06 13:49:26 -07:00
Meghan Denny
981f1d4a60
fix bad translation in child-process-exec-timeout-kill.test.js ( #13765 )
2024-09-06 13:26:57 -07:00
Ciro Spaciari
d8e2c24d70
fix(fetch) fix lifecycle of SSL Proxy, fix lifecycle of tls_props, fix handling chunked encoded redirects when proxing. ( #13752 )
2024-09-06 01:50:02 -07:00
Ciro Spaciari
36c5f843ec
feat(tls) add duplex upgrade ( #13718 )
2024-09-05 19:37:31 -07:00
Jarred Sumner
d38fc909e3
Support ReadableStream in request.clone & response.clone() ( #13744 )
2024-09-05 17:55:59 -07:00
Jarred Sumner
a9cf463eeb
Introduce fast path for buffered ReadableStream ( #13704 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-04 04:16:47 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Jarred Sumner
5108e3e0d9
Add snapshot tests for dependency/version parsing ( #13658 )
2024-09-02 15:12:00 -07:00
Jarred Sumner
1668fde0a9
Support hot reloading when .css or any other imported file changes ( #13665 )
2024-09-02 15:07:25 -07:00
Jarred Sumner
12174e0577
Call cancel on ReadableStream when Bun.serve() response is aborted ( #13687 )
2024-09-02 09:40:03 -07:00
Jarred Sumner
b64f1e15b5
Fixes #13629 ( #13660 )
2024-09-01 22:40:31 -07:00
Jarred Sumner
5f6015bb79
Fixes #13657 ( #13667 )
2024-09-01 18:21:34 -07:00
Jarred Sumner
03de99afcf
Add tests for static routes + support server.reload for static routes ( #13643 )
2024-08-31 03:32:08 -07:00
Wilmer Paulino
9ba63eb522
Fix AES-GCM encryption of empty messages ( #13646 )
2024-08-31 02:29:16 -07:00
Ciro Spaciari
bac38b8967
fix(tls/fetch) Better SSLWrapper for http proxy and start of Duplex support on tls ( #12750 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 23:22:58 -07:00
Wilmer Paulino
76c4145f0e
Return expected data when using Promises with crypto.generateKeyPair ( #13600 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 20:14:47 -07:00
Ciro Spaciari
adb54f1849
fix(Server) handle requestIP after async call ( #13532 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 19:13:53 -07:00
Jarred Sumner
9076b369f0
Fixes #4432 ( #13597 )
2024-08-30 18:01:32 -07:00
Félix C. Morency
5650ed470c
fix: lcov non-hit executable lines reporting ( #13633 )
2024-08-30 16:08:23 -07:00
Jarred Sumner
4d61637e8a
Deflake bun-build-api test ( #13636 )
2024-08-30 14:59:47 -07:00
Grigory
59eb5515c5
fix(nodevm): align behavior with node ( #13590 )
2024-08-30 01:34:18 -07:00
Ciro Spaciari
bd3c258af4
fix(FormData, Bun.file()) FormData can append file slices, Bun.file(..).slice(..).text() works as expected ( #13580 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 00:53:40 -07:00
Jarred Sumner
bd2eb40a39
Fix oom handling in Bun.file ( #13603 )
2024-08-29 18:54:33 -07:00
Dylan Conway
f3ed9eac4a
fix(outdated): match scoped names with * ( #13610 )
2024-08-29 16:06:41 -07:00
Jarred Sumner
b55670ddb7
Fixes #10084 ( #13601 )
2024-08-29 11:02:34 -07:00
Jarred Sumner
6faf657e32
Implement --max-http-header-size ( #13577 )
2024-08-29 00:38:47 -07:00
Jarred Sumner
e48369ddab
Fixes #4443 ( #13596 )
2024-08-28 21:17:06 -07:00
Jarred Sumner
b4e552dbeb
WebKit upgrade ( #13578 )
2024-08-28 19:06:29 -07:00
Jarred Sumner
952d44b675
Fixes #13581 ( #13583 )
2024-08-28 13:54:57 -07:00
Dylan Conway
ba2ea6fbb2
add --filter and package pattern arguments to bun outdated ( #13557 )
2024-08-27 00:18:27 -07:00
Jarred Sumner
2ffcccc5b4
Fixes #5591 ( #13541 )
2024-08-26 16:09:48 -07:00
Ciro Spaciari
11d7a9d5e9
fix(randomInt) allow negatives and improve args validation ( #13527 )
2024-08-25 23:16:25 -07:00
Jarred Sumner
55cdf69415
Make the error better on Windows when you do Bun.file(path).writer() ( #13536 )
2024-08-25 22:29:52 -07:00
Jarred Sumner
ac8f9052a2
Deflake fs.test.ts ( #13538 )
2024-08-25 21:43:16 -07:00
Jarred Sumner
5a525d3042
Deflake test/js/web/fetch/fetch-tcp-stress.test.ts ( #13537 )
2024-08-25 21:24:36 -07:00