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

http2: near full http1 compatibility, add tests #15702

Closed

Commits on Oct 3, 2017

  1. http2: near full http1 compatibility, add tests

    Extensive re-work of http1 compatibility layer based on tests in
    express, on-finished and finalhandler. Fix handling of HEAD
    method to match http1. Adjust write, end, etc. to call writeHead
    as in http1 and as expected by user-land modules. Add socket
    proxy that instead uses the Http2Stream for the vast majority of
    socket interactions. Add and change tests to closer represent
    http1 behaviour.
    
    Refs: nodejs#15633
    Refs: https://github.com/expressjs/express/tree/master/test
    Refs: https://github.com/jshttp/on-finished/blob/master/test/test.js
    Refs: https://github.com/pillarjs/finalhandler/blob/master/test/test.js
    apapirovski committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9ac7ac9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9eff92c View commit details
    Browse the repository at this point in the history