Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: dropped packed #55

Merged
merged 1 commit into from
Jan 24, 2017
Merged

fix: dropped packed #55

merged 1 commit into from
Jan 24, 2017

Conversation

daviddias
Copy link
Member

@victorbjelkholm after some long hours of debugging, we managed to find the issue.

multiplex from the listener side was opening the streams before the dialer had the time to mount the muxer and so, when it got to mount the muxer, some data events were already emitted because of the resume call.

This was super tough one to fix! Big thanks for @pgte for pairing with me debugging it.

//cc @dignifiedquire you will find this hilarious
//cc @haadcode @RichardLitt stream muxer is under way!

@daviddias
Copy link
Member Author

@dignifiedquire
Copy link
Member

I don't even.... tableflip

@victorb
Copy link
Member

victorb commented Jan 24, 2017

... but yay! Supposedly it's working! That's great news and thanks a lot for digging into it, I'm happy you found a solution. On the other side, none of the CI services are green in this PR ;)

@daviddias
Copy link
Member Author

@victorbjelkholm there was a test in interface-stream-muxer that was incorrect. fixed now. CI will be all green in a sec. Can I get a PR approval ?

@@ -11,7 +11,6 @@ const pump = require('pump')
function create (rawConn, isListener) {
const stream = toStream(rawConn)
// Let it flow, let it flooow
Copy link
Member

Choose a reason for hiding this comment

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

Should remove this comment as well

@daviddias daviddias force-pushed the fix/dropped-packets branch from 5677306 to a7cfb8b Compare January 24, 2017 09:49
@daviddias daviddias merged commit 7123dc8 into master Jan 24, 2017
@daviddias daviddias deleted the fix/dropped-packets branch January 24, 2017 09:55
@daviddias daviddias removed the status/in-progress In progress label Jan 24, 2017
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.

3 participants