wasm: protect against blocking scripts
Open
area/wasm
help wanted
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
An infinite loop in a Wasm script causes envoy worker to spin and block. Envoy does not respond to ^C.
A well-meaning module might have long loops that are potentially taking too much of work. Ideally, the module should be able to `yield` back strategically and let Envoy handle book keeping business (e.g. potentially stopping the script if the request is interrupted).
Contributor guide
Assessment
This issue has not been assessed yet.