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 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
Original file line number Diff line number Diff line change
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.