fix: Add mqtt.server_name option to override TLS SNI (#32417)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Rohan KapoorandCursor authored and GitHub committed 2026-06-27 21:37:48 +02:00
1 parent 8d5fdada38
commit 2f26083ce1
4 files changed
+15

No files matched your search

+2
View File
@@ -149,6 +149,7 @@ describe("Controller", () => {
user: "user1",
client_id: "my_client_id",
reject_unauthorized: false,
server_name: "mqtt.example.com",
version: 5,
maximum_packet_size: 20000,
};
@@ -166,6 +167,7 @@ describe("Controller", () => {
username: "user1",
clientId: "my_client_id",
rejectUnauthorized: false,
servername: "mqtt.example.com",
protocolVersion: 5,
properties: {maximumPacketSize: 20000},
};