Craig Lutgen
d7948afd98
Fix client SslStream certificate chain CRL validation. The logic was inverse and CRLs were never checked.
Add a missing dispose in managed client.
il y a 5 ans
Christian Kratky
9ac726b271
Revert "Remove dedicated UWP builds and code."
This reverts commit 6d0e2c2022
.
il y a 5 ans
Christian Kratky
6d0e2c2022
Remove dedicated UWP builds and code.
il y a 5 ans
Christian Kratky
9cc96f1888
Refactor log messages.
il y a 5 ans
Paul Fake
e1590fc0c8
Fixed storage queue race condition
Sometimes, TryPublishQueuedMessageAsync would try to remove a message from the storage queue before PublishAsync added it to the storage queue, resulting in a message being stuck in the storage queue forever. Switched the message queue lock to an async lock and synchronized the storage queue updates with the message queue updates.
il y a 5 ans
Christian Kratky
dd96cf98a8
Make storage update for managed client async.
il y a 5 ans
vbBerni
a9017b8795
handle storage manager null
il y a 5 ans
vbBerni
f76e130283
fix for failed publishing messages get removed from the message queue but not from the storage manager
il y a 5 ans
hezlog
9fa9d22097
Fixed MQTTnet.noUWP.sln build issue.
il y a 5 ans
Christian Kratky
61b10a8b56
Add extension methods.
il y a 5 ans
Christian Kratky
7c3d88f62d
Add validation for topics before publishing.
il y a 5 ans
Christian Kratky
cd76f434e3
Fix breaking changes.
il y a 5 ans
Christian Kratky
cd1bfc3a10
Auto stash before merge of "develop" and "feature/server-project-bootstrap"
il y a 5 ans
Christian Kratky
03bfc5f00b
Refactor event handler namings.
il y a 5 ans
Christian Kratky
8708609498
Add more function mappings for MQTTnet Server.
il y a 5 ans
Dominik Psenner
b9e0dbf150
Add extension methods that provide a simpler api for IMqttClient and IManagedMqttClient connect/disconnect when the handlers do not need async/await
il y a 5 ans
vbBerni
2a4eb460da
StopAsync now waits until the managed client is stoped and more typical disposing of internal client
il y a 5 ans
Dominik Psenner
2000de15e7
Add async handlers for connect and disconnect, too
.. this allows a client to properly async publish on connect.
il y a 5 ans
Dominik Psenner
5e6b902430
Add convenience extensions to the managed client
il y a 5 ans
Dominik Psenner
a1f414a06d
Add async handler interfaces for connected and disconnected to allow async code to execute on connect
il y a 5 ans
Berni
de3a39bdc2
Fix Managed Client should dispose inner mqtt client #527
il y a 5 ans
Berni
506873ed5b
fix logger logId not used in ManagedMqttClient
il y a 5 ans
Christian Kratky
6a2bded181
Refactor session and connection handling in server. Fix QoS level 2 issues.
il y a 6 ans
Christian Kratky
ebf0e91ab8
Refactor subscribe and unsubscribe to support MQTTv5.
il y a 6 ans
Christian Kratky
c0507fcc55
Refactor interceptors etc. to support async.
il y a 6 ans
Christian Kratky
cc113a6c34
Refactor namespaces.
il y a 6 ans
Christian Kratky
619eaf284d
Add readonly property for client options.
il y a 6 ans
Federico Di Gregorio
bc1a197c4f
Align conditions in dependent project with conditions in MQTTnet
il y a 6 ans
Christian Kratky
43105f71d8
Refactor removal from blocking queue.
il y a 6 ans
Paul Fake
2a93fc18e4
Made comparison function static
il y a 6 ans
Paul Fake
31de6ee186
Delegate comparison function
il y a 6 ans
Paul Fake
d1c3d9b453
Removed unnecessary code
il y a 6 ans
Paul Fake
baa9241216
Revert "Changes to this file no longer needed"
This reverts commit 2c6c3ac6a4
.
il y a 6 ans
Paul Fake
2c6c3ac6a4
Changes to this file no longer needed
il y a 6 ans
Paul Fake
b2c31331b6
Peek-and-publish model
We had been seeing an issue in which the queue could grow larger than the configured cap. I examined the code and saw that this could happen if _mqttClient.PublishAsync() throws an exception, in which case a message can be re-enqueued without honoring the cap. Furthermore, I saw that it was possible for the DropOldestQueuedMessage strategy to drop messages that were not actually the oldest ones, because when re-enqueueing the messages in the queue are no longer ordered by the original time they entered the queue. It made sense to us to peek at the message when publishing rather than dequeue it, so that when re-enqueueing after an exception 1) the cap is still honored and 2) the order of queued messages isn't altered. It's ok if another thread removes the message that's currently being published from the queue due to the cap, because all we have to do then is check if it's already been removed before removing it ourselves.
il y a 6 ans
Paul Fake
210d57b254
IEquatable for speed
IEquatable for speed in using EqualityComparer<TItem>.Default.Equals
il y a 6 ans
Christian Kratky
bddcbf6999
Refactor code.
il y a 6 ans
Christian Kratky
7181813f12
Fix pending messages overflow strategy issue.
il y a 6 ans
Christian Kratky
28efbcdb3d
Add max pending messages options for ManagedClient.
il y a 6 ans
Christian Kratky
682298b69f
Fix issue in pending messages handling for managed client.
il y a 6 ans
Christoph Stichlberger
80fbb2f0b2
Prevent unsubscription overtaking later subscription
il y a 6 ans
Jens-Christian Skibakk
740a35b018
Skip build uap10.0 when using dotnet cli
il y a 6 ans
Christian Kratky
ce534baa75
Move the connection check interval of the ManagedClient to the options.
il y a 6 ans
Jan Eggers
4fc1912ee8
fixed assembly versions
il y a 6 ans
Christian Kratky
e8d5bd7bfb
Add new properties and events for the managed client.
il y a 6 ans
Christian Kratky
bc20850fba
Refactor serializer locking and thread instances.
il y a 6 ans
Christian Kratky
6192685671
Remove batch sending of messages to prevent message reordering and several required awaits.
il y a 6 ans
Christian Kratky
20779dfece
Reorganize solution structure.
il y a 6 ans