You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
consthttp2=require('http2');constserver=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.
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.
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.
Activity
apapirovski commentedon May 20, 2018
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.
apapirovski commentedon May 20, 2018
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
apapirovski commentedon May 21, 2018
Will be fixed by #20772
test: fix flaky http2-session-unref
http2: fix several serious bugs
test: fix flaky http2-session-unref
http2: fix several serious bugs
test: fix flaky http2-session-unref
10 remaining items
http2: fix several serious bugs
test: fix flaky http2-session-unref
http2: fix several serious bugs
test: fix flaky http2-session-unref
http2: fix several serious bugs