Skip to content

Commit 16a1650

Browse files
pmj642targos
authored andcommitted
http2: fix typos in core.js
PR-URL: #36719 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Yash Ladha <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2896219 commit 16a1650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/http2/core.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ class Http2Session extends EventEmitter {
12491249
}
12501250

12511251
// If ping is called while we are still connecting, or after close() has
1252-
// been called, the ping callback will be invoked immediately will a ping
1252+
// been called, the ping callback will be invoked immediately with a ping
12531253
// cancelled error and a duration of 0.0.
12541254
ping(payload, callback) {
12551255
if (this.destroyed)
@@ -1379,7 +1379,7 @@ class Http2Session extends EventEmitter {
13791379
settingsFn();
13801380
}
13811381

1382-
// Sumits a GOAWAY frame to be sent to the remote peer. Note that this
1382+
// Submits a GOAWAY frame to be sent to the remote peer. Note that this
13831383
// is only a notification, and does not affect the usable state of the
13841384
// session with the notable exception that new incoming streams will
13851385
// be rejected automatically.

0 commit comments

Comments
 (0)