Christian
c6f4b59438
Increase delay for Keep Alive checks to decrease CPU load.
3 years ago
Christian
b362b2afc2
Make logger parameters generic.
3 years ago
Günther Foidl
bd40e10a66
Elide repeated Action-delegate allocation by caching it ( #1324 )
* Elide repeated Action-delegate allocation by caching it
Here C# compiler has too little knowledge about the usage of the delegate, we know better so cache it on our own to avoid the repeated allocation.
* Use conditional compilation
3 years ago
Günther Foidl
d98129481a
Fixed latent bug in MqttApplicationMessageBuilder.WithPayload stream overload ( #1322 )
3 years ago
patagona
39e637795e
improve exception message when handling connection errors ( #1302 )
3 years ago
logicaloud
731c89d2e9
Fix MQTT5 'IsPersisted' session flag handling ( #1300 )
3 years ago
Michi
25ddfc83a8
MqttRpcClient now adds ResponseTopic to MqttApplicationMessage when using MQTT v5 ( #1295 )
* MqttRpcClient now adds ResponseTopic to MqttApplicationMessage when using MQTT v5
* No need for conditional protocol check (ResponseTopic property won't be added by PacketFormatter in <MQTT v5)
* Cleanup: Remove using
3 years ago
logicaloud
f0ea13c07f
Fix MQTT 3.1.1 session persistence when CleanSession=1 ( #1294 )
3 years ago
HansM
258df6bb14
Removed IDisposable from MqttClientConnection class. ( #1288 )
3 years ago
Christian
8020e66f41
Fix UWP build errors.
3 years ago
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
3 years ago
Christian
d7e1c89d62
Update docs.
3 years ago
patagona
b779d04636
let the OS choose the supported TLS ptotocols when connecting to a MQTT broker ( #1271 )
3 years ago
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
3 years ago
Christian
0920c86d37
Refactor logger. ( #1247 )
3 years ago
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.
3 years ago
Ablfzl Edgelolli
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>
3 years ago
Christian
68f1043ef5
Refactor sub/unsub management in managed client.
3 years ago
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
3 years ago
Christian
cd8940f9b7
Improve internal server connection management. ( #1232 )
3 years ago
Jacky Jiang
9d9077f17c
Update MqttApplicationMessageBuilder.cs ( #1230 )
update function WithMessageExpiryInterval description
3 years ago
Christian
90ec39f2a4
Refactor code.
3 years ago
Nikita Senkov
50381637af
Updated _ReconnectAsync_ extension methods to retrieve authentication result ( #1202 )
3 years ago
HansM
3cdf6d1261
[MQTTnet, MQTTnet.Extensions.ManagedClient] Fixed bug that allowed invalid subscriptions (Thanks to @marcelwinh ). ( #1226 )
3 years ago
Christian
d1c883ebae
Move MQTTnet.Server to dedicated repo.
3 years ago
Christian
ed5e6ee897
Update project files.
3 years ago
Christian
306bce5a58
Refactor code.
3 years ago
Ramon Smits
6fe7ce7a0c
FIxed `MqttNetLogLevel.Verbose` incorrectly mapped to `LogLevel.Debug` ( #1170 )
Based on https://github.com/chkr1011/MQTTnet/issues/1138#issuecomment-846649937
3 years ago
Christian
8f1d4e3c22
Remove client disconnected handler from wrong implementation location.
3 years ago
Christian
77338527b4
Refactor code.
3 years ago
SilverFox
899ed7b1da
Rename MqttClient.ConnectState to MqttClientConnectionStatus
3 years ago
SilverFox
d913d4402e
Convert MqttClient._connectState to enum
3 years ago
SilverFox
df262b5588
Fix UWP support broken in #1135
3 years ago
SilverFox
e174546b5a
Add more checks for NET5_0
3 years ago
SilverFox
f99daee4d1
Fix Session_Tests.Manage_Session_MaxParallel
3 years ago
SilverFox
9b10eadb24
Fix broken tests
3 years ago
SilverFox
c39da42ef2
Disallow to call MqttClient.ConnectAsync while Disconnect is pending.
Fix #996
Fix #1010
3 years ago
Wang Chunlong
85b339e6f0
rename
3 years ago
Christian
fbb5cd45a0
Refactor deferred ACK of publish packets.
3 years ago
Wang Chunlong
cf8ea872d3
Disconnected Endpoint
3 years ago
Christian
b97d01b78b
Fix wrong data validation ( #342 ).
3 years ago
tamas.kurucsai
90b37a1e2d
reimplemented delayed acknowledgement using a property to switch off automatic acknowledgement and a new method Acknowledge() in the event handler
3 years ago
Christian
a01dc9fef8
Add new overload for server options builder.
3 years ago
Christian
5915285522
Fix TLS parameter options builder ( #1104 ).
3 years ago
Christian
12f346115f
Improve RPC client handling.
3 years ago
Christian
b766c1bebb
Refactor keep alive message handling in order to fix issues with sudden disconnects.
3 years ago
Christian
ed520455d0
Use the data converter only when creating packets.
3 years ago
Christian
cfc4ebe6a3
Expose Dup flag in application messages ( #1096 ).
3 years ago
Christian
120b7fb7d1
Fix RPC issue #1093 by calling both message handlers.
3 years ago
SilverFox
8b164a4846
Update nuspecs
Manually sync with the file generated by `msbuild /t:pack` or `dotnet pack`, and remove some unnessary dependencies
3 years ago