@@ -746,9 +746,9 @@ static void on_connection_bound(qd_server_t *server, pn_event_t *e) {
746
746
//
747
747
//sys_mutex_lock(&ctx->server->lock);
748
748
pn_sasl_t * sasl = pn_sasl (tport );
749
- if (ctx -> server -> sasl_config_path )
750
- pn_sasl_config_path (sasl , ctx -> server -> sasl_config_path );
751
- pn_sasl_config_name (sasl , ctx -> server -> sasl_config_name );
749
+ // if (ctx->server->sasl_config_path)
750
+ // pn_sasl_config_path(sasl, ctx->server->sasl_config_path);
751
+ // pn_sasl_config_name(sasl, ctx->server->sasl_config_name);
752
752
if (config -> sasl_mechanisms )
753
753
pn_sasl_allowed_mechs (sasl , config -> sasl_mechanisms );
754
754
pn_transport_require_auth (tport , config -> requireAuthentication );
@@ -1427,6 +1427,12 @@ qd_server_t *qd_server(qd_dispatch_t *qd, int thread_count, const char *containe
1427
1427
qd_server -> next_connection_id = 1 ;
1428
1428
qd_server -> py_displayname_obj = 0 ;
1429
1429
1430
+
1431
+ if (qd_server -> sasl_config_path )
1432
+ pn_sasl_config_path (0 , qd_server -> sasl_config_path );
1433
+ if (qd_server -> sasl_config_name )
1434
+ pn_sasl_config_name (0 , qd_server -> sasl_config_name );
1435
+
1430
1436
qd_server -> http = qd_http_server (qd_server );
1431
1437
1432
1438
qd_log (LOG_SERVER , QD_LOG_INFO , "Container Name: %s" , qd_server -> container_name );
0 commit comments