- Version: v14.13.1
- Platform: Linux
- Subsystem: http2
What steps will reproduce the bug?
(example from #35475)
NODE_DEBUG_NATIVE=HTTP2SESSION node
consthttp2=require('http2');consttls=require('tls');conststream=require('stream');constoptions={ALPNProtocols: ['h2'],host: 'nghttp2.org',servername: 'nghttp2.org',port: 443};constsocket=tls.connect(options,async()=>{console.log('TLS Connected!');constproxy=newstream.Duplex({read(...args){constx=socket.read();console.log('read',JSON.stringify(x));if(x!==null)this.push(x);},final(...args){socket.end(...args);},write(...args){socket.write(...args);},destroy(...args){socket.destroy(...args);}});awaitnewPromise(resolve=>setTimeout(resolve,2000));constsession=http2.connect('https://nghttp2.org',{createConnection: ()=>socket});session.once('remoteSettings',()=>{console.log('HTTP2 Received remote settings!');});session.once('connect',()=>{console.log('HTTP2 Connected!');});});Additional information
master is not affected
What steps will reproduce the bug?
(example from #35475)
NODE_DEBUG_NATIVE=HTTP2SESSION node
Additional information
master is not affected