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
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
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
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
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
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
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
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
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
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
Ciro Spaciari
6fd06dd023
fix(Bun.serve) ensure timeout reset when we write data ( #13525 )
2024-08-25 20:27:49 -07:00
Ciro Spaciari
df9d18659c
revert d8ac4c59ff
2024-08-25 19:43:24 -07:00
Ciro Spaciari
d8ac4c59ff
deflaky
2024-08-25 19:35:35 -07:00
Jarred Sumner
0a37423baf
Expose subscriberCount in WebSocket server ( #13498 )
2024-08-23 23:12:01 -07:00
Jarred Sumner
b005ef43d4
Deflake fs.test.ts
2024-08-23 22:55:30 -07:00
Jarred Sumner
e97c65fd1e
Add 59 more node tests + copy node test fixtures ( #13495 )
2024-08-23 19:06:35 -07:00
Ciro Spaciari
5a108c5027
fix(fetch) always make sure that abort tracker is cleaned, revise ref count ( #13459 )
2024-08-23 17:08:57 -07:00
Jarred Sumner
0f1d5d5dab
Align getMockName and mockName behavior with jest ( #13494 )
2024-08-23 15:46:04 -07:00
Jarred Sumner
781998cf00
You shouldn't need --only to only run test.only tests ( #13465 )
2024-08-23 00:06:57 -07:00
Jarred Sumner
94ee538dc6
About 13% of node's test suite ( #13468 )
2024-08-22 18:00:25 -07:00
Dylan Conway
9cdda49485
fix(node:util): use Object.setPrototypeOf in inherits ( #13480 )
2024-08-22 17:58:00 -07:00
Jarred Sumner
2c84840222
Fix crash in buffer found in node tests ( #13460 )
2024-08-22 16:16:25 -07:00
Ciro Spaciari
74d5b93ffc
fix(dns.resolveSrv) ( #13478 )
2024-08-22 15:36:22 -07:00
Jarred Sumner
886c31f0c5
Fix expect.assertions() and done callback ( #13463 )
2024-08-22 15:26:58 -07:00