envoyproxy/envoy

wasm: protect against blocking scripts

Open

#14 126 ouverte le 20 nov. 2020

Voir sur GitHub
 (6 commentaires) (3 réactions) (0 assignés)C++ (5 373 forks)batch import
area/wasmhelp wanted

Métriques du dépôt

Stars
 (27 997 stars)
Métriques de merge PR
 (Merge moyen 8j) (378 PRs mergées en 30 j)

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

Guide contributeur