- Version: latest
master - Platform: Linux 4.4.0-142-generic 168-Ubuntu SMP Wed Jan 16 2019 x86_64 GNU/Linux
- Subsystem: http2
constserver=http2.createServer();server.on('stream',(stream)=>{stream.respond();stream.write('test');// Wait for DATA to be sent, then send RST_STREAMsetTimeout(()=>stream.close(),200);});server.listen(()=>{constclient=http2.connect({protocol: 'http:', ...server.address()});constreq=client.request({':path': '/'});req.end();req.on('close',()=>{// Never called});});I can verify that RST_STREAM is sent to the client, but close is never emitted. Is this expected?
If the write is removed, close is emitted.
masterI can verify that
RST_STREAMis sent to the client, butcloseis never emitted. Is this expected?If the
writeis removed,closeis emitted.