aboutsummaryrefslogtreecommitdiff
path: root/misctools/fetch.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-21upgrade zig to `v0.11.0-dev.3737+9eb008717` (#3374)Gravatar Dylan Conway 1-1/+1
* progress * finish `@memset/@memcpy` update * Update build.zig * change `@enumToInt` to `@intFromEnum` and friends * update zig versions * it was 1 * add link to issue * add `compileError` reminder * fix merge * format * upgrade to llvm 16 * Revert "upgrade to llvm 16" This reverts commit cc930ceb1c5b4db9614a7638596948f704544ab8. --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-10feat(fetch) add redirect: 'error' support (#2845)Gravatar Ciro Spaciari 1-11/+1
* add redirect: 'error' support * fix typo * fix typo * refactor FetchRedirect enum * fix FetchRedirect * updated
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-5/+5
2023-03-01Revert "Update clap (#2238)"Gravatar Jarred Sumner 1-8/+8
This reverts commit 7b9a17f9d7106ffd8e553a5192aba60d14ea5e9c.
2023-02-28Update clap (#2238)Gravatar Justin Whear 1-8/+8
* remove vendored clap * Update to latest zig-clap Major changes: * Instead of vendoring zig-clap and adding changes, this uses Hejsil/zig-clap directly as a submodule * `cli.zig` and related files have been updated to use new API (no more `flag()` or `option()`) * A workaround for the Run and Auto commands has been implemented that allows us to use the official upstream Minor change: * `-i` now has the long option `--install-fallback`; I didn't spend much time thinking about this name, so suggestions weclome. * deinit jsBundleArgs
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 1-2/+2
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-5/+7
2022-09-16Make new HTTP client more stableGravatar Jarred Sumner 1-5/+1
2022-09-11New HTTP client (#1231)Gravatar Jarred Sumner 1-4/+4
* wip * It mostly works! * Support `bun install` * Support `bun create` * Support chunked transfer encoding * Handle Keep Alive when redirecting to a different domain Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-13Improve event loop reliability on LinuxGravatar Jarred SUmner 1-1/+1
2022-07-10Remove unnecessary `Output.flush`s before `Global.exit` and `Global.crash` ↵Gravatar r00ster91 1-5/+0
(#535) * fix: add missing newline * refactor: std.process.exit -> Global.exit * fix: std.os.abort -> Global.exit I'm not sure about this one. Please verify. * cleanup: remove unnecessary `Output.flush`s
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-1/+1
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-12/+12
2022-03-04moreGravatar Jarred Sumner 1-1/+1
2022-02-27WASMGravatar Jarred Sumner 1-2/+2
2022-02-11`std.os.`exit -> `Global.exit` so stderr is always flushedGravatar Jarred Sumner 1-6/+6
2022-02-02[http] Fixes to chunked transfer encoding readerjarred/async_bioGravatar Jarred Sumner 1-5/+10
2021-12-30[internal] Move network_thread into http packageGravatar Jarred Sumner 1-1/+1
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-4/+13
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-17Update the misctools binsGravatar Jarred Sumner 1-4/+6
2021-12-16[npm install] starting to look good!Gravatar Jarred Sumner 1-16/+19
2021-12-16Fix redirectsGravatar Jarred Sumner 1-1/+2
2021-12-16[npm install] Use BoringSSL for https:// requestsGravatar Jarred Sumner 1-17/+54
2021-12-16[bun install] async http request works I think?Gravatar Jarred Sumner 1-1/+1
2021-10-15PolishGravatar Jarred Sumner 1-7/+7
2021-10-13`--turbo` mode for fetch cli, which disables sending TLS shutdownGravatar Jarred Sumner 1-1/+4
2021-10-13[fetch] Support Transfer-Encoding: chunkedGravatar Jarred Sumner 1-2/+5
2021-10-13Add TLS 1.3 support, improve fetch() HTTPS performanceGravatar Jarred Sumner 1-0/+10
2021-10-12Add fetch CLI test appGravatar Jarred Sumner 1-0/+169