envoyproxy/envoy

wasm: protect against blocking scripts

オープン

#14,126 opened on 2020/11/20

 (6 件のコメント) (3 件のリアクション) (0 人の担当者)C++ (5,373 件のフォーク)batch import
area/wasmhelp wanted

Repository metrics

Stars
 (27,997 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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