summaryrefslogtreecommitdiff
path: root/c/wasi-http/0.2.0/echo-request/component.c
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-12-01 21:02:48 +0000
committerAndrew Clayton <a.clayton@nginx.com>2023-12-01 21:06:47 +0000
commit838509e0cd56a4ca81746163816c2005b3770b68 (patch)
tree0b16e3e1f5b709c3f3b00bf14fb2e0190dee2510 /c/wasi-http/0.2.0/echo-request/component.c
parent76a6880605195d253dd4837204a252816bd5a396 (diff)
downloadproject_blackbird-838509e0cd56a4ca81746163816c2005b3770b68.tar.gz
project_blackbird-838509e0cd56a4ca81746163816c2005b3770b68.tar.bz2
wasi-http/echo-request: Simplify a little
Use the 'blocking' versions of the stream read/write functions. Things seemed to work fine previously. However with a version of this that works under the enw Unit wasm module, it didn't and I needed to use the _input_stream_blocking_read() & _output_stream_blocking_write_and_flush() functions. The latter does also allow for a little less code. Let's also use those functions here... Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'c/wasi-http/0.2.0/echo-request/component.c')
0 files changed, 0 insertions, 0 deletions