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 <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Yash Ladha <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
pmj642 authored and danielleadams committed Jan 12, 2021
1 parent 9f7fbcc commit e85fbb7
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 e85fbb7

Please sign in to comment.