浏览代码

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



正在加载...
取消
保存