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
f79649d71b
1612 mqttserver subscription to similar base and subtopic with wildcards fails ( #1622 )
2022-12-07 20:59:52 +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
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
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
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
7ef137e26e
No longer fire _ClientAcknowledgedPublishPacketEvent_ for PUBREC packets ( #1550 ) ( #1551 )
2022-11-06 10:29:49 +01:00
Christian
d2ce9d607a
Fix freezes in _AsyncLock_ ( #1549 )
2022-10-23 08:16:45 +02:00
Christian
7e686d9aa5
Refactor code.
2022-09-15 09:09:08 +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
b976e9c177
Fix build errors.
2022-08-03 20:44:58 +02:00
Christian
262a4681ad
Merge branch '1291-access-client-status-in-client-disconnected-handler'
2022-08-03 20:40:53 +02:00
Christian
29a9941d86
Fix breaking changes.
2022-07-31 11:10:38 +02:00
Christian
5a21939e29
Squashed commit of the following:
...
commit 469caf656e
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sun Jul 31 10:55:40 2022 +0200
Fix build errors.
commit 42402fba04
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sun Jul 31 10:22:23 2022 +0200
Allow interception of injected application messages.
commit a0dc8ab0d7
Author: William Lee <31092948+william19821101@users.noreply.github.com >
Date: Sun Jul 31 15:50:14 2022 +0800
Update Server_Simple_Samples.cs (#1474 )
Change e.UserName to e.Username
2022-07-31 11:09:39 +02:00
Christian
469caf656e
Fix build errors.
2022-07-31 10:55:40 +02:00
Christian
42402fba04
Allow interception of injected application messages.
2022-07-31 10:22:23 +02:00
Christian
02ede5a2d8
Update MqttClient.cs
2022-07-24 10:44:27 +02:00
Christian
cef61900df
Merge branch 'master' into 1291-access-client-status-in-client-disconnected-handler
2022-07-23 18:09:05 +02:00
Christian
09385b1b36
Pass session item to several more event handers.
2022-07-23 18:07:49 +02:00
Christian
cbf413f04e
Squashed commit of the following: 1125-expose-http-context-in-validateconnectionasync
...
commit 353c9671a04a273798b0b3775be5f0764bfd7edf
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sat Jul 23 15:33:01 2022 +0200
Remove usage of obsolete stuff.
commit 1f3c35685c7a65453c37a37e8c54a2ca4305ff6d
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sat Jul 23 15:30:54 2022 +0200
Update ValidatingConnectionEventArgs.cs
commit a5e1b8938974b5b57e95ec41d74634ca130a8ad5
Merge: 8878efee 11249d00
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sat Jul 23 15:30:30 2022 +0200
Merge branch 'master' into 1125-expose-http-context-in-validateconnectionasync
commit 8878efee0da3c67d90bb7fb6946453f62329cd8e
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sat Jul 23 15:30:03 2022 +0200
Expose channel adapter when validating connections.
2022-07-23 15:33:53 +02:00
Christian
0d7b020994
Squashed commit of the following: 487-any-way-to-generate-events-on-receipt-of-puback-or-pubrec-packets
...
commit 3f2f8d4b0a31b20734eca3fff86c43bd1ac3e3ad
Merge: 34babbf2 d71ff3d6
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sat Jul 23 11:06:22 2022 +0200
Merge branch 'master' into 487-any-way-to-generate-events-on-receipt-of-puback-or-pubrec-packets
commit 34babbf2714b742bc4f3802804a1a07159d38e22
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Mon Jul 11 22:56:01 2022 +0200
Fix typo.
commit add6277458f528fc03bf4a1ba228a55c5a8d1a80
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sat Jul 2 12:50:13 2022 +0200
Add new event for client acknowledges.
2022-07-23 11:08:53 +02:00
Christian
36b1ed06f0
Update MqttClient.cs
2022-07-01 16:54:53 +02:00
Christian
305c552474
Squashed commit of the following:
...
commit 0cbf50427ca6fb343cfa22ccbcd06aad5ea2b4c2
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Mon Jun 20 21:02:50 2022 +0200
Fix firing of _ClientSubscribedTopicAsync_ event.
2022-06-27 20:41:34 +02:00
Christian
8231d62f9f
Squashed commit of the following:
...
commit 9f289152736a682a8c31fbe7720dade37dbb1cb5
Author: Christian <6939810+chkr1011@users.noreply.github.com >
Date: Sun Jun 26 13:38:35 2022 +0200
Fix message storage.
2022-06-27 20:39:53 +02:00
Christian
a3c7f9a22c
Fix handling of retained messages with QoS > 0.
2022-06-15 21:56:13 +02:00
Tim
9e47a0985b
Allow to change cipher suite ( #1381 )
...
* Allow to change the used Cipher Suite
* Also added cipher suite to the mqtt client part
* Added ConfigureAwait
2022-04-21 21:02:39 +02:00
Christian
fcf276dd1a
Improve Server packet management.
2022-04-21 20:48:52 +02:00
Christian
7cf454952f
Restore interfaces.
2022-04-05 20:00:49 +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
logicaloud
731c89d2e9
Fix MQTT5 'IsPersisted' session flag handling ( #1300 )
2021-11-28 12:51:29 +01:00
logicaloud
f0ea13c07f
Fix MQTT 3.1.1 session persistence when CleanSession=1 ( #1294 )
2021-11-13 10:05:54 +01:00
HansM
258df6bb14
Removed IDisposable from MqttClientConnection class. ( #1288 )
2021-11-11 20:10:35 +01: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
d7e1c89d62
Update docs.
2021-10-27 22:20:55 +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
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
Ablfzl Edgelolli and ablfzl
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