-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul fetch implementation and host API #52
Commits on May 29, 2024
-
Use SpiderMonkey's encoding_c instead of our own crate
SpiderMonkey uses the `encoding_c` Rust crate and comes bundled with it. This lead to either duplication or linking errors when using our own crate re-exporting `encoding_c`. Instead, with this PR we just bundle a C header file for interacting with the crate's functionality, and rely on SpiderMonkey's version.
Configuration menu - View commit details
-
Copy full SHA for 34cf1ef - Browse repository at this point
Copy the full SHA 34cf1efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d02283 - Browse repository at this point
Copy the full SHA 0d02283View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe3158 - Browse repository at this point
Copy the full SHA bfe3158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86db17e - Browse repository at this point
Copy the full SHA 86db17eView commit details -
Immediately lock reified body stream when the underlying body has alr…
…eady been consumed
Configuration menu - View commit details
-
Copy full SHA for d4e43db - Browse repository at this point
Copy the full SHA d4e43dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dae6953 - Browse repository at this point
Copy the full SHA dae6953View commit details -
Use
string_view
instead ofHostString in core::decode
`HostString` converts to `string_view`, so this makes `decode` easy to use from more places.
Configuration menu - View commit details
-
Copy full SHA for aa5a32c - Browse repository at this point
Copy the full SHA aa5a32cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1984e9 - Browse repository at this point
Copy the full SHA d1984e9View commit details -
And yet more headers rework—along with an overhaul of lots of the hos…
…t API abstraction and various other fixes
Configuration menu - View commit details
-
Copy full SHA for ca335a7 - Browse repository at this point
Copy the full SHA ca335a7View commit details -
Support creating a component without evaluating a top-level script du…
…ring wizening The idea is that with this, builtins handling runtime events can dynamically load and execute a top-level script as needed. This functionality isn't actually used in this commit, but will be in another commit changing how incoming HTTP requests are handled.
Configuration menu - View commit details
-
Copy full SHA for 3bb6b5d - Browse repository at this point
Copy the full SHA 3bb6b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8cf151 - Browse repository at this point
Copy the full SHA c8cf151View commit details -
Substantially more reworking of the fetch related host API surface
Gets back to passing all current tests, and most of the WPT suite that Fastly's JS Compute runtime passes.
Configuration menu - View commit details
-
Copy full SHA for c44b816 - Browse repository at this point
Copy the full SHA c44b816View commit details -
fix: release build on fetch rework (#54)
fix: release build
Configuration menu - View commit details
-
Copy full SHA for 2d68405 - Browse repository at this point
Copy the full SHA 2d68405View commit details
Commits on Jun 1, 2024
-
Use a templated WASIHandle class to represent handles for WASI 0.2.0
This changes the implementation of the handle abstraction to make it more robust, and cleans it up at least somewhat.
Configuration menu - View commit details
-
Copy full SHA for 2bad18a - Browse repository at this point
Copy the full SHA 2bad18aView commit details
Commits on Jun 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec28998 - Browse repository at this point
Copy the full SHA ec28998View commit details -
Configuration menu - View commit details
-
Copy full SHA for 429daec - Browse repository at this point
Copy the full SHA 429daecView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0781f0 - Browse repository at this point
Copy the full SHA a0781f0View commit details -
Lock request/response body when consuming it for
.text()
, `.arrayBu……ffer()`, or `.json()`
Configuration menu - View commit details
-
Copy full SHA for 7f4ba5a - Browse repository at this point
Copy the full SHA 7f4ba5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2f3b37 - Browse repository at this point
Copy the full SHA e2f3b37View commit details
Commits on Jun 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4820fdf - Browse repository at this point
Copy the full SHA 4820fdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f992afe - Browse repository at this point
Copy the full SHA f992afeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f40bafb - Browse repository at this point
Copy the full SHA f40bafbView commit details
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e5a07d - Browse repository at this point
Copy the full SHA 4e5a07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7221924 - Browse repository at this point
Copy the full SHA 7221924View commit details
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5033ce2 - Browse repository at this point
Copy the full SHA 5033ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 259fdb2 - Browse repository at this point
Copy the full SHA 259fdb2View commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 066d573 - Browse repository at this point
Copy the full SHA 066d573View commit details
Commits on Jun 10, 2024
-
Merge branch 'refs/heads/main' into fetch-rework
# Conflicts: # CMakeLists.txt
Configuration menu - View commit details
-
Copy full SHA for 394f03d - Browse repository at this point
Copy the full SHA 394f03dView commit details
Commits on Jun 16, 2024
-
Steal and free buffers when writing chunks from a ReadableStream to a…
…n outgoing WASI stream
Configuration menu - View commit details
-
Copy full SHA for 81391c8 - Browse repository at this point
Copy the full SHA 81391c8View commit details -
Don't special-case TransformStream readables when streaming outgoing …
…bodies This special-casing used to make sense in the JS-Compute runtime, where certain TransformStreams were more optimizable. It doesn't anymore, and in any case would have to come with actually reading from the stream, which the code as written before this patch didn't 🤷
Configuration menu - View commit details
-
Copy full SHA for 16b28ea - Browse repository at this point
Copy the full SHA 16b28eaView commit details
Commits on Jun 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c26f0c6 - Browse repository at this point
Copy the full SHA c26f0c6View commit details