Christian
6dcb110737
Add InterceptingClientEnqueueAsync event ( #1679 )
2023-02-17 19:13:06 +01:00
Christian
b599a832da
Add new method for reading a single retained message ( #1676 )
2023-02-15 19:46:37 +01:00
Christian
ed31c51237
Code cleanup
2023-01-28 13:08:21 +01:00
Christian
e01707d25e
Improve samples
2023-01-28 13:08:08 +01:00
Jeffery Michael and Jeff Scherrer
73f118fe1c
Moved the usage of certificate provider into the server listener ( #1652 )
...
* Moved the usage of certificate provider into the server listener so that each connection has the posibility of receiving a new SSL cert.
* Removed warning from unused field.
* Reduced changeds on original codebase.
---------
Co-authored-by: Jeff Scherrer <Jeff.Scherrer@vw.com >
2023-01-28 12:18:31 +01:00
Int32Overflow
0234918f30
Performance impact fix ( #1661 )
2023-01-28 12:12:20 +01:00
Jeffery Michael
c90ba7e061
Fixed broken UWP build ( #1655 )
...
Added compiler declaritive to check for WINDOWS_UWP on IsAssignableFrom call.
2023-01-28 12:02:22 +01:00
Christian
2aa4219838
Expose server session items ( #1638 )
...
* Expose server session items
* Add support for custom session items for injected application messages
2023-01-19 20:15:15 +01:00
Günther Foidl
b98417ab39
Avoid some full memory barriers ( #1590 )
...
* Avoid some full memory barriers
* Reset in stats itself
* Updated MqttClientStatistics
* Fixed order of members as artifact from merge-conflict
2023-01-19 20:08:51 +01:00
Jeffery Michael
e0ce1f309e
dotnet 7 packages ( #1636 )
...
* Added dotnet 7 support/builds.
* Added NETCOREAPP_3_1_OR_GREATER where applicable.
2022-12-28 09:20:11 +01:00
Christian
d74c81c3d1
Fix unit tests
2022-12-23 20:01:13 +01:00
Christian
2fa7200fb3
1544 add underlying socketoption of tcp keepalive into the server option ( #1606 )
...
* Expose TCP keep alive options to options builder
* Update ReleaseNotes.md
2022-12-23 17:15:49 +01:00
Christian
fdf00f1b18
More options for disconnect ( #1557 )
...
* Expose more options in disconnect options.
* Expose more options in disconnect API.
* Refactor code.
* Expose user properties in disconnected event.
* Expose more disconnect options in server.
* Fix build errors
* Add new samples.
* Fix client cleanup
* Fix merge conflicts
2022-12-23 17:09:02 +01:00
ghord
abe7bbda15
Pass correct clientId to Unsubscribe interceptor ( #1631 )
2022-12-23 17:02:03 +01:00
Christian and HansM
795139d78f
Add feature validations ( #1527 )
...
* Add feature validation.
* Update ReleaseNotes.md
* Add validators or subscribe and unsubscribe.
* Add feature validation for disconnect.
* Fix build errors.
* Fix build errors
Co-authored-by: HansM <HansM2013@gmx.de >
2022-12-23 16:56:11 +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
Christian
f79649d71b
1612 mqttserver subscription to similar base and subtopic with wildcards fails ( #1622 )
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
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