Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http2,src: remove duplicate words in comments #17939

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
http2: remove duplicate words in comments
  • Loading branch information
tniessen committed Jan 1, 2018
commit e617fa6d8342e530761194d2019ec731476804b4
4 changes: 2 additions & 2 deletions lib/internal/http2/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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');
Expand Down