summaryrefslogtreecommitdiff
path: root/c/wasi-http/0.2.0/large-upload/Makefile (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-09-06w-h/0.2.0: Use a shared MakefileAndrew Clayton1-29/+1
All the examples under c/wasi-http/0.2.0/ use the *same* Makefile. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-06w-h/0.2.0: Update examples to use included WIT filesAndrew Clayton1-2/+2
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-06w-h/0.2.0/large-upload: Update for wasmtime v24.0.0Andrew Clayton1-1/+1
Same issue as commit 92ffa9a ("w-h/0.2.0/echo-request: Update for wasmtime v24.0.0") Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-02-13Add a wasi-http 0.2.0 large-upload component in CAndrew Clayton1-4/+2
This makes use of the 'reactor' adaptor for filesystem access via the preopens method. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-02-06Add a wasi-http 0.2.0 echo-request component in CAndrew Clayton1-4/+4
This adds a WASI 0.2.0 version of c/wasi-http/echo-request, although there is no change in component.c, you do now need to link against the 'proxy' adaptor (which is included). This is for running under wasmtime 17. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-11-28Add a wasi-http echo-request component in CAndrew Clayton1-0/+31
This adds a wasi-http version of luw-echo-request.c[0] This works under the wasmtime v15 CLI serve command. e.g $ ~/src/c/wasm/wasmtime-v15.0.0-x86_64-linux/wasmtime serve c/wasi-http/echo-request/component.wasm Serving HTTP on http://0.0.0.0:8080/ $ curl localhost:8080/hello *** Welcome to WebAssembly with wasi-http / C *** [Request Info] REQUEST_PATH = /hello METHOD = GET QUERY = [Request Headers] host = localhost:8080 user-agent = curl/8.2.1 accept = */* [0]: <https://github.com/nginx/unit-wasm/blob/main/examples/c/luw-echo-request.c> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>