From 16a16508c44a2efcb0c96936162f5a78249410cc Mon Sep 17 00:00:00 2001 From: Pranshu Jethmalani Date: Fri, 1 Jan 2021 18:23:41 +0530 Subject: [PATCH] http2: fix typos in core.js PR-URL: https://github.com/nodejs/node/pull/36719 Reviewed-By: Rich Trott Reviewed-By: Daijiro Wachi Reviewed-By: Yash Ladha Reviewed-By: James M Snell --- lib/internal/http2/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index c74220ffdafc4e..65a19199e03596 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1249,7 +1249,7 @@ class Http2Session extends EventEmitter { } // If ping is called while we are still connecting, or after close() has - // been called, the ping callback will be invoked immediately will a ping + // been called, the ping callback will be invoked immediately with a ping // cancelled error and a duration of 0.0. ping(payload, callback) { if (this.destroyed) @@ -1379,7 +1379,7 @@ class Http2Session extends EventEmitter { settingsFn(); } - // Sumits a GOAWAY frame to be sent to the remote peer. Note that this + // Submits a GOAWAY frame to be sent to the remote peer. Note that this // is only a notification, and does not affect the usable state of the // session with the notable exception that new incoming streams will // be rejected automatically.