summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2018-01-01 23:57:53 +0100
committerTobias Nießen <tniessen@tnie.de>2018-01-02 00:32:58 +0100
commit47ee340a9eb0cd7c73e9f2db8896440881d9caf1 (patch)
treea7ee80d7322c7dd64b02bb7485cddd6ddc84dc87 /lib
parent93acfe55dbf0447e9a780b2adc8373833d8884f6 (diff)
downloadandroid-node-v8-47ee340a9eb0cd7c73e9f2db8896440881d9caf1.tar.gz
android-node-v8-47ee340a9eb0cd7c73e9f2db8896440881d9caf1.tar.bz2
android-node-v8-47ee340a9eb0cd7c73e9f2db8896440881d9caf1.zip
http2: remove duplicate words in comments
PR-URL: https://github.com/nodejs/node/pull/17939 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/http2/core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js
index f0c5529a9a..56b772742b 100644
--- a/lib/internal/http2/core.js
+++ b/lib/internal/http2/core.js
@@ -366,7 +366,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.
@@ -421,7 +421,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');