Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocol fixes #1380

Closed
wants to merge 4 commits into from
Closed

protocol fixes #1380

wants to merge 4 commits into from

Conversation

whyrusleeping
Copy link
Member

This switches the default stream muxer over to spdystream, as well as fixing a few other protocol bugs.

jbenet and others added 3 commits June 15, 2015 15:50
There was doublewrapping with an unneeded msgio. given that we
use a stream muxer now, msgio is only needed by secureConn -- to
signal the boundaries of an encrypted / mac-ed ciphertext.

Side note: i think including the varint length in the clear is
actually a bad idea that can be exploited by an attacker. it should
be encrypted, too. (TODO)

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@whyrusleeping whyrusleeping added the status/in-progress In progress label Jun 16, 2015
@whyrusleeping whyrusleeping changed the title Feat/spdystream protocol fixes Jun 16, 2015
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@jbenet
Copy link
Member

jbenet commented Jun 16, 2015

@whyrusleeping we should probably have both yamux (for go-ipfs to go-ipfs) and spdystream (to node-ipfs), because i'm not 100% sure spdystream doesn't deadlock. with mss this isn't a big issue.

@whyrusleeping
Copy link
Member Author

@jbenet we wont be able to 'select' a muxer until we get multistream select stuff merged in. I agree we should keep yamux.

@whyrusleeping whyrusleeping added this to the IPFS 0.4.0 milestone Jun 17, 2015
@jbenet jbenet self-assigned this Jun 30, 2015
@whyrusleeping whyrusleeping mentioned this pull request Jul 1, 2015
@whyrusleeping
Copy link
Member Author

closing in favor of #1438 and #1439

@whyrusleeping whyrusleeping removed the status/in-progress In progress label Jul 1, 2015
@Kubuxu Kubuxu deleted the feat/spdystream branch February 27, 2017 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants