envoyproxy/envoy

wasm: protect against blocking scripts

Open

#14.126 aperta il 20 nov 2020

Vedi su GitHub
 (6 commenti) (3 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/wasmhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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).

Guida contributor