Ciro Spaciari
964f2a8941
fix(fetch/s3) Handle backpressure when upload large bodies ( #20481 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
2025-06-27 20:52:46 -07:00
Meghan Denny
139f2b23a2
chore: trim trailing space in uws ( #20388 )
2025-06-15 08:59:12 -07:00
Jarred Sumner
8750f0b884
Add FileRoute for serving files ( #20198 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-06-10 19:41:21 -07:00
Jarred Sumner
c9761d4aa6
Fixes flaky test-http-pipeline-requests-connection-leak.js ( #20248 )
2025-06-07 05:19:11 -07:00
Jarred Sumner
9bee7a64a2
Support method-specific routes for html & static routes ( #19710 )
2025-05-17 00:28:01 -07:00
Ciro Spaciari
0a0205be6e
compat(node:http) more ( #19527 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
Co-authored-by: 190n <ben@bun.sh >
2025-05-10 21:28:31 -07:00
Ciro Spaciari
de487713ed
refactor(HttpParser.h) make it more readable ( #19489 )
2025-05-08 23:52:17 -07:00
pfg
00a3cbd977
more child-process ( #18688 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-05-06 22:12:24 -07:00
Ciro Spaciari
cb6abd2116
fix(node:http) proper send chunked encoding, dont send \r\b twice after headers are flushed ( #19344 )
2025-04-28 16:48:36 -07:00
Ciro Spaciari
59b2a60790
compat(node:http) more passing ( #19236 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: 190n <ben@bun.sh >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-24 19:26:55 -07:00
Ciro Spaciari
218ee99155
compat(node:http) more compatibility improvements ( #19063 )
2025-04-18 19:57:02 -07:00
Ciro Spaciari
a548c2ec54
fix(node:http) properly signal server drain after draining the socket buffer ( #18479 )
2025-03-26 16:41:17 -07:00
Jarred Sumner
57cda4a445
Clean-up after #18485 ( #18489 )
2025-03-26 04:46:35 -07:00
Kai Tamkun
ee8a839500
Fix node:http UAF ( #18485 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-25 23:31:04 -07:00
Meghan Denny
f2c8e63ae1
update to llvm 19 and c++ 23 ( #18317 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-03-20 21:44:19 -07:00
Kai Tamkun
f30ca39242
More node:http compatibility ( #18339 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-03-20 19:16:35 -07:00
Kai Tamkun
4a0e982bb2
node:http improvements ( #17093 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Pham Minh Triet <92496972+Nanome203@users.noreply.github.com >
Co-authored-by: snwy <snwy@snwy.me >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
2025-03-10 20:19:29 -07:00
Kai Tamkun
1803f73b15
Improve uWS route performance ( #17884 )
2025-03-03 18:24:35 -08:00
Jarred Sumner
522f2b91a0
Introduce experimental support for on-demand bundling via HTML imports and Bun.serve() ( #16395 )
2025-01-15 01:00:23 -08:00
Jarred Sumner
cfa4998d24
Pull some upstream changes from uWS ( #16275 )
2025-01-10 03:05:24 -08:00
Jarred Sumner
aada6f930f
Fix heap snapshots memory usage stats. Introduce estimateDirectMemoryUsageOf function in "bun:jsc" ( #15790 )
2024-12-16 20:16:23 -08:00
Ciro Spaciari
1911fa1e75
fix(HttpParser) always check if content length is valid before calling requestHandler ( #15179 )
2024-11-16 19:41:59 -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
b9e5420571
Add https://github.com/uNetworking/uWebSockets/pull/1792 ( #14864 )
2024-10-29 12:56:25 -07:00
Jarred Sumner
f005e8c057
Fix HTTP spec issues by upgrading uWS version ( #14853 )
2024-10-27 12:34:45 -07:00
Jarred Sumner
67b4478137
Fixes #14333 ( #14679 )
2024-10-19 01:14:13 -07:00
Dylan Conway
5fd0a61ae2
CA support for bun install ( #14416 )
2024-10-11 13:16:26 -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
03de99afcf
Add tests for static routes + support server.reload for static routes ( #13643 )
2024-08-31 03:32:08 -07:00
Jarred Sumner
6faf657e32
Implement --max-http-header-size ( #13577 )
2024-08-29 00:38:47 -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
384988f26c
feat(Bun.serve idleTimeout) allow custom timeouts ( #13453 )
2024-08-21 18:13:03 -07:00
Ciro Spaciari
63596c3f8c
fix(sockets) always uncork when closing ( #13358 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-17 02:53:10 -07:00
Jarred Sumner
36fc324523
Fixes #13311 ( #13319 )
2024-08-14 22:46:45 -07:00
Jarred Sumner
2fa60f2d12
Appease clang-tidy ( #13312 )
2024-08-14 19:00:20 -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
24dbef7713
fix(server) fix flushing ( #13207 )
2024-08-09 18:20:04 -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
Jarred Sumner
b5c91a4b7e
Upgrade WebKit ( #12873 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-08-02 04:58:31 -07:00
Jarred Sumner
dbd320ccfa
Remove some dynamic memory allocations in uWebSockets ( #12897 )
2024-07-29 15:10:55 -03:00
Jarred Sumner
57c6a7db35
libdeflate ( #12741 )
2024-07-24 01:30:31 -07:00
Jarred Sumner
bbf2f5d716
Experiment: disable C++ static destructors ( #12652 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-21 21:32:52 -07:00
Ciro Spaciari
11f8d3cb24
fix(server) fix abrupt stop ( #12472 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-07-11 18:22:23 -07:00
Jarred Sumner
76bb5b8619
Set __DARWIN_NON_CANCELABLE ( #12354 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-09 17:48:31 -07:00
Jarred Sumner
c451ef5f31
Avoid passing nullptr to memcpy
2024-06-10 18:04:49 -07:00
Jarred Sumner
902c258c1b
Use simdutf to validate utf8 in websocket server ( #11140 )
2024-05-17 04:03:37 -07:00
Jarred Sumner
735f5d4b62
Setup clang-tidy (C++ linter) ( #7961 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-05-15 20:35:39 -07:00
Dylan Conway
3106b890ac
Skip threadlocal destructors at exit on Windows ( #10723 )
2024-05-01 01:27:12 -07:00
Ciro Spaciari
e0f583df75
feat(SNI) Bun.serve/tls ( #10364 )
...
* add SNI support
* add some Bun.serve tests
* more tests
* wip move addServername to
* move addServerName
* clean
* fix types
* cleanup
* make TS happy
* opsie revert back
* version this
* internals
* opsie
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-19 17:11:05 -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