瀏覽代碼

Fix incorrect TLS port of broker.emqx.io

release/3.x.x
alvin1221 2 年之前
committed by GitHub
父節點
當前提交
6dfa7f0769
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      Tests/MQTTnet.TestApp.NetCore/PublicBrokerTest.cs

+ 2
- 2
Tests/MQTTnet.TestApp.NetCore/PublicBrokerTest.cs 查看文件

@@ -94,12 +94,12 @@ namespace MQTTnet.TestApp.NetCore
.WithProtocolVersion(MqttProtocolVersion.V311).Build());

await ExecuteTestAsync("broker.emqx.io TCP TLS12",
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8083)
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8883)
.WithProtocolVersion(MqttProtocolVersion.V311).WithTls(unsafeTls12).Build());

#if NET5_0_OR_GREATER
await ExecuteTestAsync("broker.emqx.io TCP TLS13",
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8083)
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8883)
.WithProtocolVersion(MqttProtocolVersion.V311).WithTls(unsafeTls13).Build());
#endif



Loading…
取消
儲存