Skip to content

Commit 47ee340

Browse files
committed
http2: remove duplicate words in comments
PR-URL: #17939 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 93acfe5 commit 47ee340

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
@@ -366,7 +366,7 @@ function onFrameError(id, type, code) {
366366

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

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

0 commit comments

Comments
 (0)