envoyproxy/envoy

wasm: protect against blocking scripts

Open

#14,126 opened on 2020年11月20日

GitHub で見る
 (6 comments) (3 reactions) (0 assignees)C++ (5,373 forks)batch import
area/wasmhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (平均マージ 8d) (30d で 378 merged PRs)

説明

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

コントリビューターガイド