envoyproxy / envoyproxy/envoy

wasm: protect against blocking scripts

Open
#14,126 6 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.