PROTON-839: Proton 0.9 RC 2 blocker - proton_tests.utils.SyncRequestResponseTest.test_request_response ........ fail
Fix to reactor.py, check for lack of SSL domain. (cherry picked from commit e31df015a79d791e62caf9bef3f29bdfd77042ef) Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c2042d7d Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c2042d7d Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c2042d7d Branch: refs/heads/0.9.x Commit: c2042d7d26c4383047dac2709d1a2effe0b11419 Parents: 0fbe80e Author: Alan Conway <[email protected]> Authored: Mon Mar 16 09:51:28 2015 -0400 Committer: Alan Conway <[email protected]> Committed: Mon Mar 16 10:00:02 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/python/proton/reactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c2042d7d/proton-c/bindings/python/proton/reactor.py ---------------------------------------------------------------------- diff --git a/proton-c/bindings/python/proton/reactor.py b/proton-c/bindings/python/proton/reactor.py index 41b7372..f95bd16 100644 --- a/proton-c/bindings/python/proton/reactor.py +++ b/proton-c/bindings/python/proton/reactor.py @@ -613,7 +613,7 @@ class Container(Reactor): connector.reconnect = reconnect elif reconnect is None: connector.reconnect = Backoff() - connector.ssl_domain = ssl_domain or self.ssl.client + connector.ssl_domain = ssl_domain or (self.ssl and self.ssl.client) conn._session_policy = SessionPerConnection() #todo: make configurable conn.open() return conn --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
