diff options
author | Momtchil Momtchev <momtchil@momtchev.com> | 2020-10-16 14:41:09 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2020-10-25 13:29:45 +0300 |
commit | 75202d971d3a18824f357bbb31671291a1dc4e84 (patch) | |
tree | 011cb4585690540a284cd23a9d70686ea512fc3b /src/node_http2.h | |
parent | 629e1ab5aa84b75cd26ee9208c909eff500a3a88 (diff) |
http2: reinject data received before http2 is attached
Reinject the data already received from the TLS
socket when the HTTP2 client is attached with a
delay
Fixes: https://github.com/nodejs/node/issues/35475
PR-URL: https://github.com/nodejs/node/pull/35678
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Alba Mendez <me@alba.sh>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Diffstat (limited to 'src/node_http2.h')
-rw-r--r-- | src/node_http2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_http2.h b/src/node_http2.h index 79cbe7613b5..306f5460691 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -694,6 +694,7 @@ class Http2Session : public AsyncWrap, // The JavaScript API static void New(const v8::FunctionCallbackInfo<v8::Value>& args); static void Consume(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Receive(const v8::FunctionCallbackInfo<v8::Value>& args); static void Destroy(const v8::FunctionCallbackInfo<v8::Value>& args); static void Settings(const v8::FunctionCallbackInfo<v8::Value>& args); static void Request(const v8::FunctionCallbackInfo<v8::Value>& args); |