Uh oh!
There was an error while loading. Please reload this page.
http2: make compat finished match http/1 - #24347
Conversation
e651c5b to
58be934CompareThe interesting part here is that in http1 I think this discrepancy is also missing a test somewhere? @mcollina EDIT: See, fab97ee |
Uh oh!
There was an error while loading. Please reload this page.
ae5a5f0 to
e164f4eCompareUh oh!
There was an error while loading. Please reload this page.
mcollina
commented
Nov 14, 2018
@jasnell can you help here? |
mcollina
commented
Nov 14, 2018
I think this is just a difference that we need to fix. |
ronag
commented
Nov 14, 2018
I'm actually a bit unsure what happens if you call |
7a57643 to
d9312e2Compare
mcollina
left a comment
There was a problem hiding this comment.
Can you please add a unit test that shows what you are trying to achieve?
Uh oh!
There was an error while loading. Please reload this page.
mcollina
commented
Nov 20, 2018
if the stream is finished, nothing happens on multiple Lines 683 to 684 in b32c5f0 If you are still unsure, have you trying preparing an example? |
ronag
commented
Nov 20, 2018
This is if you have called |
mcollina
commented
Nov 20, 2018
Can you create an example to check this? |
jasnell
commented
Nov 21, 2018
Sorry @mcollina, I just spotted the notification on this. I'll queue this one up and take a look hopefully later today. |
apapirovski
left a comment
There was a problem hiding this comment.
I'm sorry, but this is completely incorrect. There's a good reason that this makes a test fail.
ronag
commented
Nov 29, 2018
@apapirovski care to expand on that? The failing test looks wrong for me: constserver=createServer(mustCall((request,response)=>{strictEqual(response.finished,true);response.writeHead(HTTP_STATUS_OK,{foo: 'bar'});response.end('data',mustCall());}));It test that |
a518fe2 to
252a03fCompare8d09864 to
833e567Compareapapirovski
commented
Jan 8, 2020
Yup, it is. We need to trigger those events in the |
ronag
commented
Jan 11, 2020
@Trott: CI |
nodejs-github-bot
commented
Jan 11, 2020
ronag
commented
Jan 11, 2020
Would this be a bug fix or semver-major? |
ronag
commented
Jan 11, 2020
@Trott: CI failed due to merge conflict. Please try again. |
nodejs-github-bot
commented
Jan 24, 2020
nodejs-github-bot
commented
Jan 25, 2020
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
commented
Jan 28, 2020
nodejs-github-bot
commented
Feb 1, 2020
nodejs-github-bot
commented
Feb 5, 2020
nodejs-github-bot
commented
Feb 14, 2020
nodejs-github-bot
commented
Feb 14, 2020
nodejs-github-bot
commented
Feb 14, 2020
nodejs-github-bot
commented
Feb 16, 2020
nodejs-github-bot
commented
Feb 17, 2020
ronag
commented
Feb 17, 2020
@nodejs/build I seem to be having problems with node-test-binary-arm-12+ in multiple PR's. Even those that just touch docs? #31805 |
rvagg
commented
Feb 17, 2020
Thanks @ronag, don't treat this as a blocker for your code, it's a Jenkins problem on our end. @nodejs/build we're having a commit-ref propagation problem, in https://ci.nodejs.org/job/node-test-pull-request/29176/:
anyone got time to look at this one? @joaocgreis I bet you'd have the most insight and could see the problem quickest if you're available. |
ronag
commented
Feb 17, 2020
CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/2272/ (queued) |
joaocgreis
commented
Feb 18, 2020
Please do not use the "Resume build" when the PR changes. The "Resume build" only starts jobs that failed, so jobs that passed before will remain green, even if they would fail with the new changes. The "Resume build" feature is a source of problems, but it's the only way we have to reduce the impact of infra failures. Please use "Rebuild" instead when there are any changes in the PR. Both |
ronag
commented
Feb 18, 2020
Landed in 8ba7a2f |
Looking at the http1 semantic the current http2 compat implementation of
finishedseems rather complicated and fragile? Also it doesn't match the semantics of http1.I have one http2 compat test failing which I don't quite undertand the purpose of. Am I missing something critical here?
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesRefs: #24743
NOTE TO SELF: review cb behaviour when ending and destroyed. Is ´onStreamCloseResponse` required?