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
Christian Kratky
ffc1d950da
Add authorization for MQTTnet.Server
5 years ago
Christian Kratky
1c004ead6d
Add support for altering the TopicFilter in subscription interceptor.
5 years ago
Christian Kratky
b0ad6bda70
Add support for reset of connection statistics. Refactor keep alive monitor.
5 years ago
Christian Kratky
6262a16504
Add version to MQTTnet.Server.
5 years ago
Christian Kratky
0a6f564446
Add self contained builds in build script.
5 years ago
Christian Kratky
c3c0dcf313
Execute disconnected handler in new task.
5 years ago
Christian Kratky
60c6074953
Expose client certificate at MQTT connection validator. Make DualMode optional.
5 years ago
Christian Kratky
2b9b22def6
Expose new options in server TLS options.
5 years ago
Christian Kratky
ffe9c57ae8
Add overload for setting message payload.
5 years ago