Christian Kratky
f3ea7008e5
Merge remote-tracking branch 'origin/develop' into develop
2019-07-30 20:35:39 +02:00
Christian Kratky
8bfbbd2b29
Refactoring.
2019-07-30 20:35:33 +02:00
Christian Kratky
ab8c7df0b9
Add unit Tests.
2019-07-30 20:35:22 +02:00
Christian Kratky
975eb60e90
Fix memory leak when SSL is not working properly.
2019-07-30 20:02:46 +02:00
Christian Kratky
6076151222
Update docs.
2019-07-30 20:01:57 +02:00
Christian Kratky
9cc96f1888
Refactor log messages.
2019-07-30 20:01:45 +02:00
Christian
4c33270d26
Merge pull request #718 from PaulFake/patch-3
...
Fixed AsyncLock::WaitAsync cancellation bug
2019-07-26 21:23:29 +02:00
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.
2019-07-23 16:20:36 -04:00
Christian Kratky
3d404f9755
Fixed build.
2019-07-23 22:08:51 +02:00
Christian Kratky
1b5e0197e4
Update docs.
2019-07-23 21:56:14 +02:00
Christian
1dab729d84
Merge pull request #717 from PaulFake/patch-2
...
Storage queue drain test
2019-07-23 21:54:48 +02:00
Christian
3eac5bcaf3
Merge pull request #709 from PaulFake/patch-1
...
Fixed storage queue race condition
2019-07-23 21:54:21 +02:00
Paul Fake
8eb23f0f1d
Storage queue drain test
...
It's a unit test to ensure the storage queue is drained.
2019-07-23 15:45:50 -04:00
Christian Kratky
ed06ea6bc9
Add version information to MQTTnet.Server.
2019-07-19 19:32:33 +02:00
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.
2019-07-17 16:55:56 -04:00
Christian Kratky
dbb227406b
Added UnitTests.
2019-07-17 21:58:37 +02:00
Christian
b891e1d1f4
Update issue templates
2019-07-17 19:45:08 +02:00
Christian
1d697e3b87
Merge pull request #702 from rudacs/clientCertificate-is-null
...
X509Certificate convert to X509Certificate2 in ClientCertificate
2019-07-15 19:18:03 +02:00
Rudá Cunha
128484c55a
X509Certificate convert to X509Certificate2 in ClientCertificate
2019-07-15 10:46:45 -03:00
Christian Kratky
ff22c34bb2
Add first classes for persisted session support.
2019-07-12 20:36:46 +02:00
Christian Kratky
e7ba3f76dc
Add options builder methods for remote certificate validation callback.
2019-07-11 23:03:56 +02:00
Christian
1ae3324581
Merge pull request #697 from rudacs/add-server-remove-validation-callback
...
Add remote certificate validation callback on server
2019-07-11 22:56:36 +02:00
Rudá Cunha
ba8ce15ab4
Add remote certificate validation callback on server
2019-07-11 16:28:09 -03:00
Christian Kratky
87b4ce5185
Extend build and upload script to publish symbols as well.
2019-07-11 21:28:07 +02:00
Christian Kratky
4eb2b77138
Fix wrong NoDelay usage in server implementation.
2019-07-11 21:11:11 +02:00
Christian Kratky
70ee49f3c6
Merge remote-tracking branch 'origin/develop' into develop
2019-07-09 22:42:50 +02:00
Christian Kratky
f223a26748
Update docs.
2019-07-09 22:42:44 +02:00
Christian
4574fdc951
Merge pull request #693 from JanEggers/pr/fix691
...
fixed #691
2019-07-09 22:39:48 +02:00
Jan Eggers
4f66614cdd
fixed #691
2019-07-09 14:15:46 +02:00
Christian Kratky
6608172719
MQTTnet.Server: Extend messages API.
2019-07-07 21:26:07 +02:00
Christian Kratky
6c8db47e25
Remove dedicated values from contexts and only provide session items.
2019-07-05 18:28:18 +02:00
Christian Kratky
3eb5e82d10
Expose connect packet in application message interceptor and subscription interceptor.
2019-07-04 23:06:37 +02:00
Christian Kratky
8563230f9c
Update docs.
2019-07-04 20:38:01 +02:00
Christian Kratky
019f428f0a
MQTTnet.Server: Add HTTP API for publishing of messages.
2019-07-04 20:27:48 +02:00
Christian Kratky
1847af13d2
Merge branch 'develop'
v3.0.5
2019-06-28 10:20:51 +02:00
Christian Kratky
8916df8d7b
Move ReuseAddress to server options.
2019-06-27 15:20:27 +02:00
Christian Kratky
f66da92299
Merge branch 'develop'
v3.0.4
2019-06-27 10:02:59 +02:00
Christian Kratky
979df5f17e
Fix broken nuget builds.
2019-06-27 10:02:47 +02:00
Christian Kratky
d50c8153b2
Merge branch 'master' into develop
2019-06-26 11:42:44 +02:00
Christian Kratky
b3ab7a1069
Set socket options to allow reusing address.
2019-06-24 13:46:51 +02:00
Christian Kratky
6af58ad90d
Fix MQTTnet.Server startup colors.
2019-06-24 13:46:27 +02:00
Christian
5c36a2d402
Merge pull request #671 from SeppPenner/patch-1
...
Added dependents and MIT license badge to the readme.
2019-06-24 13:40:26 +02:00
HansM
6df70cc5ed
Added dependents and MIT license badge to the readme.
2019-06-24 11:21:24 +02:00
Christian Kratky
d5b0893e90
Merge branch 'master' into develop
2019-06-23 21:50:42 +02:00
Christian Kratky
2ed8e55394
Fix upload script.
v3.0.3
2019-06-23 21:46:06 +02:00
Christian Kratky
c5b6ca204d
Merge branch 'develop'
2019-06-23 21:37:35 +02:00
Christian Kratky
7a767c7d2f
Improve logging and exception handling when stopping the server.
2019-06-23 15:58:21 +02:00
Christian Kratky
dd96cf98a8
Make storage update for managed client async.
2019-06-23 15:57:48 +02:00
Christian Kratky
6ee3d1640f
Improve logging.
2019-06-23 15:57:12 +02:00
Christian Kratky
6f8272210c
Fix MQTTnet.Server app settings to allow external connections.
2019-06-23 15:39:50 +02:00