We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i try to make more than 1 request - only one gets an ok status, and the others return an error without any detail.
code:
const { get } = require("http2-client"); for (let index = 0; index < 2; index++) { const req2 = get("https://nghttp2.org/httpbin/get", (e) => console.log("OK", e.statusCode, e.httpVersion) ); req2.on("error", (z) => console.error("ERROR", z)); }
output:
ERROR { createConnection: [Function: createConnection], protocol: 'https:', hostname: 'nghttp2.org', hash: '', search: '', pathname: '/httpbin/get', path: '/httpbin/get', href: 'https://nghttp2.org/httpbin/get', port: 443, method: 'GET', headers: { ':method': 'GET', ':path': '/httpbin/get' } } OK 200 2.0
node version: 18
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when i try to make more than 1 request - only one gets an ok status, and the others return an error without any detail.
code:
output:
node version: 18
The text was updated successfully, but these errors were encountered: