envoyproxy/envoy

wasm: protect against blocking scripts

Open

#14.126 geöffnet am 20. Nov. 2020

Auf GitHub ansehen
 (6 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/wasmhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

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