aboutsummaryrefslogtreecommitdiff
path: root/docs/api/tcp.md (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-07revert fn abortListenerGravatar cirospaciari 1-54/+0
2023-09-07formatGravatar cirospaciari 1-1/+0
2023-09-07metadata can be null and restore fn failGravatar cirospaciari 1-8/+4
2023-09-07only schedule if queue is not emptyGravatar cirospaciari 1-13/+3
2023-09-07resolve promise/stream on abort alwaysGravatar cirospaciari 1-5/+62
2023-09-07fix error when not locked but with readable availableGravatar cirospaciari 1-0/+9
2023-09-07consume multiple, only 1 task per tickGravatar cirospaciari 1-6/+27
2023-09-07fix partial bodyGravatar cirospaciari 1-75/+114
2023-09-07move body_sizeGravatar cirospaciari 1-71/+22
2023-09-07no mutex aproachGravatar cirospaciari 1-123/+152
2023-09-07fix(fetch) closeAndFail instead of close (#4537)Gravatar Ciro Spaciari 3-3/+5
* closeAndFail instead of close * use constant * add some protection * dont deinit --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-09-07revert (#4539)Gravatar dave caruso 17-437/+987
* Revert "remove native events from streams" This reverts commit e063a47a53744a2bf5b1c2dd433698c9e37b75d6. * finish revert * remove accidental submodule * dfghj
2023-09-07Progress for Next.js (#4468)Gravatar dave caruso 73-6878/+7392
* L * ipc * asdfghjkl * dfghjk * it works! * types * patches for next.js * sdfghj * wsdfgn,./ * this * yolo * okay loser * asdfghjk * add some more APIs * MESS * sdfghjkl * remove native events from streams * stuff * remove lazy(primordials) test * debugging * okay * less fake extensions object * fix `Buffer.toString()` args logic * fix deserialize * make tests work * add test for `Buffer.toString` args * Update server.zig * remove test * update test * Update spawn-streaming-stdin.test.ts * fix linux build * Update fs.test.ts * cli message improvements * dfshaj * Fix fs.watch bug maybe? * remove --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2023-09-06feat(fetch) rejectUnauthorized and checkServerIdentity (#4514)Gravatar Ciro Spaciari 18-5088/+5679
* enable root certs on fetch * rebase * fix lookup * some fixes and improvements * fmt * more fixes * more fixes * check detached onHandshake * fix promise case * fix cert non-Native * add fetch tls tests * more one test
2023-09-06Update nodejs compat docs cp/cpSync/watchFile/unwatchFile (#4525)Gravatar Birk Skyum 1-2/+2
2023-09-06Add bun-types to 'bun fmt' scriptGravatar Ashcon Partovi 3-19/+21
2023-09-06Add types for watchFile and unwatchFileGravatar Ashcon Partovi 1-1/+171
2023-09-06Add types for cp and cpSyncGravatar Ashcon Partovi 2-0/+106
2023-09-06Remove issue template for installGravatar Ashcon Partovi 1-35/+0
It's not used, and use the bug issue instead.
2023-09-06fix(runtime): fix `events.once` not working (#4520)Gravatar dave caruso 3-5/+18
2023-09-06allocate task for `ThreadSafeFunction` (#4513)Gravatar Dylan Conway 3-4/+18
* create thread safe function task * Update napi.zig * Update napi.zig
2023-09-05Update development.md (#4480)Gravatar Derrick Farris 1-1/+1
Remove comment about removed `BUN_OVERRIDE_MODULE_PATH` env var
2023-09-05update root certs (#4499)Gravatar Ciro Spaciari 2-912/+1993
2023-09-05fix text decode trim (#4495)Gravatar Dylan Conway 3-5/+143
* remove trim * separate function * a test * trim when `stream` is true --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-09-05Align `process.nextTick` execution order with Node (#4409)Gravatar Jarred Sumner 17-87/+1481
* Align `process.nextTick` execution order with Node * some tests * formatting * fixups * fix the test failures * simplify the logic here * push it up --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: dave caruso <me@paperdave.net>
2023-09-05feat(runtime): Implement `fs.watchFile` (#4467)Gravatar dave caruso 17-12/+1309
* really lame prototype * uses threads but badly * it works i guess * unwatchFile but lame * it works * test * a * aomitcs * fix unwatching race condition * use hasPendingActivity and GC stuff better * test * revert this
2023-09-05fix(node:net): emit close event on connection error (#4336)Gravatar dave caruso 3-11/+24
* emit close event on connection error * re-review * add test
2023-09-05fix(fetch) always use readable stream if it is available (#4503)Gravatar Ciro Spaciari 2-27/+82
* always use readable stream if it is available * use bun sleep * fix tests * rm uws dep
2023-09-05fix SSL proxy tunneling on fetch (#4510)Gravatar Ciro Spaciari 2-17/+76
2023-09-05fix(install): ensure all lockfile structs do not have undefined padding (#4401)Gravatar dave caruso 5-2/+113
* padding sucks * this assertion is already done elsewhere * remove test. will be covered alex's pr i believe? * fix webkit submodule * fix uws submodule
2023-09-05fix checkout/build failure due to `src/deps/uws` (#4505)Gravatar Alex Lam S.L 5-15/+10
2023-09-05fix ipv6 localhost fetch (#4498)Gravatar Dylan Conway 2-2/+31
* `node` null for localhost getaddrinfo * more test
2023-09-05minor rebuild diffs (#4486)Gravatar Alex Lam S.L 4-4999/+4999
2023-09-05fix dup syscall on Windows (#4496)Gravatar Jason 2-3/+3
2023-09-04no need to chmod (#4490)Gravatar Dylan Conway 1-2/+0
2023-09-04fix zlib deflate on fetch (#4483)Gravatar Ciro Spaciari 3-8/+47
* fix zlib deflate on fetch * mention issue on test * more tests * oops
2023-09-04chore: fix typo (#4476)Gravatar Ai Hoshino 1-1/+1
Close: #4377
2023-09-04fix(HTMLRewriter) buffer response before transform (#4418)Gravatar Ciro Spaciari 18-5941/+6655
* html rewriter response buffering * pipe the data when marked as used * fix empty response * add some fetch tests * deinit parent stream * fix decompression * keep byte_reader alive * update builds * remove nonsense * was not nonsense after all * protect tmp ret value from GC, fix readable strong ref deinit/init * fmt * if we detach the stream we cannot update the fetch stream * detach checking source * more tests, progress with javascript and Direct sink * drop support for pure readable stream for now * more fixes --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-09-03initialize JSC for macros from cliGravatar Dylan Conway 1-0/+4
2023-09-03fix(syscall): fix handling syscall errno (#4461)Gravatar Ai Hoshino 2-1/+22
* fix(syscall): fix handling syscall errno Close: #4198 * remove unused code * add more tests * remove unused code
2023-09-02workaround a zig bug (#4440)Gravatar dave caruso 1-3/+4
2023-09-01docs: fix http simple example log statement (#4320)Gravatar Karl Böhlmark 1-1/+1
Co-authored-by: Karl Böhlmark <karl.bohlmark@netinsight.net>
2023-09-01Fix typo (#4445)Gravatar Jorge Jiménez 1-1/+1
Replace `key: [Bun.file('./key1.pem'), Bun.file('./key2.pem']` with `key: [Bun.file('./key1.pem'), Bun.file('./key2.pem')]`
2023-09-01keep export star as (#4451)Gravatar Dylan Conway 1-14/+0
2023-09-01bun-vscode 0.0.8Gravatar Colin McDonnell 3-41/+39
2023-09-01Update commandsGravatar Colin McDonnell 3-4/+6
2023-09-01fix `Bun.serve` with tls and `Bun.file` (#4450)Gravatar Dylan Conway 3-14/+40
* check sendfile ctx * add test * undo blob check * undo undo and add assert
2023-09-01exclusive maxGravatar Dylan Conway 1-1/+1
2023-09-01Fix debug console from appears on startGravatar Ashcon Partovi 2-2/+5
2023-09-01Add configuration options to extensionGravatar Ashcon Partovi 5-5/+137