Repository: qpid-dispatch
Updated Branches:
  refs/heads/master b5deb0357 -> b07d9461a


DISPATCH-1050: set SNI correctly for authservice


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/b07d9461
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/b07d9461
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/b07d9461

Branch: refs/heads/master
Commit: b07d9461a4d4e8187966b336e1a155bdae3b3bb1
Parents: b5deb03
Author: Gordon Sim <g...@redhat.com>
Authored: Tue Jun 26 11:44:43 2018 +0100
Committer: Gordon Sim <g...@redhat.com>
Committed: Tue Jun 26 11:50:36 2018 +0100

----------------------------------------------------------------------
 src/remote_sasl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/b07d9461/src/remote_sasl.c
----------------------------------------------------------------------
diff --git a/src/remote_sasl.c b/src/remote_sasl.c
index 047d425..2fb2bcb 100644
--- a/src/remote_sasl.c
+++ b/src/remote_sasl.c
@@ -191,7 +191,7 @@ static bool remote_sasl_init_server(pn_transport_t* 
transport)
         pn_proactor_t* proactor = impl->proactor;
         if (!proactor) return false;
         impl->downstream = pn_connection();
-        pn_connection_set_hostname(impl->downstream, 
pn_connection_get_hostname(upstream));
+        pn_connection_set_hostname(impl->downstream, 
impl->authentication_service_address);
         set_sasl_relay_context(impl->downstream, impl);
         //request permissions in response if supported by peer:
         pn_data_t* data = pn_connection_desired_capabilities(impl->downstream);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to