GeezerVison is showing github.com — http2: fix typos in core.js · nodejs/node@e85fbb7
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: lib/internal/http2/core.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1291,7 +1291,7 @@ class Http2Session extends EventEmitter { |
1291 | 1291 | } |
1292 | 1292 |
|
1293 | 1293 | // If ping is called while we are still connecting, or after close() has |
1294 | | - // been called, the ping callback will be invoked immediately will a ping |
| 1294 | + // been called, the ping callback will be invoked immediately with a ping |
1295 | 1295 | // cancelled error and a duration of 0.0. |
1296 | 1296 | ping(payload, callback) { |
1297 | 1297 | if (this.destroyed) |
@@ -1422,7 +1422,7 @@ class Http2Session extends EventEmitter { |
1422 | 1422 | settingsFn(); |
1423 | 1423 | } |
1424 | 1424 |
|
1425 | | - // Sumits a GOAWAY frame to be sent to the remote peer. Note that this |
| 1425 | + // Submits a GOAWAY frame to be sent to the remote peer. Note that this |
1426 | 1426 | // is only a notification, and does not affect the usable state of the |
1427 | 1427 | // session with the notable exception that new incoming streams will |
1428 | 1428 | // be rejected automatically. |
|