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>
This commit is contained in:
Tobias Nießen authored and Rod Vagg committed 2018-08-16 11:38:48 +10:00
1 parent 2c6f482ba2
commit 06329a8eaf
1 file changed
+2 -2
+2 -2
View File
@@ -409,7 +409,7 @@ function onAltSvc(stream, origin, alt) {
// 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.
@@ -464,7 +464,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');