Skip to content

Fixed servicebus default proxy configuration bug - #31832

Merged
ki1729 merged 2 commits into
Azure:mainfrom
ki1729:krajasekar/servicebus_proxy_default_fix
Oct 31, 2022
Merged

Fixed servicebus default proxy configuration bug#31832
ki1729 merged 2 commits into
Azure:mainfrom
ki1729:krajasekar/servicebus_proxy_default_fix

Conversation

@ki1729

@ki1729 ki1729 commented Oct 31, 2022

Copy link
Copy Markdown
Contributor

Description

Fixed #24230

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

@azure-sdk

Copy link
Copy Markdown
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-messaging-servicebus

@liukun-msft liukun-msft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Add the CHANGELOG for the fix?

private ProxyOptions getDefaultProxyConfiguration(Configuration configuration) {
ProxyAuthenticationType authentication = ProxyAuthenticationType.NONE;
if (proxyOptions != null) {
authentication = proxyOptions.getAuthentication();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Information for other reviewers: here the authentication is never read correctly from the configuration. The correctly logic is moved to the ProxyOptions.fromConfiguration().

@geagin geagin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@ki1729
ki1729 merged commit 2bb61cb into Azure:main Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] - Proxy authentication not set correctly in ServiceBusClientBuilder

4 participants