From d6e531ee366a8b5d29af2dff24ae84c74250f898 Mon Sep 17 00:00:00 2001 From: Anatoli Papirovski Date: Wed, 6 Jun 2018 09:12:39 -0400 Subject: [PATCH] src: fix http2 typos PR-URL: https://github.com/nodejs/node/pull/21194 Reviewed-By: Anna Henningsen Reviewed-By: Ujjwal Sharma --- src/node_http2.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node_http2.cc b/src/node_http2.cc index c07937eb5357e2..67306e1f4db3e3 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -1362,7 +1362,7 @@ void Http2Session::OnStreamAfterWriteImpl(WriteWrap* w, int status, void* ctx) { } // If the underlying nghttp2_session struct has data pending in its outbound -// queue, MaybeScheduleWrite will schedule a SendPendingData() call to occcur +// queue, MaybeScheduleWrite will schedule a SendPendingData() call to occur // on the next iteration of the Node.js event loop (using the SetImmediate // queue), but only if a write has not already been scheduled. void Http2Session::MaybeScheduleWrite() { @@ -2354,7 +2354,7 @@ void Http2Session::RefreshSettings(const FunctionCallbackInfo& args) { // A TypedArray instance is shared between C++ and JS land to contain state // information of the current Http2Session. This updates the values in the -// TypedRray so those can be read in JS land. +// TypedArray so those can be read in JS land. void Http2Session::RefreshState(const FunctionCallbackInfo& args) { Environment* env = Environment::GetCurrent(args); Http2Session* session; @@ -2712,7 +2712,7 @@ void Http2Session::AltSvc(int32_t id, origin, origin_len, value, value_len), 0); } -// Submits an AltSvc frame to the sent to the connected peer. +// Submits an AltSvc frame to be sent to the connected peer. void Http2Session::AltSvc(const FunctionCallbackInfo& args) { Environment* env = Environment::GetCurrent(args); Http2Session* session;