-
Notifications
You must be signed in to change notification settings - Fork 48
Fix proxies connect and tests #198
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ckpressure changes.
graebm
reviewed
Mar 11, 2020
graebm
reviewed
Mar 12, 2020
Contributor
graebm
left a comment
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.
justinboswell
approved these changes
Mar 13, 2020
Contributor
justinboswell
left a comment
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.
💪
graebm
approved these changes
Mar 13, 2020
graebm
pushed a commit
that referenced
this pull request
Mar 17, 2020
Ignore connection: close on 200/OK responses to a CONNECT Request, since the proxy is obviously drunk and needs to hail an uber to get home from the bar safely. Fix the broken tests from the tcp back pressure refactor in aws-c-io.
TingDaoK
added a commit
that referenced
this pull request
Mar 24, 2020
* revamp encoder API (wip) * hpack pre-encode cmd. Do encoding in 2 passes, so we know exactly how much buffer space we'll need. I will probably revert this. I thought this was clever, but seeing it implemented it's just so much more complicated than writing everything to a dynamic buffer, then copying it into the aws_io_mesage. * simplify decoder state machine loop * hpack encoding expands output buffer ditch 2 pass approach, it was just too complicated * Revamp HEADERS/PUSH_PROMISE/DATA frames * all tests passing again * Exposed options for toggling read back pressure behavior, updated to match aws-c-io api changes. (#194) * Fix bug when new request has same memory address as old request. (#195) As seen in real life * Enabled compilation on VS 2015 (#196) * Enabled compilation on VS 2015 * Fix VS narrowing warning * Updated to v0.5.3 of builder * Fix proxies connect and tests (#198) Ignore connection: close on 200/OK responses to a CONNECT Request, since the proxy is obviously drunk and needs to hail an uber to get home from the bar safely. Fix the broken tests from the tcp back pressure refactor in aws-c-io. * Fix fuzz tests * clang-format * tweaks * tweaks * Simplify how most frames are encoded: - Use common struct - Pre-encode the entire frame - Incrementally copy that to aws_io_message whenever encode() is called. This is simpler/better because: 1) more shared code 2) unique payload-writing code all goes in the one new() function, instead of being spread across the new() and encode() functions 3) less chance of incorrect size calculations, since we're encoding to a buffer of the exact correct length * THANK YOU MSVC COMPILER WARNING YOU SAVED MY ASS * replaced lots of AWS_ERROR_SHORT_BUFFER error-handling with asserts. If this kind of error happens now, it's programmer error * compiler warning * insert ping ACK to the front of the queue * auto send ping ack frame back * h2_test_helper.h Extract useful machinery from test_h2_decoder.c for use with other tests. * merge with master * test_h2_client.c is using fake peer * test_for_ping_ack * more h2_fake_peer functionality * msvc warning * delete the message * prototype function * tiny changes for making the code clear * clang format * Stop just the reading direction. * error check&udpate read window * move comments * remove redundant connection id and style change * LOGF->LOG Co-authored-by: Michael Graeb <graebm@amazon.com> Co-authored-by: Jonathan M. Henson <henso@amazon.com> Co-authored-by: Justin Boswell <boswej@amazon.com> Co-authored-by: Dengke Tang <dengket@amazon.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.