Commit Graph
1658 Commits
Author SHA1 Message Date
Christian 22ccdf10c6 Migrate retained messages to the event based approach. 2021-11-01 11:20:46 +01:00
Christian 9ab85b3592 Merge branch 'master' of https://github.com/chkr1011/MQTTnet into feature/Reason_Code_In_Subscription_Interceptor
# Conflicts:
#	Source/MQTTnet/Server/Internal/MqttClientConnectionStatistics.cs
2021-10-30 10:19:08 +02:00
logicaloud 1e68c2e815 Fixes #1276 timestamp check in server keep-alive monitor (#1277)
* Fix timestamp check in server keep-alive monitor

* Retain the original client statistics property name
- add comments to clarify meaning
- add separate public "received" timestamp property

* fix comment
2021-10-30 10:12:57 +02:00
Christian 9d982eab5e Fix UnitTests. 2021-10-29 22:35:32 +02:00
Christian 6bad9f183c Merge branch 'master' of https://github.com/chkr1011/MQTTnet into feature/Reason_Code_In_Subscription_Interceptor
# Conflicts:
#	Build/MQTTnet.nuspec
#	Source/MQTTnet/Server/Internal/MqttClientSessionsManager.cs
2021-10-29 21:58:57 +02:00
Christian d5237bb3f5 Merge master. 2021-10-27 23:30:52 +02:00
Christian 1c6d4b9484 Remove obsolete code. 2021-10-27 23:27:18 +02:00
Christian a3f6a501dc Add interceptor for all packets. 2021-10-27 23:11:20 +02:00
Christian d7e1c89d62 Update docs. 2021-10-27 22:20:55 +02:00
Christian 369b262e07 Restore undelivered event. 2021-10-27 22:10:42 +02:00
Christian d411aa4f97 Move events to server level instead of options. 2021-10-27 22:01:45 +02:00
Christian 7297336786 Fix packet bus cancellation. 2021-10-26 22:12:34 +02:00
Christian 905306c312 Add more handling options to interceptor contexts. 2021-10-26 22:00:47 +02:00
Christian 131afc6ff2 Delete wrong Unit Tests. 2021-10-24 21:37:44 +02:00
Christian 43e4038212 Refactor code. 2021-10-24 21:19:40 +02:00
Christian 5af54963a0 Merge branch 'master' of https://github.com/chkr1011/MQTTnet into feature/Reason_Code_In_Subscription_Interceptor
# Conflicts:
#	Source/MQTTnet/Server/Internal/MqttClientSessionsManager.cs
2021-10-23 13:16:57 +02:00
Christian 0d985cff12 Remove obsolete data converter. 2021-10-23 13:12:02 +02:00
Christian 5974e2644e Create more factories for packets. 2021-10-23 10:58:21 +02:00
Christian 47bc8b4d31 Update docs. 2021-10-23 10:37:31 +02:00
patagona b779d04636 let the OS choose the supported TLS ptotocols when connecting to a MQTT broker (#1271) 2021-10-23 10:31:44 +02:00
logicaloud 623d8cafaa Fix #1263 - Set IsSessionPresent in CONNACK if client session exists (#1268)
* Set IsSessionPresent in CONNACK if client session exists

* Set IsSessionPresent in CONNACK if client session exists;
- restore white space differences to make comparison easier
2021-10-23 10:28:08 +02:00
Christian 1677db286c Start migration of server to new packet bus. 2021-10-22 22:44:06 +02:00
Christian 3835deb3d1 Refactor code. 2021-10-21 19:23:58 +02:00
Christian 212d88f167 Add new APIs. 2021-10-21 19:15:57 +02:00
Christian a15fbf532e Add session to subscribe interceptor. 2021-10-14 21:50:16 +02:00
Christian 87df9367a7 Improve Unit Tests. 2021-10-10 12:20:24 +02:00
Christian 8c9460337f Extend interceptors. 2021-10-10 10:56:14 +02:00
Christian db00682c75 Improve topic comparer. 2021-10-02 20:44:12 +02:00
Christian 0920c86d37 Refactor logger. (#1247) 2021-09-26 11:05:00 +02: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 feb53e78c6 Update docs. 2021-09-19 13:02:15 +02:00
Ablfzl Edgelolliandablfzl dd0aba0640 Process all queued message before server stops (#1234)
* process all queued message befor server stops

* fix an issue

Co-authored-by: ablfzl <ablfzl21@outlook.com>
2021-09-19 13:01:47 +02:00
Christian 68f1043ef5 Refactor sub/unsub management in managed client. 2021-09-19 12:59:32 +02:00
scottbrogden-iheartmedia d01d859227 Added option for how many subscriptions to send in a single call to t… (#1209)
* Added option for how many subscriptions to send in a single call to the server.  aws iotcore limits this to 8

* Split subscription messages up to 8 at a time when reconnecting
2021-09-19 12:41:33 +02:00
Marc Sallin fcab0d5cf0 Add Silverback to references in readme (#1238) 2021-09-19 12:35:19 +02:00
HansM b66a18f8dd Merge pull request #1241 from soyoo/master
Update README.md
2021-09-15 19:33:13 +02:00
zhengshuyuan 8e1e93c00f Update README.md
fix typo
2021-09-15 21:10:49 +08:00
Christian cd8940f9b7 Improve internal server connection management. (#1232) 2021-09-08 18:01:56 +02:00
Jacky Jiang 9d9077f17c Update MqttApplicationMessageBuilder.cs (#1230)
update function WithMessageExpiryInterval description
2021-09-08 15:45:18 +02:00
Christian fa6859d68a Merge branch 'master' of https://github.com/chkr1011/MQTTnet 2021-09-05 13:32:50 +02:00
Christian 4f14373117 Add Unit Tests. 2021-09-05 13:32:46 +02:00
Christian 90ec39f2a4 Refactor code. 2021-09-05 13:31:36 +02:00
Christian 2aa4d1b77a Add low level client to test environment. 2021-09-05 13:31:23 +02:00
Christian aa9f8d8ef3 Update release notes. 2021-09-05 13:30:39 +02:00
Nikita Senkov 50381637af Updated _ReconnectAsync_ extension methods to retrieve authentication result (#1202) 2021-09-05 11:49:52 +02:00
Harry Kakoulidis 8905b612c9 Updated tests with public servers. (#1223)
* Updated tests with public servers.

* Separated tests with TLS12 and TLS13.
2021-09-05 11:45:30 +02:00
HansM 3cdf6d1261 [MQTTnet, MQTTnet.Extensions.ManagedClient] Fixed bug that allowed invalid subscriptions (Thanks to @marcelwinh). (#1226) 2021-09-05 11:42:42 +02:00
Christian d1c883ebae Move MQTTnet.Server to dedicated repo. 2021-06-29 20:18:20 +02:00
Christian ed5e6ee897 Update project files. v3.0.16 2021-06-28 20:39:10 +02:00
Christian 2e019f372c Update docs. 2021-06-27 17:02:04 +02:00