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

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