Skip to content

Commit

Permalink
http2: fix typos in core.js
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
pmj642 authored and targos committed May 1, 2021
1 parent 2896219 commit 16a1650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/http2/core.js
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 16a1650

Please sign in to comment.