Meghan Denny
26d3688e53
zig: update to 0.14.0-dev ( #16862 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-02-01 01:11:02 -08:00
Jarred Sumner
138cf7e067
Make fetch() faster at uploading files over http:// ( #16303 )
2025-01-10 01:19:36 -08:00
Jarred Sumner
2465ccae53
Re-sync our Mutex implementation with zig stdlib ( #16271 )
2025-01-08 21:09:27 -08:00
Don Isaac
a733421261
refactor: consolidate allocators ( #16061 )
...
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2025-01-08 22:39:13 +00:00
Ciro Spaciari
fe4176e403
feat(s3) s3 client ( #15740 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-12-28 17:46:22 -08:00
dave caruso
8a4852b8b0
fix: pass homedir test ( #15811 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-12-20 00:36:59 -08:00
Ciro Spaciari
fcca2cc398
fix(fetch) fix redirect + Connection: close ( #15623 )
2024-12-06 15:06:11 -08:00
Ciro Spaciari
dd5c40dab7
fix(node:http) fix node:http chunked encoding on server and add chunked encoding support on the client ( #15579 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-04 17:58:21 -08:00
Meghan Denny
ba767aa5ba
Revert "fix(tls) fix type matching" ( #15243 )
2024-11-19 00:08:25 -08:00
Ciro Spaciari
d19c18580b
fix(tls) fix type matching ( #15224 )
2024-11-18 19:23:27 -08:00
Ciro Spaciari
183c661c40
net compatibility improvements ( #14933 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-07 22:03:53 -08:00
Jarred Sumner
5fc53353fb
Allow disabling keep-alive ( #14569 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-10-14 16:58:42 -07:00
Dylan Conway
5fd0a61ae2
CA support for bun install ( #14416 )
2024-10-11 13:16:26 -07:00
Dylan Conway
39b1c0111e
add docs for bun publish ( #14327 )
2024-10-03 03:41:11 -07:00
dave caruso
dd6554294e
bake: release to canary only ( #14258 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-10-03 00:52:14 -07:00
Dylan Conway
f374ae6db1
add bun publish ( #14215 )
2024-10-02 20:47:22 -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
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
Jarred Sumner
6faf657e32
Implement --max-http-header-size ( #13577 )
2024-08-29 00:38:47 -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
Ciro Spaciari
b9ead441c1
fix(sockets) add socket wrapper and refactor context ownership handling in socket.zig ( #13176 )
2024-08-09 18:34:17 -07:00
Ciro Spaciari
3efd445084
refactor(fetch) make handshake less confuse ( #13145 )
2024-08-07 13:20:05 -07:00
dave caruso
2680deb5d3
feat: bun build --compile --sourcemap ( #13047 )
2024-08-06 13:51:11 -07:00
Jarred Sumner
7a6efad44e
Skip creating JSValue for abort when it's not necessary in more cases ( #13117 )
2024-08-06 00:37:03 -07:00
Ciro Spaciari
c552cb40d1
fix(server/tls/streams) fix onReadFile, streams, avoid shutdown on fatal errors, ensure ssl loop data and server ref count refactor ( #12979 )
2024-08-03 01:41:18 -07:00
Ciro Spaciari
b2a4df68c3
fix(server) fix extra data sent in HTTP after sendfile + Date headers ( #12978 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-31 20:22:52 -07:00
Ciro Spaciari
1c648063fa
fix(tls/socket/fetch) shutdown fix + ref counted context ( #12925 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-30 22:41:54 -07:00
Jarred Sumner
dd8b0a5889
Clean up socket_async_http_abort_tracker after a lot of requests ( #12816 )
2024-07-25 15:34:48 -07:00
Jarred Sumner
57c6a7db35
libdeflate ( #12741 )
2024-07-24 01:30:31 -07:00
Ciro Spaciari
5a5f3d6b30
fix(http) timeout ( #12728 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-23 01:13:43 -07:00
Jarred Sumner
1a6ead667b
Introduce bun --fetch-preconnect <url> ./my-script.ts ( #12698 )
2024-07-22 03:41:59 -07:00
Ciro Spaciari
af6035ce36
fix(server) wait for readFile on abort/process exit cases ( #12441 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-09 22:38:32 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
Jarred Sumner
22be784714
Print like curl ( #11865 )
2024-06-14 01:57:20 -07:00
Jarred Sumner
c44d489ed0
Support NODE_TLS_REJECT_UNAUTHORIZED=0 at runtime and implement BUN_CONFIG_VERBOSE_FETCH ( #11833 )
2024-06-13 04:30:15 -07:00
Ludvig Hozman
ee30e8660c
feat(https/fetch): Support custom ca/cert/key in fetch ( #11322 )
...
Co-authored-by: Liz3 (Yann HN) <accs@liz3.net >
2024-06-11 10:36:32 -03:00
Jarred Sumner
16d08564e1
Fix speculative race in fetch ( #11579 )
2024-06-03 19:15:31 -07:00
Jarred Sumner
656ad7c7ae
Fix port exhaustion issue ( #11512 )
2024-06-03 02:16:58 -07:00
Ciro Spaciari
1d89c5988e
refactor OOM errors ( #11540 )
2024-06-02 22:56:26 -07:00
Jarred Sumner
6ca5896e86
Revert "feat: 🎨 Show better bun upgrade progress" ( #11515 )
2024-06-01 02:34:12 -07:00
Toby Cm
8de0ec598b
feat: Show better bun upgrade progress ( #11402 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-05-30 17:47:48 -07:00
Ciro Spaciari
096cfeebc0
fix(fetch) allow Response to be GC'd before all the request body is received ( #10933 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-05-22 15:42:30 -07:00
Jarred Sumner
b15d47dfe8
Introduce bun.dns.prefetch API ( #11176 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Eric L. Goldstein <3359116+mangs@users.noreply.github.com >
2024-05-19 18:08:16 -07:00
Georgijs
814440b1c0
Asynchronous DNS for sockets ( #11097 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-05-18 05:11:21 -07:00
Meghan Denny
1da810adc1
node:zlib: Brotli ( #10722 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-06 22:00:04 -07:00
dave caruso
c99d7ed331
feat: overhaul the crash handler ( #10203 )
...
* some work
* linux things
* linux things
* feat: tracestrings on Windows
* bwaa
* more work on the crash handler
* okay
* adgadsgbcxcv
* ya
* dsafds
* a
* wuh
* a
* bru h
* ok
* yay
* window
* alright
* oops
* yeah
* a
* a
* OOM handling
* fix on window
2024-04-17 15:32:25 -07:00
Ciro Spaciari
74d91f6b51
feat(SSL_renegociate) ( #10256 )
...
* allow client renegotiation and allow server renegotiation with limits matching nodejs behavior
* wip before the refactoring and context separation
* investigate if BoringSSL can send a SSL_renegotiate request or only accept
* format-off
* option to disable server renegotiation
* allow tls options on https
* dead_socket when connectError
* propagate cert error
* test
* move the logic to the right place
* cleanup
* Update test/js/node/tls/renegotiation.test.ts
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-04-15 05:00:41 -07:00
Jarred Sumner
688844b472
refactor: ban std.debug.assert ( #10168 )
...
* Ban `std.debug.assert`
* Create .clangd
* Update lint.yml
* Update linter.ts
* update
* lint
* Update linter.ts
* Update linter.ts
* update
* Update linter.ts
* update
* Update linter.ts
* more
* Update install.zig
* words
* Remove UB
2024-04-11 17:52:29 -07:00
Ciro Spaciari
83863c27b4
fix(windows) fix some test failures ( #9417 )
...
* fix ReadFile and fix isEligible for sendfile on windows
* give it a little more time
* actually test tls property
* Update src/bun.js/webcore/blob/ReadFile.zig
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
* getServers test on windows
* retry
* check comptime first on isEligible
* wip body-stream
* oopsie
* opsie 2
* revert this
* test
---------
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-16 05:47:33 -07:00