mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 19:13:11 +08:00
propper buffering in place
This commit is contained in:
@@ -22,7 +22,7 @@ namespace MQTTnet
|
||||
{
|
||||
case MqttConnectionType.Tcp:
|
||||
case MqttConnectionType.Tls:
|
||||
return new MqttTcpChannel();
|
||||
return new BufferedCommunicationChannel( new MqttTcpChannel() );
|
||||
case MqttConnectionType.Ws:
|
||||
case MqttConnectionType.Wss:
|
||||
return new MqttWebSocketChannel();
|
||||
|
||||
Reference in New Issue
Block a user