summaryrefslogtreecommitdiff
path: root/src/node_revert.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-08-11 02:22:00 +0200
committerMichaƫl Zasso <targos@protonmail.com>2019-08-15 09:51:53 +0200
commit8a4a1931b8b98242abb590936c31f0c20dd2e08f (patch)
treec8bf3c88ae02fc925d8005559d46a45b1e0e477d /src/node_revert.h
parentba624b6766fffc11fc9a387feee58be2c5e1d8b8 (diff)
downloadandroid-node-v8-8a4a1931b8b98242abb590936c31f0c20dd2e08f.tar.gz
android-node-v8-8a4a1931b8b98242abb590936c31f0c20dd2e08f.tar.bz2
android-node-v8-8a4a1931b8b98242abb590936c31f0c20dd2e08f.zip
http2: pause input processing if sending output
If we are waiting for the ability to send more output, we should not process more input. This commit a) makes us send output earlier, during processing of input, if we accumulate a lot and b) allows interrupting the call into nghttp2 that processes input data and resuming it at a later time, if we do find ourselves in a position where we are waiting to be able to send more output. This is part of mitigating CVE-2019-9511/CVE-2019-9517. PR-URL: https://github.com/nodejs/node/pull/29122 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_revert.h')
0 files changed, 0 insertions, 0 deletions