Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPranshu Jethmalani <pmj642@gmail.com>2021-01-01 15:53:41 +0300
committerMichaƫl Zasso <targos@protonmail.com>2021-05-01 10:44:52 +0300
commit16a16508c44a2efcb0c96936162f5a78249410cc (patch)
tree53fe07472ea46c186bafc9e8cf8e0d034b711a4d /lib
parent289621961380848c7c12453c507cbef81811b0ca (diff)
http2: fix typos in core.js
PR-URL: https://github.com/nodejs/node/pull/36719 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Yash Ladha <yash@yashladha.in> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/http2/core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js
index c74220ffdaf..65a19199e03 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.