@oej commented on this pull request.
In src/modules/mqtt/mqtt_dispatch.c:
> @@ -224,6 +224,17 @@ int mqtt_run_dispatcher(mqtt_dispatcher_cfg_t* cfg) LM_ERR("mosquitto_tls_set() failed: %d %s\n",errno, strerror(errno)); return -1; } + if (cfg->tls_alpn != NULL) { +#if LIBMOSQUITTO_VERSION_NUMBER >= 1006000 + res = mosquitto_string_option(_mosquitto, MOSQ_OPT_TLS_ALPN, cfg->tls_alpn); + if (res != MOSQ_ERR_SUCCESS) { + LM_ERR("mosquitto_string_option() failedi setting tls alpn: %d %s\n",errno, strerror(errno));
TLS upper case
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.