fix(http): use user-provided ClientBootstrap in HttpConnection#823
fix(http): use user-provided ClientBootstrap in HttpConnection#823azkrishpy merged 4 commits intoawslabs:mainfrom
Conversation
Fix condition that checked uninitialized options.bootstrap (always null after AWS_ZERO_STRUCT) instead of connectionOptions.Bootstrap. This caused user-provided ClientBootstrap to never be used. Fixes awslabs#819
|
Friendly ping for review. This is a 1-line fix for #819 where the user-provided |
|
Friendly follow-up. This 1-line fix has been open for 6 weeks now. CI Note: The CodeBuild integration test failure appears unrelated to this change - it's an AWS internal test and all 64 GitHub Actions checks pass (including thread/address sanitizers). Related: I noticed PR #840 adds a test case Happy to rebase or make any adjustments needed. |
|
Hi @abhu85 I am working on this PR. The draft PR was only to ensure the test actually fails and the commit is added as part of this PR. Working on the integration test and will be merged soon. Thank you for your contribution! |
Summary
Fix condition that checked uninitialized
options.bootstrap(always null afterAWS_ZERO_STRUCT) instead ofconnectionOptions.Bootstrap. This caused user-provided ClientBootstrap to never be used.Changes
source/http/HttpConnection.cppfrom checkingoptions.bootstraptoconnectionOptions.BootstrapTest plan
Fixes #819