Skip to content
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

Begin implementation of wasi-http #5929

Merged
merged 53 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1e7c789
Integrate experimental HTTP into wasmtime.
brendandburns Dec 27, 2022
63887e0
Reset Cargo.lock
brendandburns Mar 18, 2023
8ecc77e
Switch to bail!, plumb options partially.
brendandburns Mar 18, 2023
8657c7c
Implement timeouts.
brendandburns Mar 21, 2023
c983d73
Remove generated files & wasm, add Makefile
brendandburns Mar 21, 2023
febe6bd
Remove generated code textfile
brendandburns Mar 21, 2023
320d620
Update crates/wasi-http/Cargo.toml
brendandburns Mar 23, 2023
356ffa6
Update crates/wasi-http/Cargo.toml
brendandburns Mar 23, 2023
7ed508c
Extract streams from request/response.
brendandburns Mar 21, 2023
4bfde02
Fix read for len < buffer length.
brendandburns Mar 24, 2023
dff5986
Formatting.
brendandburns Mar 24, 2023
aee848b
types impl: swap todos for traps
Mar 24, 2023
41a922f
streams_impl: idioms, and swap todos for traps
Mar 24, 2023
4dbade6
component impl: idioms, swap all unwraps for traps, swap all todos fo…
Mar 24, 2023
8e1b481
http impl: idiom
Mar 24, 2023
76eb40e
Merge pull request #1 from pchickey/pch/wasi_http
brendandburns Mar 24, 2023
08dd153
Merge branch 'bytecodealliance:main' into wasi_http
brendandburns Mar 27, 2023
2a815e0
Remove an unnecessary mut.
brendandburns Mar 28, 2023
9913785
Remove an unsupported function.
brendandburns Mar 28, 2023
96279bf
Switch to the tokio runtime for the HTTP request.
brendandburns Mar 28, 2023
1e23a06
Add a rust example.
brendandburns Mar 28, 2023
57a86aa
Update to latest wit definition
brendandburns Mar 30, 2023
3372ab0
Remove example code.
brendandburns Mar 30, 2023
27f2134
wip: start writing a http test...
Mar 27, 2023
6b7d84d
finish writing the outbound request example
Mar 27, 2023
54dbf97
better debug output
Mar 27, 2023
eb619bd
wasi-http: some stubs required for rust rewrite of the example
Mar 27, 2023
86a0c5d
add wasi_http tests to test-programs
Mar 28, 2023
64d6979
CI: run the http tests
Mar 28, 2023
7c9cfd2
Fix some warnings.
brendandburns Mar 30, 2023
3df74cf
bump new deps to latest releases (#3)
pchickey Mar 30, 2023
8b1a8a3
Merge branch 'bytecodealliance:main' into wasi_http
brendandburns Mar 30, 2023
b73fad8
Update crates/test-programs/tests/http_tests/runtime/wasi_http_tests.rs
pchickey Mar 30, 2023
ff6bf4a
Update crates/test-programs/tests/http_tests/runtime/wasi_http_tests.rs
pchickey Mar 30, 2023
daf5cc6
Update crates/test-programs/tests/http_tests/runtime/wasi_http_tests.rs
pchickey Mar 30, 2023
362696a
wasi-http: fix cargo.toml file and publish script to work together (#4)
pchickey Mar 31, 2023
f9fe6d4
Update crates/test-programs/build.rs
pchickey Mar 31, 2023
cd7bb1f
Switch to rustls
brendandburns Mar 31, 2023
039bc9e
Cleanups.
brendandburns Mar 31, 2023
0150963
Merge switch to rustls.
brendandburns Mar 31, 2023
28ebfe2
Formatting
brendandburns Mar 31, 2023
04f3e13
Remove libssl install
brendandburns Mar 31, 2023
f02db0f
Fix tests.
brendandburns Mar 31, 2023
1e3a651
Merge branch 'bytecodealliance:main' into wasi_http
brendandburns Apr 4, 2023
0c704c7
Rename wasi-http -> wasmtime-wasi-http
brendandburns Apr 4, 2023
390499b
Merge branch 'wasi_http' of https://github.com/brendandburns/wasmtime…
brendandburns Apr 4, 2023
8caa666
prtest:full
brendandburns Apr 5, 2023
b6b70f5
prtest:full
brendandburns Apr 5, 2023
c16aa23
prtest:full
brendandburns Apr 5, 2023
35e6a59
prtest:full
brendandburns Apr 5, 2023
9b2312b
Merge branch 'main' into wasi_http
brendandburns Apr 5, 2023
e536195
Merge branch 'main' into wasi_http
brendandburns Apr 5, 2023
224ba1c
Update crates/wasi-http/Cargo.toml
pchickey Apr 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ jobs:
run: |
set -ex
sudo apt-get update
sudo apt-get install -y ${{ matrix.gcc_package }} ninja-build
sudo apt-get install -y ${{ matrix.gcc_package }} ninja-build libssl-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't need SSL anymore, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.


# Configure Cargo for cross compilation and tell it how it can run
# cross executables
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "tests/wasi_testsuite/wasi-threads"]
path = tests/wasi_testsuite/wasi-threads
url = https://github.com/WebAssembly/wasi-threads
[submodule "crates/wasi-http/wasi-http"]
path = crates/wasi-http/wasi-http
url = https://github.com/WebAssembly/wasi-http
Loading