-
Notifications
You must be signed in to change notification settings - Fork 353
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
updates username length to align with the spec (uint8 vs uint16) #938
Conversation
1a1e41e
to
cb79bf6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@freelancer1845 can you please make sure that you modify only the username length related things and do not touch the rest of the things. It simplifies porting that commit to master then (since in master we have already done the migration from the deprecated classes and removed them completely)
rsocket-core/src/main/java/io/rsocket/metadata/AuthMetadataCodec.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
rsocket-core/src/test/java/io/rsocket/metadata/AuthMetadataCodecTest.java
Outdated
Show resolved
Hide resolved
This now follows the new specification. Test were also moved away from ...Fylweigth to ...Codec Signed-off-by: Jascha Riedel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you @freelancer1845 for this contribution! Keep doing that! |
Now reads/writes username length as uint16.
The spec was changed in this commit:
rsocket/rsocket@2687daa
I also moved the code of AuthMetdataFlyweightTest to AuthMetadataCodecTest.