@oej commented on this pull request.
> @@ -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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3261#discussion_r994226551
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3261/review/1140169...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev