老九
d0584413ca
Add PayloadSegmentable feature ( #1585 )
2023-02-22 20:53:55 +01:00
老九 and Günther Foidl
8a926a3db3
Performance optimization of SendPacketAsync ( #1624 )
...
* performance optimization of SendPacketAsync
* Update Source/MQTTnet.AspnetCore/MqttConnectionContext.cs
Co-authored-by: Günther Foidl <gue@korporal.at >
Co-authored-by: Günther Foidl <gue@korporal.at >
2022-12-16 17:13:11 +01:00
老九
c1c17ba162
MqttConnectionContext: Adapting mqtt over tcp ( #1616 )
...
Adapting mqtt over tcp.
2022-12-07 19:36:13 +01:00
老九
09e47fb5eb
Avoid a split MqttPacketBuffer transfer caused by triggering PipeWriter.WriteAsync twice. ( #1609 )
...
Avoid a split MqttPacketBuffer transfer caused by triggering PipeWriter.FlushAsync twice.
2022-12-05 19:19:31 +01:00
老九 and Christian
3d32faa8f9
Avoid copying buffer from ReadOnlySequence as ReceivedMqttPacket body ( #1596 )
...
* Avoid copying buffer from ReadOnlySequence as ReceivedMqttPacket body
* Use ReadOnlySequence.FirstSpan if possible.
* add ReaderExtensionsBenchmark
* update benchmark
* fix fixedHeader incorrect read
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2022-12-03 13:18:30 +01:00
老九 and Christian
862d76471b
Implement buffer copy using different policies ( #1599 )
...
use Memory-Copy
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2022-12-03 13:17:02 +01:00
老九
27f2474876
fix MqttBufferReader #1597 ( #1598 )
2022-12-03 13:14:07 +01:00
老九
47df131e7f
Avoid to check the type of propertyWriter parameter ( #1600 )
...
Refactor code of MqttBufferWriter
2022-11-30 17:56:05 +01:00
老九
41df2ec5da
Optimize SendPacketAsync method for MQTTnet.AspNetCore ( #1582 )
...
* Avoid to call MqttPacketBuffer.Join() when SendPacketAsync
* Safely cleanup the PacketFormatterAdapter
* Keep buffer.Join when mqtt over webSocket
* null checking for IHttpContextFeature.HttpContext
2022-11-28 21:02:13 +01:00
老九
bda4ab7025
Set string.Empty as default value for SenderClientId ( #1583 )
2022-11-26 14:50:08 +01:00
陈国伟
c10145f743
Use IConnectionEndPointFeature to get IMqttChannelAdapter.Endpoint in aspnetcore31
2020-03-26 12:32:09 +08:00
xljiulang
9ed80daf83
Reduce the performance cost of Memory<T>.getSpan()
2020-03-25 21:32:43 +08:00