老九 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
soyoo
7d5e49b44c
A typo in comment. ( #1628 )
2022-12-16 17:12:46 +01:00
Christian
555c3eac7a
Reset release notes
2022-12-13 17:15:43 +01:00
Christian
f79649d71b
1612 mqttserver subscription to similar base and subtopic with wildcards fails ( #1622 )
v4.1.4.563
2022-12-07 20:59:52 +01:00
dependabot[bot]
c9c27b9f01
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /Source/MQTTnet.TestApp ( #1621 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 20:57:29 +01:00
Christian
0bc47cf853
Improve unit tests
2022-12-07 20:50:34 +01:00
Christian
5649328bc5
Update release notes
2022-12-07 20:44:30 +01:00
Christian
726dd15c5a
Cleanup projects
2022-12-07 20:44:23 +01:00
Christian
d513c6f85c
Refactor code
2022-12-07 19:43:10 +01:00
老九
c1c17ba162
MqttConnectionContext: Adapting mqtt over tcp ( #1616 )
...
Adapting mqtt over tcp.
2022-12-07 19:36:13 +01:00
soyoo
f8aa686557
A typo in comment. ( #1618 )
2022-12-07 17:08:15 +01:00
Christian
d7eb4bbe6e
Allow interception of will messages ( #1613 )
2022-12-06 20:28:01 +01:00
Christian
c17a350796
1595 object disposed exception in unit test handle parallel connection attempts ( #1610 )
2022-12-05 19:22:18 +01:00
Christian
bb106f8c6e
Refactor code
2022-12-05 19:21:08 +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
Christian
099209fff2
Update README.md
2022-12-04 14:10:54 +01:00
Christian
d572490a67
Use the net452 supporting async task completion source ( #1607 )
2022-12-04 13:39:50 +01:00
Christian
180e7f79d4
Update ci.yml
2022-12-03 14:50:30 +01:00
Christian
d9da7cc92e
Refactor code
2022-12-03 14:09:27 +01:00
Christian
c2ce2044cc
Merge branch 'master' of https://github.com/dotnet/MQTTnet
2022-12-03 13:19:38 +01:00
Christian
e400bfb79e
Update ci.yml
2022-12-03 13:19:37 +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
Christian
01a5aeeb58
Refactor benchmarks ( #1601 )
2022-11-30 18:09:34 +01:00
老九
47df131e7f
Avoid to check the type of propertyWriter parameter ( #1600 )
...
Refactor code of MqttBufferWriter
2022-11-30 17:56:05 +01:00
Christian
56750adfe4
1592 bug of mqttbufferreader ( #1593 )
2022-11-29 20:23:20 +01:00
Christian
11e64ef018
Update ReleaseNotes.md
2022-11-28 21:10:46 +01:00
Christian
9b20e0a430
Refactor code
2022-11-28 21:10:42 +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
Christian
e45b207375
Update ReleaseNotes.md
2022-11-26 14:53:03 +01:00
Christian
c37866e534
Refactor code and update release notes
2022-11-26 14:51:36 +01:00
老九
bda4ab7025
Set string.Empty as default value for SenderClientId ( #1583 )
2022-11-26 14:50:08 +01:00
Christian
32cc1ff7b1
Refactor code and update release notes
2022-11-26 14:49:28 +01:00
Dalibor Kundrat
b5952a590a
Extend server client ResetStatistics() to reset all client statistics not only channel... ( #1587 )
...
Extend reset client statistic to reset all stats
2022-11-26 14:47:17 +01:00
Christian
581a024ceb
Improve allocations for AsyncSignal.
2022-11-26 14:45:34 +01:00
Mario Zelger and Mario Zelger
c45cb8b04e
Dispose the AsyncSignalWaiter before setting it to null ( #1586 )
...
dispose the AsyncSignalWaiter before setting it to null to prevent memory leak
Co-authored-by: Mario Zelger <mario.zelger@confer.ch >
2022-11-26 14:19:51 +01:00
Christian
a5e1a4d6dd
Update version
2022-11-26 14:16:37 +01:00
Christian
e88b280eb0
Reset release notes
2022-11-12 12:53:54 +01:00
Christian
e4b07f2b8c
Fix build errors
v4.1.3.436
2022-11-12 09:43:55 +01:00
Christian
4eb6e77eb5
Fix build errors due to merge conflicts
2022-11-11 14:41:28 +01:00
Christian
db1fc7625d
1546 possible bug in server repeatedly sending the same message to client subscribed with cleansession=false ( #1569 )
2022-11-11 08:14:15 +01:00
Christian
bfec9dc5ad
802 client isnt being notified if message is not delivered ( #1568 )
2022-11-09 21:14:53 +01:00
Christian
56f0a2c31c
Fix validation of topic in managed client ( #1567 )
2022-11-09 20:13:59 +01:00
Christian
5ee0bb4b65
1565 high cpu load from asyncsignal ( #1566 )
2022-11-09 19:56:29 +01:00
Christian
5c74728387
Fix client session takeover
2022-11-06 13:28:41 +01:00
Christian
97c46bea0f
Update ReleaseNotes.md
2022-11-06 10:50:32 +01:00
Christian
e6c1ab4e4c
Fail all waiting tasks when the client connection gets closed ( #1563 )
2022-11-06 10:50:04 +01:00
Christian
6e1ec266a7
Update ReleaseNotes.md
2022-11-06 10:49:19 +01:00
Christian
3fc6982e9a
Fix upgrading and downgrading of retained messages QoS for subscriptions ( #1564 )
2022-11-06 10:35:59 +01:00