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

貢獻者指南