envoyproxy/envoy

wasm: protect against blocking scripts

Open

#14,126 创建于 2020年11月20日

在 GitHub 查看
 (6 评论) (3 反应) (0 负责人)C++ (5,373 fork)batch import
area/wasmhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

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

贡献者指南