Skip to content

Commit

Permalink
http2: remove duplicate words in comments
Browse files Browse the repository at this point in the history
Backport-PR-URL: #18050
PR-URL: #17939
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
tniessen authored and MylesBorins committed Jan 10, 2018
1 parent 1b7ce1e commit a003ded
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 @@ -364,7 +364,7 @@ function onFrameError(id, type, code) {

// Receiving a GOAWAY frame from the connected peer is a signal that no
// new streams should be created. If the code === NGHTTP2_NO_ERROR, we
// are going to send our our close, but allow existing frames to close
// are going to send our close, but allow existing frames to close
// normally. If code !== NGHTTP2_NO_ERROR, we are going to send our own
// close using the same code then destroy the session with an error.
// The goaway event will be emitted on next tick.
Expand Down Expand Up @@ -419,7 +419,7 @@ function requestOnConnect(headers, options) {
if (session.destroyed)
return;

// If the session was closed while waiting for for the connect, destroy
// If the session was closed while waiting for the connect, destroy
// the stream and do not continue with the request.
if (session.closed) {
const err = new errors.Error('ERR_HTTP2_GOAWAY_SESSION');
Expand Down

0 comments on commit a003ded

Please sign in to comment.