Fixed AMQPS port (#4637)

This commit is contained in:
Larry Osterman 2023-05-15 16:13:49 -07:00 committed by GitHub
parent 9b44a9913b
commit a09d3acdce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ namespace Azure { namespace Core { namespace Amqp { namespace _detail {
Sas,
Jwt
};
#if defined(TESTING_BUILD)
/** @brief Implementation of AMQP 1.0 Claims-based Security (CBS) protocol.
*

View File

@ -145,7 +145,7 @@ namespace Azure { namespace Core { namespace Amqp { namespace _detail {
Log::Write(Logger::Level::Informational, "Creating TLS socket connection transport.");
Azure::Core::Amqp::Network::_internal::TlsTransport transport{
requestUrl.GetHost(),
requestUrl.GetPort() ? requestUrl.GetPort() : static_cast<std::uint16_t>(AmqpPort)};
requestUrl.GetPort() ? requestUrl.GetPort() : static_cast<std::uint16_t>(AmqpsPort)};
m_transport = transport.GetImpl();
}
else