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
8916df8d7b
Move ReuseAddress to server options.
2019-06-27 15:20:27 +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 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
Christian Kratky
ce05cc9936
Fix MQTTnet.Server connection validation.
2019-06-23 15:39:07 +02:00
Christian Kratky
985c3084a8
Performance refactoring.
2019-06-23 12:37:55 +02:00
Christian Kratky
5895a73f85
Merge remote-tracking branch 'origin/develop' into develop
2019-06-23 11:32:11 +02:00
Christian Kratky
961a497798
Performance refactoring.
2019-06-23 11:32:09 +02:00
vbBerni
a9017b8795
handle storage manager null
2019-06-22 22:31:48 +02:00
vbBerni
f76e130283
fix for failed publishing messages get removed from the message queue but not from the storage manager
2019-06-19 16:33:54 +02:00
Christian Kratky
0c7a5a992b
Expose more properties of the connection validator context in MQTTnet.Server. Migrate return code to reason code.
2019-06-14 20:38:07 +02:00
Christian Kratky
bd665c3d56
Expose more properties to connection validator context.
2019-06-14 20:37:06 +02:00
Christian Kratky
e4e46f0094
Add comments.
2019-06-11 20:51:23 +02:00
Christian Kratky
591ccfec29
Update authentication.
2019-06-09 14:13:50 +02:00
Christian Kratky
ffc1d950da
Add authorization for MQTTnet.Server
2019-06-09 00:10:26 +02:00
Christian Kratky
1c004ead6d
Add support for altering the TopicFilter in subscription interceptor.
2019-06-07 20:40:24 +02:00
Christian Kratky
b0ad6bda70
Add support for reset of connection statistics. Refactor keep alive monitor.
2019-06-06 21:12:32 +02:00
Christian Kratky
6262a16504
Add version to MQTTnet.Server.
2019-06-06 21:11:47 +02:00
Christian Kratky
0a6f564446
Add self contained builds in build script.
2019-06-06 20:26:41 +02:00
Christian Kratky
c3c0dcf313
Execute disconnected handler in new task.
2019-06-06 19:32:00 +02:00
Christian Kratky
60c6074953
Expose client certificate at MQTT connection validator. Make DualMode optional.
2019-06-06 19:31:43 +02:00
Christian Kratky
2b9b22def6
Expose new options in server TLS options.
2019-06-06 19:27:25 +02:00
Christian Kratky
ffe9c57ae8
Add overload for setting message payload.
2019-05-27 22:45:56 +02:00
Christian Kratky
2d03c267e4
Expose binary password to MqttConnectionValidatorContext.
2019-05-27 19:57:36 +02:00
Christian Kratky
ccfe67e6a6
Fix wrong password handling (string -> byte[])
2019-05-27 00:21:55 +02:00
hezlog
9fa9d22097
Fixed MQTTnet.noUWP.sln build issue.
2019-05-20 23:17:32 +08:00
Christian Kratky
e4351b73bd
Add connected timestamp to connection status API.
2019-05-19 22:23:10 +02:00
Christian Kratky
2d3fdd4faf
Update publish profile.
2019-05-18 20:51:19 +02:00
Christian Kratky
0a509fd685
Add publish profiles.
2019-05-18 20:50:29 +02:00
Christian Kratky
d1a17314ef
Add extension library for WebSocket4Net usage.
2019-05-18 09:48:44 +02:00
Christian Kratky
e96b66e9f8
Update splash screen for MQTTnet.Server.
2019-05-17 20:57:56 +02:00
Christian Kratky
80b05a8944
Add connack properties to authenticate result.
2019-05-17 20:57:40 +02:00
Christian Kratky
ab3df2ba65
Add subscribe options builder.
2019-05-17 20:57:15 +02:00
Christian Kratky
f169aaa79b
Add connack properties to connect result.
2019-05-17 20:56:58 +02:00
Christian Kratky
231001850a
Add support for extended authentication exchange.
2019-05-14 20:45:45 +02:00
Christian Kratky
4df29be155
Create MQTTnet.Server package from publish output instead build files.
2019-05-14 20:40:44 +02:00
Christian Kratky
c22b6033e3
Accept multiple SubscriptionIdentifiers for PUBLISH packets.
2019-05-12 17:26:36 +02:00
Christian Kratky
12973a4179
Fix issues in MQTTv5 packet encoding and decoding.
2019-05-12 00:18:48 +02:00
Christian Kratky
b02f30844c
Add new options for _MqttClientOptionsBuilder_.
2019-05-10 21:55:46 +02:00
Christian Kratky
1a8bcae47c
Add authentication result to disconnected handler.
2019-05-09 22:08:56 +02:00
Christian Kratky
664549ab93
Fix message encoding bugs.
2019-05-08 00:12:27 +02:00
Christian Kratky
3ef7f60a18
Fix wrong IsSessionPresent flag.
2019-05-06 20:27:24 +02:00
Christian Kratky
a278b6189b
Refactor empty payload detection for retained messages.
2019-05-01 19:41:34 +02:00
Christian Kratky
cdbdfdec6d
Add UnitTests.
2019-05-01 19:39:10 +02:00
Christian Kratky
808c2da5f6
Add PacketIdentifier for QoS 2.
2019-04-28 23:03:54 +02:00
Christian Kratky
6ed3b0cedd
Add ClientId for application messages published by the server.
2019-04-24 21:37:29 +02:00