http2: fix memory leak caused by premature listener removing #58427
Annotations
2 errors and 1 notice
Test:
test/parallel/test-h2leak-destroy-session-on-socket-ended.js#L25
--- stderr ---
node:internal/assert/utils:281
throw err;
^
AssertionError [ERR_ASSERTION]: h2 session leaked, rss:1130397696
at Timeout.check [as _onTimeout] (/Users/runner/work/node/node/test/parallel/test-h2leak-destroy-session-on-socket-ended.js:25:3)
at listOnTimeout (node:internal/timers:614:17)
at process.processTimers (node:internal/timers:549:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v24.0.0-pre
--- stdout ---
secureConnection
stream...
false
Draining setImmediate after writing
Command: out/Release/node --expose-gc --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-h2leak-destroy-session-on-socket-ended.js
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading