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

fix: update ls spec to match implementation(s) #19

Merged
merged 2 commits into from
Sep 4, 2019

Conversation

alanshaw
Copy link
Member

@alanshaw alanshaw commented Sep 4, 2019

In response to multiformats/go-multistream#41 and documenting the change to fix it here multiformats/go-multistream#43.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

Thanks!

< <varint-length><protocol><newline>
# ...
< <varint-length><protocol><newline>
> <varint-ls-length>ls\n
Copy link
Member

Choose a reason for hiding this comment

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

Note: ls isn't a proper protocol and probably shouldn't be listed.

Copy link
Member Author

Choose a reason for hiding this comment

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

In the response? Yeah that makes sense. Shall I add that note?

Copy link
Member

Choose a reason for hiding this comment

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

I'd just remove it. We shouldn't list it as a protocol.

Copy link
Member Author

Choose a reason for hiding this comment

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

...but this is the example where the local node sends ls and the remote then responds.

Copy link
Member

Choose a reason for hiding this comment

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

Someday I'll learn how to read.

@Stebalien Stebalien merged commit cf5469b into master Sep 4, 2019
@Stebalien Stebalien deleted the fix/ls-specification branch September 4, 2019 16:25
jacobheun added a commit to jacobheun/it-multistream-select that referenced this pull request Sep 9, 2019
alanshaw pushed a commit to alanshaw/it-multistream-select that referenced this pull request Sep 10, 2019
jacobheun added a commit to multiformats/js-multistream-select that referenced this pull request Sep 20, 2019
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