|
Revision tags: dev, v36.0.9, v44.0.1, v43.0.2, v36.0.8, v24.0.8, v44.0.0, v43.0.1, v42.0.2, v36.0.7, v24.0.7, v43.0.0, v42.0.1, v41.0.4, v42.0.0, v40.0.4, v36.0.6, v24.0.6, v41.0.3, v41.0.2, v41.0.1, v36.0.5, v40.0.3, v41.0.0, v36.0.4, v39.0.2, v40.0.2 |
|
| #
1cc0bcff |
| 13-Jan-2026 |
Bailey Hayes <[email protected]> |
feat(p3)!: vendor 0.3.0-rc-2026-01-06 (#12250)
* feat(p3)!: vendor 0.3.0-rc-2026-01-06
Update wasmtime's WASI implementation from version 0.3.0-rc-2025-09-16 to 0.3.0-rc-2026-01-06, using wkg for W
feat(p3)!: vendor 0.3.0-rc-2026-01-06 (#12250)
* feat(p3)!: vendor 0.3.0-rc-2026-01-06
Update wasmtime's WASI implementation from version 0.3.0-rc-2025-09-16 to 0.3.0-rc-2026-01-06, using wkg for WIT vendoring.
This involves API changes in clocks and HTTP.
* Handle some review comments
* Update WASI implementations to avoid `as`
This can have a loss in precision so this shuffles around some types to ensure that `try_into` and friends are always used instead of `as`. This changes the source-of-truth for timestamps to be `i64` seconds so WASIp2 is the odd-one-out that can't represent negative timestamps.
* Flag expected WASI failures
* Get wasi:http tests working again
* Rename `proxy` module to `service` to reflect the WIT world. * Adjust the middleware test to using the `middleware` world.
---------
Co-authored-by: Alex Crichton <[email protected]>
show more ...
|
|
Revision tags: v40.0.1, v40.0.0, v39.0.1, v39.0.0, v38.0.4, v37.0.3, v36.0.3, v24.0.5, v38.0.3, v38.0.2, v38.0.1, v37.0.2 |
|
| #
da633618 |
| 30-Sep-2025 |
Joel Dice <[email protected]> |
support continuing host-to-host streams after store is dropped (#11763)
* add `StreamReader::try_into` and use it in `Response::into_http_with_getter`
This allows the embedder to consume a host-cre
support continuing host-to-host streams after store is dropped (#11763)
* add `StreamReader::try_into` and use it in `Response::into_http_with_getter`
This allows the embedder to consume a host-created `StreamReader` and extract the `StreamProducer` (or an `Unpin` subset of it) used to create it. This enables "short-circuiting" host-to-host streams, bypassing the guest entirely.
Concretely, it is now possible to dispose of a `wasi:http/[email protected]` guest and its store before the request and/or response bodies have finished streaming in the case where both the read and write ends of the body stream are owned by the host. In this case, the inbound body is reused as the outbound body with no additional processing or memory overhead.
Signed-off-by: Joel Dice <[email protected]>
* spawn tokio task instead of store task for outbound requests
Previously, `wasmtime-wasi-http`'s outbound request handler used `Accessor::spawn` to spawn the connection future for a given outbound request, but that meant the request stopped making progress when the store was dropped. That's a problem for a proxy scenario where the guest task just wants to make an outgoing request and return the response (or at least the body of that response) and then exit. At that point, we should be able to drop the instance and its store and expect the body stream will continue to flow. Using `tokio::task::spawn` ensures that will happen.
Fixes #11703
Signed-off-by: Joel Dice <[email protected]>
* test host-to-host streaming in wasi-http p3 tests
In the process of adding these tests, I found that we were leaking subtasks which had exited but not been dropped by their supertask by the time that supertask was dropped, so I've fixed that.
Signed-off-by: Joel Dice <[email protected]>
* address review feedback
Signed-off-by: Joel Dice <[email protected]>
---------
Signed-off-by: Joel Dice <[email protected]>
show more ...
|
|
Revision tags: v37.0.1, v37.0.0 |
|
| #
53059995 |
| 17-Sep-2025 |
Roman Volosatovs <[email protected]> |
feat(p3-http): implement `consume-body` changes (#11653)
* feat(p3-http): implement `consume-body` changes
Signed-off-by: Roman Volosatovs <[email protected]>
* Update WITs to the latest snap
feat(p3-http): implement `consume-body` changes (#11653)
* feat(p3-http): implement `consume-body` changes
Signed-off-by: Roman Volosatovs <[email protected]>
* Update WITs to the latest snapshot
* Use the 2025-09-16 tag instead of 2025-08-15. * Pulls in `wasi:http` updates "officially". * Pulls in minor `wasi:cli` updates, and that's implemented here as well.
---------
Signed-off-by: Roman Volosatovs <[email protected]> Co-authored-by: Alex Crichton <[email protected]>
show more ...
|
| #
1047b511 |
| 04-Sep-2025 |
Alex Crichton <[email protected]> |
Update wit-bindgen to 0.45.0 (#11609)
* Update wit-bindgen to 0.45.0
Pulling in recent changes
* Add vets
* Remove dead imports
|
|
Revision tags: v36.0.2, v36.0.1, v36.0.0 |
|
| #
6f6a514b |
| 15-Aug-2025 |
Roman Volosatovs <[email protected]> |
feat(p3): begin `wasi:http` implementation (#11439)
* doc: fix typo in p3 filesystem ref
Signed-off-by: Roman Volosatovs <[email protected]>
* build: vendor `wasi:[email protected]` WIT
Signed-off-
feat(p3): begin `wasi:http` implementation (#11439)
* doc: fix typo in p3 filesystem ref
Signed-off-by: Roman Volosatovs <[email protected]>
* build: vendor `wasi:[email protected]` WIT
Signed-off-by: Roman Volosatovs <[email protected]>
* feat(p3-http): scaffold p3 implementation
Signed-off-by: Roman Volosatovs <[email protected]>
* test(p3-http): add tests
Signed-off-by: Roman Volosatovs <[email protected]>
* chore(p3-http): add utils used by p3 tests
Signed-off-by: Roman Volosatovs <[email protected]>
* chore: add `expect` reasons
Signed-off-by: Roman Volosatovs <[email protected]>
* address review comments
Signed-off-by: Roman Volosatovs <[email protected]>
* establish `conn` connections on drop
Signed-off-by: Roman Volosatovs <[email protected]>
---------
Signed-off-by: Roman Volosatovs <[email protected]>
show more ...
|