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

Fix host prefix bug #2200

Merged
merged 2 commits into from
Jul 21, 2023
Merged

Conversation

isaiahvita
Copy link
Contributor

  1. adding the disable host prefix context checker to endpoint v2 resolution invocation only on certain cases, when previously it was added in all cases
  2. unexported some middlewares that didnt need to be exported

Depends on:
aws/smithy-go#439

@isaiahvita isaiahvita requested a review from a team as a code owner July 20, 2023 17:20
"DisableEndpointHostPrefix", SmithyGoDependency.SMITHY_HTTP_TRANSPORT).build()
);
// we only want the content above written ONCE per operation.
written = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Then just write it and break out of the loop

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, will do, in next PR -- artifact left over from my previous logic. a break is more straightforward

@isaiahvita isaiahvita merged commit b799b27 into aws:feat-ep20 Jul 21, 2023
1 check passed
@isaiahvita isaiahvita deleted the feat-ep20-hostprefixbug branch July 21, 2023 17:04
isaiahvita added a commit to isaiahvita/aws-sdk-go-v2 that referenced this pull request Jul 25, 2023
isaiahvita added a commit that referenced this pull request Jul 25, 2023
isaiahvita added a commit that referenced this pull request Jul 27, 2023
isaiahvita added a commit that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants