Skip to content
New issue

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

node-http2 v4 via fork ? #250

Open
hthetiot opened this issue Aug 23, 2017 · 4 comments
Open

node-http2 v4 via fork ? #250

hthetiot opened this issue Aug 23, 2017 · 4 comments

Comments

@hthetiot
Copy link

hthetiot commented Aug 23, 2017

Hello,

We started a fork that include cumulative fixes:

See dedicated issue here: kaazing/http2.js#1

Original Source and Fork intent

This NodeJS http2.js module version is a fork of node-http2 hosted on Github originally made by Gábor Molnár and available here: https://github.com/molnarg/node-http2

This fork of node-http2 module named http2.js starts at version 4.0.0 in case previous the repository decides to pick up work again on version 3.x.x.

We are aware that node 8.4.0 now has experimental http2 support via --expose-http2, and we will continue to support the full JavaScript implementation of http2.js at our discretion until HTTP/2 is more fully supported in a broad range of client platforms.

Changes

4.0.1 (2017-10-01)

  • Bugfixes from pull requests
    • Fails to load in IE11 due to timers.setImmediate call
    • Fix Node 5+ support HTTP upgrade mechanism #4 bug
    • update object-keys module for Object.keys shim

4.0.0 (2017-08-23)

@akc42
Copy link
Contributor

akc42 commented Aug 24, 2017

are you aware that node 8.4.0 now has experimental http2 support behind a --expose-http2 flag. It is much faster as it relies on nghttp2 under the hood which is native c (or c++?) code. I used to use this (molnarg/node-http2} module, but have now switched over to the one in core node.

There is a core layer that gives access to the underlying duplex streams and a compat layer that makes it as close to using http1 as possible.

Because it is behind an experimental flag the api is still changing, but it would be good for as many people as possible to use it and comment on whether the api works.

@dpwspoon
Copy link

Yes, we are aware. We use this library in production in environments where this support is not yet available AND on client platforms that ARE NOT node based.

As such, we will continue to support node-http2 for some time until many various client platforms offer full http2 support.

@hthetiot
Copy link
Author

hthetiot commented Oct 10, 2017

@hthetiot
Copy link
Author

hthetiot commented Jul 23, 2018

4.0.3 (2018-07-18)

  • Update http.js to add support on request for retry-after header on 503|429|302 status code.

    [About 503]
    The server returns an HTTP error 503 when more users than are allowed by the server's request queue limit have sent requests to a single server or when the actions of the client have triggered throttling.

    Retry-After
    If a Retry-After header ([RFC2616]) is present in the response, the client SHOULD<6> retry the request after waiting the number of seconds indicated by the Retry-After header. Any such value represents an estimate of when the server is expected to be able to process the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants