Skip to content

Commit e85fbb7

Browse files
pmj642danielleadams
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 9f7fbcc commit e85fbb7

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
@@ -1291,7 +1291,7 @@ class Http2Session extends EventEmitter {
12911291
}
12921292

12931293
// If ping is called while we are still connecting, or after close() has
1294-
// been called, the ping callback will be invoked immediately will a ping
1294+
// been called, the ping callback will be invoked immediately with a ping
12951295
// cancelled error and a duration of 0.0.
12961296
ping(payload, callback) {
12971297
if (this.destroyed)
@@ -1422,7 +1422,7 @@ class Http2Session extends EventEmitter {
14221422
settingsFn();
14231423
}
14241424

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

0 commit comments

Comments
 (0)