Skip to content

Commit a003ded

Browse files
tniessenMylesBorins
authored andcommitted
http2: remove duplicate words in comments
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]>
1 parent 1b7ce1e commit a003ded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/http2/core.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ function onFrameError(id, type, code) {
364364

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

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

0 commit comments

Comments
 (0)