What steps will reproduce the bug?
consthttp2=require('http2');consttls=require('tls');constoptions={ALPNProtocols: ['h2'],host: 'nghttp2.org',servername: 'nghttp2.org',port: 443,settings: {}};tls._connect=tls.connect;/*tls.connect = (...args) => { console.log(...args, args[1].toString()); return tls._connect(...args);};*/constsocket=tls._connect(options,()=>{console.log('Connected!');constsession=http2.connect('https://nghttp2.org',{createConnection: ()=>socket});session.once('remoteSettings',()=>{console.log('Received remote settings!');});});How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
Connected!
Received remote settings!
What do you see instead?
Additional information
Reference: #16256
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
What do you see instead?
Additional information
Reference: #16256