Skip to content

http2: Edge and IE broken response #20850

Description

@webcarrot

After upgrade nodejs from v9.11.1 to v10.1.0 Edge and IE not handle properly response from server or response is somehow broken.

Simple server:

const http2 = require('http2');

const server = http2.createSecureServer({
        allowHTTP1: true,
        cert: "some cert",
        key: "some key"
}, (req, res) => {
   console.log("message");
   res.writeHead(200);
   res.end("ok");
   // or "hack" setTimeout(()=>res.end("ok"), 100); // to make Edge get valid response more offen
}).listen(443);

server.on("session", () => {
  console.log("session");
})
  • session is created
  • request come
  • browser not handle response

Edge sometimes display response, IE never.
On Edge bigger responses are truncated randomly.
I see same behavior in plain mode - via haproxy.

IE and Edge version:
sample

Activity

  1. apapirovski commented on May 20, 2018

    @apapirovski
    Contributor

    Hi @webcarrot. Thanks for reporting this. I wonder if #20772 might fix this issue. There are some issues currently around closing streams and sessions properly.

  2. added
    http2Issues and PRs related to the http2 subsystem.
    confirmed-bugIssues and PRs for confirmed bugs.
    on May 20, 2018
  3. apapirovski commented on May 20, 2018

    @apapirovski
    Contributor

    Looks like this is broken due to the new trailers implementation. I'm working on a fix and will include it in the PR mentioned above. Don't think we'll be able to add a test for this one though.

    /cc @nodejs/http2

  4. apapirovski commented on May 21, 2018

    @apapirovski
    Contributor

    Will be fixed by #20772

  5. 10 remaining items

  6. added a commit that references this issue on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues and PRs for confirmed bugs.http2Issues and PRs related to the http2 subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions