Christian Kratky
8ad1fb2871
Refactor server certificate classes (breaking change).
пре 5 година
Christian Kratky
4a7ff9e9ed
Add TLS certificate password support for MQTTnet.Server.
пре 5 година
Christian Kratky
524f695829
Update docs.
пре 5 година
Craig Lutgen
59d2a8e551
Changed server crentials property name from password to certificateCredentials
пре 5 година
Craig Lutgen
9d63500f95
Fix build issue with UWP
пре 5 година
Craig Lutgen
a03bdc7616
Expose server certificate password and client certificate options to MqttServerOptionsBuilder
пре 5 година
Christian Kratky
8bfbbd2b29
Refactoring.
пре 5 година
Christian Kratky
975eb60e90
Fix memory leak when SSL is not working properly.
пре 5 година
Christian Kratky
9cc96f1888
Refactor log messages.
пре 5 година
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 година
Christian Kratky
ed06ea6bc9
Add version information to MQTTnet.Server.
пре 5 година
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 година
Rudá Cunha
128484c55a
X509Certificate convert to X509Certificate2 in ClientCertificate
пре 5 година
Christian Kratky
ff22c34bb2
Add first classes for persisted session support.
пре 5 година
Christian Kratky
e7ba3f76dc
Add options builder methods for remote certificate validation callback.
пре 5 година
Rudá Cunha
ba8ce15ab4
Add remote certificate validation callback on server
пре 5 година
Christian Kratky
4eb2b77138
Fix wrong NoDelay usage in server implementation.
пре 5 година
Jan Eggers
4f66614cdd
fixed #691
пре 5 година
Christian Kratky
6608172719
MQTTnet.Server: Extend messages API.
пре 5 година
Christian Kratky
6c8db47e25
Remove dedicated values from contexts and only provide session items.
пре 5 година
Christian Kratky
3eb5e82d10
Expose connect packet in application message interceptor and subscription interceptor.
пре 5 година
Christian Kratky
019f428f0a
MQTTnet.Server: Add HTTP API for publishing of messages.
пре 5 година
Christian Kratky
8916df8d7b
Move ReuseAddress to server options.
пре 5 година
Christian Kratky
b3ab7a1069
Set socket options to allow reusing address.
пре 5 година
Christian Kratky
6af58ad90d
Fix MQTTnet.Server startup colors.
пре 5 година
Christian Kratky
7a767c7d2f
Improve logging and exception handling when stopping the server.
пре 5 година
Christian Kratky
dd96cf98a8
Make storage update for managed client async.
пре 5 година
Christian Kratky
6ee3d1640f
Improve logging.
пре 5 година
Christian Kratky
6f8272210c
Fix MQTTnet.Server app settings to allow external connections.
пре 5 година
Christian Kratky
ce05cc9936
Fix MQTTnet.Server connection validation.
пре 5 година
Christian Kratky
985c3084a8
Performance refactoring.
пре 5 година
Christian Kratky
961a497798
Performance refactoring.
пре 5 година
vbBerni
a9017b8795
handle storage manager null
пре 5 година
vbBerni
f76e130283
fix for failed publishing messages get removed from the message queue but not from the storage manager
пре 5 година
Christian Kratky
0c7a5a992b
Expose more properties of the connection validator context in MQTTnet.Server. Migrate return code to reason code.
пре 5 година
Christian Kratky
bd665c3d56
Expose more properties to connection validator context.
пре 5 година
Christian Kratky
e4e46f0094
Add comments.
пре 5 година
Christian Kratky
591ccfec29
Update authentication.
пре 5 година
Christian Kratky
ffc1d950da
Add authorization for MQTTnet.Server
пре 5 година
Christian Kratky
1c004ead6d
Add support for altering the TopicFilter in subscription interceptor.
пре 5 година
Christian Kratky
b0ad6bda70
Add support for reset of connection statistics. Refactor keep alive monitor.
пре 5 година
Christian Kratky
6262a16504
Add version to MQTTnet.Server.
пре 5 година
Christian Kratky
0a6f564446
Add self contained builds in build script.
пре 5 година
Christian Kratky
c3c0dcf313
Execute disconnected handler in new task.
пре 5 година
Christian Kratky
60c6074953
Expose client certificate at MQTT connection validator. Make DualMode optional.
пре 5 година
Christian Kratky
2b9b22def6
Expose new options in server TLS options.
пре 5 година
Christian Kratky
ffe9c57ae8
Add overload for setting message payload.
пре 5 година
Christian Kratky
2d03c267e4
Expose binary password to MqttConnectionValidatorContext.
пре 5 година
Christian Kratky
ccfe67e6a6
Fix wrong password handling (string -> byte[])
пре 5 година
Christian Kratky
396e0e1697
Add connected timestamp to connection status API.
пре 5 година