-
Notifications
You must be signed in to change notification settings - Fork 911
ChecksumValidatingPublisher deals with any packetization #966
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
Conversation
Thanks for the submission! We'll get this out in our next release. |
@@ -0,0 +1,187 @@ | |||
/* | |||
* Licensed under the Apache License, Version 2.0 (the "License"); |
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.
This is not the same copyright profile that we are using. Could you update it?
Here's the intelliJ copyright file template link, or you can copy paste from other files in this repo.
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.
Hi Zoe,
I'm not affiliated with Amazon, so I thought putting an Amazon copyright there would not be kosher. Am I wrong? I don't mind doing it -- just seems odd.
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.
Done
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.
aws-java-sdk-v2
is under the Apache License 2.0 and we wanted to make sure all the files follow the same style.
Thank you for updating it!
Codecov Report
@@ Coverage Diff @@
## master #966 +/- ##
============================================
+ Coverage 55.34% 55.39% +0.04%
- Complexity 4492 4494 +2
============================================
Files 799 799
Lines 27469 27487 +18
Branches 2221 2224 +3
============================================
+ Hits 15204 15227 +23
+ Misses 11545 11542 -3
+ Partials 720 718 -2
Continue to review full report at Codecov.
|
Is it possible that this also relates to: #428 ? I'm testing code that uses: ifNoneMatch, which according to documentation should return a 304 response code. I have tested 2.2.0 and this branch. My code does this:
With this branch I get:
On 2.2.0 I get:
I'm hoping to figure out if I can get a short term workaround or if I have to skip etag support right now. Thanks. Chuck |
… of incoming data
Description
Instead of assuming the checksum will be tacked onto an existing data packet (and incorrectly re-allocating the checksum array), the fixed code simply populates the checksum array with bytes that belong to the checksum, and only sends to the wrapped Subscriber the bytes that belong to the user data
Motivation and Context
Solves issue #965
Testing
Unit test added that:
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsLicense