envoyproxy/envoy

wasm: protect against blocking scripts

Open

#14.126 aberto em 20 de nov. de 2020

Ver no GitHub
 (6 comments) (3 reactions) (0 assignees)C++ (5.373 forks)batch import
area/wasmhelp wanted

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

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

Guia do colaborador