diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-12-01 21:02:48 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-12-01 21:06:47 +0000 |
commit | 838509e0cd56a4ca81746163816c2005b3770b68 (patch) | |
tree | 0b16e3e1f5b709c3f3b00bf14fb2e0190dee2510 /LICENSE | |
parent | 76a6880605195d253dd4837204a252816bd5a396 (diff) | |
download | project_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 '')
0 files changed, 0 insertions, 0 deletions