summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-01-26 22:45:58 +0800
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-01-29 07:21:05 +0100
commitd4d76b6be07841e4416fc5ab1445b73638fcea6a (patch)
treedd8a78a9a1175b407f76502f0a23b38cfd52db67 /src/node_http2.h
parentaa8fcee7cec04f034d5d85134d88abcc6555c3ba (diff)
downloadandroid-node-v8-d4d76b6be07841e4416fc5ab1445b73638fcea6a.tar.gz
android-node-v8-d4d76b6be07841e4416fc5ab1445b73638fcea6a.tar.bz2
android-node-v8-d4d76b6be07841e4416fc5ab1445b73638fcea6a.zip
src: remove unused field in node_http2.h
Signed-off-by: gengjiawen <technicalcute@gmail.com> PR-URL: https://github.com/nodejs/node/pull/25727 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index 8347510c9d..4446bf4078 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -343,9 +343,6 @@ enum session_state_flags {
SESSION_STATE_SENDING = 0x10,
};
-// This allows for 4 default-sized frames with their frame headers
-static const size_t kAllocBufferSize = 4 * (16384 + 9);
-
typedef uint32_t(*get_setting)(nghttp2_session* session,
nghttp2_settings_id id);