mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
http2: fix typos in core.js
PR-URL: https://github.com/nodejs/node/pull/36719 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Yash Ladha <yash@yashladha.in> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
9f7fbcc64d
commit
e85fbb778d
1 file changed
+2
-2
@@ -1291,7 +1291,7 @@ class Http2Session extends EventEmitter {
|
||||
}
|
||||
|
||||
// If ping is called while we are still connecting, or after close() has
|
||||
// been called, the ping callback will be invoked immediately will a ping
|
||||
// been called, the ping callback will be invoked immediately with a ping
|
||||
// cancelled error and a duration of 0.0.
|
||||
ping(payload, callback) {
|
||||
if (this.destroyed)
|
||||
@@ -1422,7 +1422,7 @@ class Http2Session extends EventEmitter {
|
||||
settingsFn();
|
||||
}
|
||||
|
||||
// Sumits a GOAWAY frame to be sent to the remote peer. Note that this
|
||||
// Submits a GOAWAY frame to be sent to the remote peer. Note that this
|
||||
// is only a notification, and does not affect the usable state of the
|
||||
// session with the notable exception that new incoming streams will
|
||||
// be rejected automatically.
|
||||
|
||||
Reference in new issue
Block a user