<p></p>
<p><b>@oej</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/kamailio/kamailio/pull/3261#discussion_r994226551">src/modules/mqtt/mqtt_dispatch.c</a>:</p>
<pre style='color:#555'>> @@ -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));
</pre>
<p dir="auto">TLS upper case</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/3261#discussion_r994226551">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJYDIV3GN4SOXMPTODWC6WSRANCNFSM6AAAAAARD6KLKE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZOHARRVY2ZMOKG6TKTWC6WSRA5CNFSM6AAAAAARD6KLKGWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTSD6WNHC.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/pull/3261/review/1140169329</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/3261#discussion_r994226551",
"url": "https://github.com/kamailio/kamailio/pull/3261#discussion_r994226551",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>