0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

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 2018-01-01 23:57:53 +01:00
parent 93acfe55db
commit 47ee340a9e
No known key found for this signature in database
GPG Key ID: 718207F8FD156B70

View File

@ -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');