node-http2
node-http2 copied to clipboard
An HTTP/2 client and server implementation for node.js
Is it possible to add Typescript declarations ? (node-http2.d.ts)
The good plugin of hapijs uses `getConnections` which isn't implemented afaik. https://nodejs.org/api/net.html#net_server_getconnections_callback ``` /Users/xx/xxx/node_modules/good/lib/network.js:84 connection.listener.getConnections(function (err, count) { ^ TypeError: connection.listener.getConnections is not a function at /Users/xx/xxx/node_modules/good/lib/network.js:84:29 at iterate (/Users/xx/xxx/node_modules/items/lib/index.js:35:13)...
Files pushed are downloaded very slow compared to regularly served files. Can be reproduced using the server example but changing the main file to an html file that request the...
There was an issue in Node.js regarding keepAlive connections when the ECONNRESET occurred. This was fixed (https://github.com/nodejs/node/issues/3595) but it involved adding a new 'error' listener on a free socket. The...
I am running the following function for thousands of times: ``` function request() { var request = process.env.HTTP2_PLAIN ? http2.raw.get(options) : http2.get(options); // Receiving the response request.on('response', function(response) { response.on('data',...
I use req.socket.end() to drop the requests that I won't response anything at all. This performances well with https module,but will crash with http2. here is a crash log I...
`response.end()` seems to cause any unfinished `response.push()` to fail.
In testing some server implementation, I was forcing a connection with a bad security cipher which the server rejects with GOAWAY INADEQUATE SECURITY but I don't see a way to...
With `https`, I can create a tls server without any initial context ``` javascript var server = https.createServer(); ``` And add dynamic SNI contexts later: ``` javascript server.addContext(hostname, { key:...
#149 noted that we don't respect SETTINGS_MAX_CONCURRENT_STREAMS, and furthermore that we don't notify the caller when we receive a RST_STREAM because we failed to respect it! We should emit an...