diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-03-05 04:16:06 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-04-06 03:06:37 +0300 |
commit | f54b5b2fe4731ca491f9a7284cf2c8042966ac22 (patch) | |
tree | 835e5d67bb16826b193a466792d7c1bf584905b6 /src/node_http_common-inl.h | |
parent | 6576b9b9d0f3de931e5e867a7b4b43319b187955 (diff) |
src: move HTTP/2 state out of Environment
Moves state that is specific to HTTP/2 into the HTTP/2 implementation
as a cleanup.
PR-URL: https://github.com/nodejs/node/pull/32538
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_http_common-inl.h')
-rw-r--r-- | src/node_http_common-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http_common-inl.h b/src/node_http_common-inl.h index d63cdf79a4b..2c76dc3a1fd 100644 --- a/src/node_http_common-inl.h +++ b/src/node_http_common-inl.h @@ -143,7 +143,7 @@ v8::MaybeLocal<v8::String> NgHeader<T>::GetName( // If header_name is not nullptr, then it is a known header with // a statically defined name. We can safely internalize it here. if (header_name != nullptr) { - auto& static_str_map = env_->isolate_data()->http_static_strs; + auto& static_str_map = env_->isolate_data()->static_str_map; v8::Eternal<v8::String> eternal = static_str_map[header_name]; if (eternal.IsEmpty()) { v8::Local<v8::String> str = OneByteString(env_->isolate(), header_name); |