qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lulf <...@git.apache.org>
Subject [GitHub] qpid-proton pull request #90: PROTON-1355: Set ssl.peer_hostname to virtual_...
Date Fri, 18 Nov 2016 15:22:40 GMT
Github user lulf commented on a diff in the pull request:

    --- Diff: proton-c/bindings/python/proton/reactor.py ---
    @@ -565,7 +565,7 @@ def _connect(self, connection, reactor):
                 if not self.ssl_domain:
                     raise SSLUnavailable("amqps: SSL libraries not found")
                 self.ssl = SSL(transport, self.ssl_domain)
    -            self.ssl.peer_hostname = url.host
    +            self.ssl.peer_hostname = self.virtual_host if self.virtual_host != None else
    --- End diff --
    Agreed. I chose to write it this way to be consistent with the rest of the code which
seems to explicitly check for None.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message