rdhabalia commented on issue #8056: URL: https://github.com/apache/pulsar/issues/8056#issuecomment-692318580
> But, the method createConnection is invoked with the broker host, then invokes connectToResolvedAddresses which in turn invokes connectToAddress where the broker address is set as the SNI host and the proxy URL host is connected to instead.I suggest that in createConnection InetAddress.getByName is replaced with the parameter 'unresolvedAddress yes, client should avoid resolving the broker address and pass it in SNI header. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
