Closed teammakdi closed 11 months ago
This is reproducible even without http2-wrapper
:
import http2 from 'http2';
const session = http2.connect('https://frasix.it');
const request = session.request({ ':path': '/ads.txt', ':authority': 'frasix.it' });
console.log(request.sentHeaders);
request.pipe(process.stdout);
request.once('response', status => console.log(status));
request.once('close', () => session.unref());
also reproducible with curl
:
$ curl --http2 https://frasix.it/ads.txt
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
I have created https://github.com/nodejs/node/issues/50660 for you
Describe the bug
Actual behavior
Expected behavior
Response with status 200
Code to reproduce
Checklist