Skip to content

Commit 0ac3437

Browse files
committed
http2: fix DEP0194 message
1 parent 5f7dbf4 commit 0ac3437

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

lib/internal/http2/core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ function onGoawayData(code, lastStreamID, buf) {
752752

753753
// TODO(aduh95): remove this in future semver-major
754754
const deprecateWeight = deprecateProperty('weight',
755-
'Priority signaling has been deprecated as of RFC 1993.',
755+
'Priority signaling has been deprecated as of RFC 9113.',
756756
'DEP0194');
757757

758758
// When a ClientHttp2Session is first created, the socket may not yet be
@@ -2476,7 +2476,7 @@ class Http2Stream extends Duplex {
24762476
Http2Stream.prototype.priority = deprecate(function priority(options) {
24772477
if (this.destroyed)
24782478
throw new ERR_HTTP2_INVALID_STREAM();
2479-
}, 'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 1993', 'DEP0194');
2479+
}, 'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 9113', 'DEP0194');
24802480

24812481
function callTimeout(self, session) {
24822482
// If the session is destroyed, this should never actually be invoked,

test/parallel/test-http2-client-priority-before-connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const h2 = require('http2');
77

88
common.expectWarning(
99
'DeprecationWarning',
10-
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 1993',
10+
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 9113',
1111
'DEP0194');
1212

1313
const server = h2.createServer();

test/parallel/test-http2-client-set-priority.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const http2 = require('http2');
88

99
common.expectWarning(
1010
'DeprecationWarning',
11-
'Priority signaling has been deprecated as of RFC 1993.',
11+
'Priority signaling has been deprecated as of RFC 9113.',
1212
'DEP0194');
1313

1414
const checkWeight = (actual, expect) => {

test/parallel/test-http2-priority-cycle-.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Countdown = require('../common/countdown');
99

1010
common.expectWarning(
1111
'DeprecationWarning',
12-
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 1993',
12+
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 9113',
1313
'DEP0194');
1414

1515
const server = http2.createServer();

test/parallel/test-http2-priority-event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const h2 = require('http2');
77

88
common.expectWarning(
99
'DeprecationWarning',
10-
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 1993',
10+
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 9113',
1111
'DEP0194');
1212

1313
const server = h2.createServer();

test/parallel/test-http2-server-stream-session-destroy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const h2 = require('http2');
88

99
common.expectWarning(
1010
'DeprecationWarning',
11-
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 1993',
11+
'http2Stream.priority is longer supported after priority signalling was deprecated in RFC 9113',
1212
'DEP0194');
1313

1414
const server = h2.createServer();

0 commit comments

Comments
 (0)