summaryrefslogtreecommitdiff
path: root/c/wasi-http/0.2.0/large-upload (follow)
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: Add some primitive error checkingAndrew Clayton1-0/+33
Check the status of the open(2) call and return an appropriate HTTP response code on error. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-06w-h/0.2.0/large-upload: Update for wasmtime v24.0.0Andrew Clayton3-3/+6
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 Clayton3-0/+119
This makes use of the 'reactor' adaptor for filesystem access via the preopens method. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>