Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

[WIP] quic: fixup up client-connect-multiple-sequential #321

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Feb 4, 2020

@addaleax or @danbev ... I can't remember exactly who added this test but it needed a bit of a fixup in order to successfully run but it's not clear if the fixup is testing the right thing or if there's another bug in here. Well, actually, I definitely think there's another bug in here :-) ... so definitely needs a lookover

req.close();
}));
}));
reqs.push(once(req, 'close'));
Copy link
Member Author

@jasnell jasnell Feb 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we change this line to await once(req, 'close'); the test will hang. (and remove the await Promise.all(reqs); line below

@addaleax
Copy link
Member

addaleax commented Feb 4, 2020

The test was added by me in #176 … I intentionally provided it in two separate variants, one in which the requests are started in parallel and one where they are started sequentially.

This PR here would essentially un-do the point of having the sequential variant, so yes, this seems like it would hide a bug to me.

@jasnell
Copy link
Member Author

jasnell commented Feb 4, 2020

Yep, that's pretty much what I figured. There's something in the shutdown flow that's broken. I think it's also the source of the segfaults I've been seeing in various other tests. Will be chasing that down :-)

@jasnell jasnell changed the title quic: fixup up client-connect-multiple-sequential [WIP] quic: fixup up client-connect-multiple-sequential Feb 4, 2020
@jasnell
Copy link
Member Author

jasnell commented Feb 11, 2020

Closed in favor of #339

@jasnell jasnell closed this Feb 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants