Andrei Mikhalevich
e7fa465616
DIspose semaphore in MqttChannelAdapter
4 years ago
Graham Watts
fd8caed9af
Add .NET 3.1 target
Add .NET Core 3.1 target that uses ASP.NET Core framework reference instead of NuGet package references
4 years ago
Christian Kratky
ce51d12a03
Update SDK versions.
5 years ago
Christian Kratky
073cd5243f
Update docs. Add UnitTests.
5 years ago
Christian Kratky
2767d897a4
Fix serialization issue of MQTTv5 PubRec packet.
5 years ago
JanEggers
a4420063c0
fixed #743
5 years ago
Christian Kratky
b09f31d654
Fix TCP server adpater when using empty password.
5 years ago
Christian Kratky
2e3cf54f11
Add support for different strategies when generating RPC topics.
5 years ago
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.
5 years ago
Christian Kratky
0cfb8b4020
Remove not async task handling.
5 years ago
Christian Kratky
9ac726b271
Revert "Remove dedicated UWP builds and code."
This reverts commit 6d0e2c2022
.
5 years ago
Christian Kratky
6d0e2c2022
Remove dedicated UWP builds and code.
5 years ago
Christian Kratky
8ad1fb2871
Refactor server certificate classes (breaking change).
5 years ago
Christian Kratky
4a7ff9e9ed
Add TLS certificate password support for MQTTnet.Server.
5 years ago
Christian Kratky
524f695829
Update docs.
5 years ago
Craig Lutgen
59d2a8e551
Changed server crentials property name from password to certificateCredentials
5 years ago
Craig Lutgen
9d63500f95
Fix build issue with UWP
5 years ago
Craig Lutgen
a03bdc7616
Expose server certificate password and client certificate options to MqttServerOptionsBuilder
5 years ago
Christian Kratky
8bfbbd2b29
Refactoring.
5 years ago
Christian Kratky
975eb60e90
Fix memory leak when SSL is not working properly.
5 years ago
Christian Kratky
9cc96f1888
Refactor log messages.
5 years ago
Paul Fake
5c40577bec
Fixed AsyncLock::WaitAsync cancellation bug
There isn't any code in MQTTnet that actually uses a cancellation token in WaitAsync, so this is more of a preventative thing than a bug fix. The original code just checks if the task was completed, not whether it was cancelled. If the process is cancelled immediately before the call to WaitAsync, it'll return as normal (https://referencesource.microsoft.com/#mscorlib/system/threading/SemaphoreSlim.cs,612 ) rather than throw a cancellation exception. This change will ensure we only return the releaser if the wait actually ran to completion rather than exited early due to cancellation. I've tested this, and it properly throws a cancellation exception later on.
5 years ago
Christian Kratky
ed06ea6bc9
Add version information to MQTTnet.Server.
5 years ago
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.
5 years ago
Rudá Cunha
128484c55a
X509Certificate convert to X509Certificate2 in ClientCertificate
5 years ago
Christian Kratky
ff22c34bb2
Add first classes for persisted session support.
5 years ago
Christian Kratky
e7ba3f76dc
Add options builder methods for remote certificate validation callback.
5 years ago
Rudá Cunha
ba8ce15ab4
Add remote certificate validation callback on server
5 years ago
Christian Kratky
4eb2b77138
Fix wrong NoDelay usage in server implementation.
5 years ago
Jan Eggers
4f66614cdd
fixed #691
5 years ago
Christian Kratky
6608172719
MQTTnet.Server: Extend messages API.
5 years ago
Christian Kratky
6c8db47e25
Remove dedicated values from contexts and only provide session items.
5 years ago
Christian Kratky
3eb5e82d10
Expose connect packet in application message interceptor and subscription interceptor.
5 years ago
Christian Kratky
019f428f0a
MQTTnet.Server: Add HTTP API for publishing of messages.
5 years ago
Christian Kratky
8916df8d7b
Move ReuseAddress to server options.
5 years ago
Christian Kratky
b3ab7a1069
Set socket options to allow reusing address.
5 years ago
Christian Kratky
6af58ad90d
Fix MQTTnet.Server startup colors.
5 years ago
Christian Kratky
7a767c7d2f
Improve logging and exception handling when stopping the server.
5 years ago
Christian Kratky
dd96cf98a8
Make storage update for managed client async.
5 years ago
Christian Kratky
6ee3d1640f
Improve logging.
5 years ago
Christian Kratky
6f8272210c
Fix MQTTnet.Server app settings to allow external connections.
5 years ago
Christian Kratky
ce05cc9936
Fix MQTTnet.Server connection validation.
5 years ago
Christian Kratky
985c3084a8
Performance refactoring.
5 years ago
Christian Kratky
961a497798
Performance refactoring.
5 years ago
vbBerni
a9017b8795
handle storage manager null
5 years ago
vbBerni
f76e130283
fix for failed publishing messages get removed from the message queue but not from the storage manager
5 years ago
Christian Kratky
0c7a5a992b
Expose more properties of the connection validator context in MQTTnet.Server. Migrate return code to reason code.
5 years ago
Christian Kratky
bd665c3d56
Expose more properties to connection validator context.
5 years ago
Christian Kratky
e4e46f0094
Add comments.
5 years ago
Christian Kratky
591ccfec29
Update authentication.
5 years ago