Christian
9dbe1e4b12
Fix support for enhanced authentication ( #2132 )
...
* Implement enhanced authentication for client and server.
* Update samples
* Add abstraction layer
* Merge master
* Use dedicated class for public API.
* Update release notes
* Rename methods to fit naming scheme
* Fix unit tests and samples
2024-12-25 14:17:20 +01:00
Victornor and christian
981ea02149
Unused parameter in WithTryPrivate causing client to send incorrect version byte in header. ( #2125 )
...
* fix: unused tryPrivate parameter in WithTryPrivate
* Fix wrong usage of try private
---------
Co-authored-by: christian <6939810+chkr1011@users.noreply.github.com >
2024-12-10 19:37:29 +01:00
Andrea Vouk
63d85184e1
Convert null checks to modern ThrowIfNull checks ( #2089 )
...
Convert null check to modern ThrowIfNull checks
2024-10-26 11:41:58 +02:00
Christian
2fdbb02dc8
Fix parsing error of AUTH packet with empty body ( #2070 )
...
* Reformat code
* Fix issue
* Fix AUTH packet serialization
2024-09-07 09:49:10 +02:00
980a5d0a6d
Improve performance and drop support for old frameworks ( #2068 )
...
* Remove WebSocket4Net extension library
* Remove UWP support
* Drop support for all old frameworks
* Update CI
* Update CI
* Update CI
* Update CI
* Remove obsolete code
* Set default protocol version to 5.0.0
* Remove obsolete tests
* Remove old dependencies
* Reset release notes
* Move server to dedicated project
* Fix unit tests
* Update and cleanup nuget packages
* Fix unit tests
Refactor code
* No longer throw exception when receiving non success CONNACK
* Enable nuget signing
* Enable nuget signing
* Enable nuget signing
* Enable nuget signing
* Enable nuget signing
* Enable nuget signing
* Enable nuget signing
* Enable nuget signing
* Enable code signing
* Enable code signing
* Enable code signing
* Fix client endpoint handling
* Improve CI
* Fix CI
* Fix CI
* Fix CI
* Fix CI
* Import changes from version 4
* Cleanup target frameworks and remove obsolete code
* Drop support for dotnet7.0
* Remove managed client
* Version5 auditmode (#2016 )
Added NuGet audit mode and some other settings to get informed about security issues.
* Address warnings from analyzers
* Support for ReadOnlySequence as payload (#2046 )
* use ReadOnlySequence as payload
* fix build
* fix build
* skip sign in forks
* remove unnecessary owner
* tests and extensions
* remove test
* simplify WritePacketBuffer, remove unused helper
* Adjust namespaces
* Fix build errors
* Import latest fixes from main branch
* Adjust namespaces
---------
Co-authored-by: SeppPenner <HansM2013@gmx.de >
Co-authored-by: Martin Regen <mregen@microsoft.com >
2024-08-24 11:47:21 +02:00
yzt and Christian
b4769778af
DISCONNECT packet should allow zero-length body ( #1994 )
...
* DISCONNECT packet should allow zero-length body
> [If the Remaining Length is less than 1 the value of 0x00 (Normal disconnection) is used.](https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901208 )
* Update release notes and add comment
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2024-05-14 18:08:54 +02:00
yzt and Christian
1ffffaff47
Fix minor bug in MqttV5PacketEncoder.cs ( #1939 )
...
* Fix minor bug in MqttV5PacketEncoder.cs
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2024-03-02 09:44:14 +01:00
Christian
ae84aa43d2
1846 server mqttserverstopasync doesnt indicate correct reason ( #1872 )
2023-11-25 16:17:16 +01:00
Christian
0bb4c6ef09
Expose more TLS options ( #1737 )
2023-05-13 12:08:52 +02:00
Christian
0e815c626c
Add validation of string lengths ( #1718 )
2023-05-01 12:03:23 +02:00
老九
d0584413ca
Add PayloadSegmentable feature ( #1585 )
2023-02-22 20:53:55 +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
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
d9da7cc92e
Refactor code
2022-12-03 14:09:27 +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
Christian
56750adfe4
1592 bug of mqttbufferreader ( #1593 )
2022-11-29 20:23:20 +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
5c74728387
Fix client session takeover
2022-11-06 13:28:41 +01:00
Christian
3fc6982e9a
Fix upgrading and downgrading of retained messages QoS for subscriptions ( #1564 )
2022-11-06 10:35:59 +01:00
Christian
d2ce9d607a
Fix freezes in _AsyncLock_ ( #1549 )
2022-10-23 08:16:45 +02:00
Christian
725cfb643f
Set MaximumQoS properly.
2022-06-24 18:52:50 +02:00
Christian
42cf9f73c2
Merge branch 'master' into 1413-protocol-version-132-mqtt-311-bridge-support
2022-06-10 23:27:00 +02:00
Christian
ec2e08668f
Add support for MQTT 3.1.1 Bridge flag.
2022-06-10 23:07:00 +02:00
Christian
b75076a1c5
Skip adding default message expiry interval.
2022-06-09 21:23:34 +02:00
Christian
7d95c238c3
Code cleanup.
2022-03-06 12:47:48 +01:00
Christian
2ce9b94ec9
v4.0.0 ( #1357 )
2022-02-20 21:10:46 +01:00
Christian
c756a4092f
Feature/mqttv5 subscriptions server ( #1246 )
...
* Add support for RetainHandling.
* Add support for No Local.
* Add support for _SubscriptionIdentifier_.
* Add more Unit Tests.
* Update docs.
2021-09-23 20:30:43 +02:00
Christian
cd8940f9b7
Improve internal server connection management. ( #1232 )
2021-09-08 18:01:56 +02:00
Christian
b97d01b78b
Fix wrong data validation ( #342 ).
2021-03-21 20:42:09 +01:00
Christian
ed520455d0
Use the data converter only when creating packets.
2021-02-19 21:45:23 +01:00
Christian
b88924bce5
Fixed wrong buffer size calculation.
2021-01-29 23:10:40 +01:00
Christian
f3f1d81b52
Update docs.
2021-01-29 22:44:18 +01:00
Christian
c1001db450
Add packet inspector API.
2021-01-24 20:58:15 +01:00
Christian
72211ae85a
Improve packet writer performance.
2020-12-14 21:17:22 +01:00
Christian Kratky
d0a848c8b4
Improve performance.
2020-11-13 20:33:47 +01:00
Christian Kratky
f252374437
Extend support for topic alias.
2020-11-11 21:12:04 +01:00
Christian Kratky
f894622884
Merge branch 'master' into feature/Single_Connection_Monitoring_Task
2020-11-09 21:29:38 +01:00
Christian Kratky
e1bf9de347
Add support for topic alias.
2020-11-09 21:10:05 +01:00
Christian Kratky
6c15693456
Add support for TopicAlias in application message builder.
2020-11-09 17:22:32 +01:00
Christian
6cef746ed9
Merge pull request #1021 from nayato/max-qos
...
Add support for Maximum QoS property on CONNACK
2020-11-06 20:00:09 +01:00
Max Gortman
344cf674e6
PR fixes
2020-11-05 16:55:50 -08:00
Christian Kratky
06c9d27c87
Fixed bug in PubRel packet generation (MQTTv5 only).
2020-11-04 21:28:40 +01:00
Max Gortman
14224e4180
Add support for Maximum QoS property on CONNACK
2020-11-03 12:19:38 -08:00
Christian Kratky
44b7133a1c
Improve keep alive tests.
2020-11-02 21:17:31 +01:00
Christian Kratky
b7fb0c1002
Refactor package object model.
2020-10-28 23:11:12 +01:00
Christian Kratky
a65c015a58
Refactor exception message.
2020-07-25 13:43:26 +02:00