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
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
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
d572490a67
Use the net452 supporting async task completion source ( #1607 )
2022-12-04 13:39:50 +01:00
Christian
d9da7cc92e
Refactor code
2022-12-03 14:09:27 +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
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
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
e4b07f2b8c
Fix build errors
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
e6c1ab4e4c
Fail all waiting tasks when the client connection gets closed ( #1563 )
2022-11-06 10:50:04 +01:00
Christian
3fc6982e9a
Fix upgrading and downgrading of retained messages QoS for subscriptions ( #1564 )
2022-11-06 10:35:59 +01:00
SilverFox
5b1cc7d713
Also cleanup MqttClientSessionsManager._subscriberSessions when session is taken over by a new one with CleanSession=true, fix #1552 ( #1553 )
2022-11-06 10:35:15 +01:00
Christian
2842f27522
1552 mqttnetservermqttclientsessionsmanager subscribersessions is not proper removed on special case ( #1562 )
2022-11-06 10:34:20 +01:00
Christian
7ef137e26e
No longer fire _ClientAcknowledgedPublishPacketEvent_ for PUBREC packets ( #1550 ) ( #1551 )
2022-11-06 10:29:49 +01:00
Christian
8cf5537043
Improve unit tests
2022-10-23 08:45:16 +02:00
Christian
d2ce9d607a
Fix freezes in _AsyncLock_ ( #1549 )
2022-10-23 08:16:45 +02:00
Christian
36736914bc
Fix Xamarin connect freeze ( #1545 )
2022-10-23 07:51:19 +02:00
Christian
e050e2d61e
Improve async lock ( #1520 )
2022-09-25 10:26:18 +02:00
Christian
e977546297
Fix cross access to async events. ( #1515 )
...
fix cross access to async events.
2022-09-16 08:20:42 +02:00
Christian
7e686d9aa5
Refactor code.
2022-09-15 09:09:08 +02:00
Christian
d23bbf7bf3
Improve PingAsync timeout handling.
2022-09-14 14:17:59 +02:00
Christian
d4dad4860a
Fix and improve session takeover process handling.
2022-09-14 14:15:35 +02:00
Christian
c009cbef76
Update comments, release notes, version.
2022-09-13 09:07:02 +02:00
logicaloud
37e60c73ae
Send DISCONNECT packets to MQTT5 clients only ( #1506 )
2022-09-13 09:00:21 +02:00
Christian
3ab095a568
Set web socket boundaries correctly ( #1514 )
2022-09-13 08:50:02 +02:00
Stan Wijckmans and Stan Wijckmans
c5cec60809
Apply timeout to automatic ping. ( #1495 )
...
Co-authored-by: Stan Wijckmans <stanw@aviobook.aero >
2022-08-13 12:53:55 +02:00
Christian
12dd815421
Fix wrong package references in Benchmark project.
2022-08-13 12:45:02 +02:00