ProxySettings.port ignored #28951
Labels
Azure.Core
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Describe the bug
In commit ba2f5e6 the ProxyPolicy was refactored between 1.14.0 and 1.15.0. In 1.14.0,
ProxySettings.port
is added to HttpsProxyAgentOptions. Since 1.15.0, only theProxySettings.host
is used.ProxySettings.port
is not used.To Reproduce
Steps to reproduce the behavior:
Run the following code with @azure/core-rest-pipeline version 1.15.0 or later.
The request object will be logged, indicating that the HttpsProxyAgent does not have port 8080 configured:
Expected behavior
HttpsProxyAgent has port 8080 configured:
The text was updated successfully, but these errors were encountered: