diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-06-10 15:02:06 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-17 15:29:19 -0700 |
commit | 2a9f1ad4b0c725e0362d33e265dc22271c3466e7 (patch) | |
tree | ac6545d9b194ba783c444c35617c7af40473f5af /deps/openssl/openssl_asm.gypi | |
parent | 14be3aa6e6149122b07f7b8513de290eea0aa2ec (diff) | |
download | android-node-v8-2a9f1ad4b0c725e0362d33e265dc22271c3466e7.tar.gz android-node-v8-2a9f1ad4b0c725e0362d33e265dc22271c3466e7.tar.bz2 android-node-v8-2a9f1ad4b0c725e0362d33e265dc22271c3466e7.zip |
http2: refactor ping + settings object lifetime management
Have clearer ownership relations between the `Http2Ping`,
`Http2Settings` and `Http2Session` objects.
Ping and Settings objects are now owned by the `Http2Session`
instance, and deleted along with it, so neither type of object
refers to the session after it is gone.
In the case of `Http2Ping`s, that deletion is slightly delayed,
so we explicitly reset its `session_` property.
Fixes: https://github.com/nodejs/node/issues/28088
PR-URL: https://github.com/nodejs/node/pull/28150
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps/openssl/openssl_asm.gypi')
0 files changed, 0 insertions, 0 deletions