Skip to content

Commit

Permalink
http2: fix typos in core.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pmj642 committed Jan 1, 2021
1 parent 51b4367 commit fc68b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/http2/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,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 @@ -1422,7 +1422,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 fc68b93

Please sign in to comment.