Use the hostname from the Transport for GSSAPI Authentication
Previously, the AMQP 1.0 driver did not pass the proper hostname to pyngus. This prevented GSSAPI authentication from working properly. Change-Id: Ibc6678e7cbae6dd5108d1650dbb8ddf837aa3648 Closes-Bug: #1503258
This commit is contained in:
parent
7eadea5bec
commit
1b605c1466
@ -460,7 +460,7 @@ class Controller(pyngus.ConnectionEventHandler):
|
||||
def _do_connect(self):
|
||||
"""Establish connection and reply subscription on processor thread."""
|
||||
host = self.hosts.current
|
||||
conn_props = {}
|
||||
conn_props = {'hostname': host.hostname}
|
||||
if self.idle_timeout:
|
||||
conn_props["idle-time-out"] = float(self.idle_timeout)
|
||||
if self.trace_protocol:
|
||||
|
Loading…
Reference in New Issue
Block a user