http2-wrapper
http2-wrapper copied to clipboard
Use HTTP/2 the same way like HTTP/1
These issues need to be looked into before Got switches to HTTP/2 by default: https://github.com/nodejs/node/issues/35209 ### Fixed https://github.com/nodejs/node/issues/32978 https://github.com/nodejs/node/issues/35306 https://github.com/nodejs/node/issues/39400 https://github.com/nodejs/node/issues/39951 https://github.com/nodejs/node/issues/38258 https://github.com/nodejs/node/issues/35133 https://github.com/nodejs/node/issues/34532 https://github.com/nodejs/node/issues/39919 ~https://github.com/nodejs/node/issues/34311~ (https://github.com/nodejs/node/issues/34311#issuecomment-1120901208) ~https://github.com/nodejs/node/issues/29929~ (can't reproduce)...
Hello @szmarczak, First of all. I want to say "THANK YOU" - got helped me A LOT and it is fantastic. I really love it. got has a way better...
Hello, I don't know if it's a bug, but I would like to pass a cipher, the version of the tls protocol,... in the agent but it doesn't work. I...
While running some requests through got using http2-wrapper I stumbled upon the following error when requesting websites that support SSL but do not seem to support HTTP/2. Edit: I believe...
> `http2-wrapper` version I used was `2.2.0`. I created a BFF with `got` which sends requests to a backend server on GCP Cloud Run, and encountered unrecovered repeated `ETIMEOUT` errors....
Currently the `http2-wrapper` agent instantiates a new `ClientHttp2Session` with http2.connect in the [Agent class]( https://github.com/szmarczak/http2-wrapper/blob/master/source/agent.js#L402). After this session is created a listener is attached for the `error` event [here](https://github.com/szmarczak/http2-wrapper/blob/master/source/agent.js#L428) and...
https://github.com/szmarczak/http2-wrapper/actions/runs/3471113396/jobs/5800181395#step:4:275
`ClientRequest` doesn't include the [`addTrailers` method](https://nodejs.org/api/http.html#outgoingmessageaddtrailersheaders) so trailers cannot be added to outgoing requests. This takes a little thought, since the H1 API allows adding trailers at effectively any time...