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

Fixes #546 #551

Merged
merged 14 commits into from
Oct 23, 2019
Merged

Fixes #546 #551

merged 14 commits into from
Oct 23, 2019

Conversation

sappenin
Copy link
Contributor

@sappenin sappenin commented Oct 8, 2019

Fixes #546 by clarifying the STREAM RFC.

  • Clarify that ConnectionAssetDetails MUST not change during the lifetime of a Connection.

Signed-off-by: sappenin sappenin@gmail.com

* Update STREAM RFC to clarify how `ConnectionAssetDetails` are communicated for a given STREAM Connection.
* Clarify the relationship between `ConnectionAssetDetails` and `ConnectionNewAddress `.

Signed-off-by: sappenin <sappenin@gmail.com>
0029-stream/0029-stream.md Outdated Show resolved Hide resolved
0029-stream/0029-stream.md Outdated Show resolved Hide resolved
sappenin and others added 2 commits October 8, 2019 17:04
Co-Authored-By: Kincaid O'Neil <kincaidoneil@users.noreply.github.com>
Signed-off-by: sappenin <sappenin@gmail.com>
0029-stream/0029-stream.md Outdated Show resolved Hide resolved
Signed-off-by: sappenin <sappenin@gmail.com>
Signed-off-by: sappenin <sappenin@gmail.com>
Signed-off-by: sappenin <sappenin@gmail.com>
Copy link
Member

@emschwartz emschwartz left a comment

Choose a reason for hiding this comment

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

I don't think we should make any changes to the spec until we've implemented said changes and have some use case that requires this to be done the same way in all implementations. This frame is already part of the protocol so we can use it for now. In the future we may choose to deprecate it or make it mandatory but I don't think we have enough information to make that determination now.

Signed-off-by: sappenin <sappenin@gmail.com>
@sappenin
Copy link
Contributor Author

sappenin commented Oct 9, 2019

I don't think we should make any changes to the spec until we've implemented said changes and have some use case that requires this to be done the same way in all implementations.

Sounds fine to me. I have removed any breaking changes from this PR - the only thing left is non-breaking clarifications to the spec.

In the Java STREAM implementation, we're going to support what JS is doing (and apparently what Rust is going to do). We might experiment with what was proposed earlier in this PR (i.e., respond to a ConnectionAssetDetails frame with a corresponding ConnectionNewAddress frame) and see if it adds any value.

As a community, we can revisit the desired behavior here sometime in the future if we ever decide this is worth changing (see #554, which is just a tracking issue, if you're interested).

Signed-off-by: sappenin <sappenin@gmail.com>
Copy link

@sharafian sharafian left a comment

Choose a reason for hiding this comment

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

One comment which is unrelated to this change but could be added in as another quick fix

0029-stream/0029-stream.md Outdated Show resolved Hide resolved
Signed-off-by: sappenin <sappenin@gmail.com>
@sappenin sappenin added this to the Protocol Specs milestone Oct 16, 2019
@sappenin
Copy link
Contributor Author

@adrianhopebailie The build doesn't seem to be working for whatever reason. Once you determine what the problem is, let me know and I can push another change.

@adrianhopebailie
Copy link
Collaborator

@mDuo13 @ryangyoung any idea what could be happening here. Could this be related to the change of template?

Signed-off-by: sappenin <sappenin@gmail.com>
Signed-off-by: sappenin <sappenin@gmail.com>
Signed-off-by: sappenin <sappenin@gmail.com>
Skip Version Check

Signed-off-by: sappenin <sappenin@gmail.com>
@adrianhopebailie adrianhopebailie merged commit 734c2f0 into master Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STREAM RFC: codify the conditions for a ConnectionAssetDetails frame being returned from a receiver.
8 participants