Christian
23e93212a4
Merge pull request #800 from stepkillah/develop
Replace raw bytes with x509 certificate to allow specify passwords and flags #2
5 vuotta sitten
Anton Yaroshenko
f9b2c91ddb
merged
5 vuotta sitten
Anton Yaroshenko
9fb1cc3320
added UWP compiler flags
5 vuotta sitten
Christian Kratky
1c89a8bc75
Update docs.
5 vuotta sitten
Christian Kratky
8be9ce8024
Merge remote-tracking branch 'origin/develop' into develop
5 vuotta sitten
Christian
002ba27fd3
Merge pull request #799 from chkr1011/revert-798-master
Revert "Replace raw bytes with x509 certificate to allow specify passwords and flags"
5 vuotta sitten
Christian
9aaa94e821
Revert "Replace raw bytes with x509 certificate to allow specify passwords and flags"
5 vuotta sitten
Anton Yaroshenko
e8ff48bfd3
Revert "blind uwp fix"
This reverts commit ac326babdf
.
5 vuotta sitten
Anton Yaroshenko
5db05f186f
Revert "replace raw byte with x509 certificate to allow specify passwords"
This reverts commit a38623cb5a
.
5 vuotta sitten
Christian
b2c2209b4f
Update MQTTnet.nuspec
5 vuotta sitten
Christian
c490e83c91
Merge pull request #798 from stepkillah/master
Replace raw bytes with x509 certificate to allow specify passwords and flags
5 vuotta sitten
Anton Yaroshenko
ac326babdf
blind uwp fix
5 vuotta sitten
Anton Yaroshenko
a38623cb5a
replace raw byte with x509 certificate to allow specify passwords
5 vuotta sitten
Christian Kratky
a63489fa5e
Update docs.
5 vuotta sitten
Christian Kratky
4b7409240b
Merge remote-tracking branch 'origin/develop' into develop
5 vuotta sitten
Christian Kratky
896e9ed0aa
Add interceptor for unsubscriptions.
5 vuotta sitten
Christian
0950dfbb8b
Merge pull request #786 from llrosa/debugFixClientId
Fix for #785 - Skip client disconnection process if unauthorized
5 vuotta sitten
Lucas Rosa
4105beb7e6
Some more cleaning up:
5 vuotta sitten
Lucas Rosa
5c25905510
Clean up
5 vuotta sitten
Lucas Rosa
e3f6b579b2
Working PoC
5 vuotta sitten
Lucas Rosa
c467c9c818
Debugging duplicated client id issue
5 vuotta sitten
Christian Kratky
78b57531b6
Update docs.
5 vuotta sitten
Christian
84d9f533bd
Merge pull request #782 from cstichlberger/develop
Reduce subscription publishing loglevel in ManagedMqttClient
5 vuotta sitten
Christoph Stichlberger
7479e320ee
Turn subscription publishing loglevel down
- the Info level for publishing subscriptions is quite noisy
- previously this wasn't a problem because subscription processing was buffered, now the message is logged for nearly every single un/subscription that is made
- all other frequently recurring log events are also on level Verbose
5 vuotta sitten
Christian Kratky
152303dfbd
Update docs.
5 vuotta sitten
Christian
a495668f2b
Merge pull request #776 from cstichlberger/branches/fix_managed_client_subscription_issues
Separate current and reconnect subscriptions in managed client
5 vuotta sitten
HansM
82b714d4c7
Merge pull request #777 from cstichlberger/develop
Adapt test assembly paths in buildscript
5 vuotta sitten
Christoph Stichlberger
44d71b884c
Adapt test assembly paths in buildscript
5 vuotta sitten
Christoph Stichlberger
781c5d4d7d
Separate current and reconnect subscsriptions in managed client
This change kills several birds with one stone:
- by performing the re-publishing of all subscriptions only at reconnect it fixes issue https://github.com/chkr1011/MQTTnet/issues/569 (retained messages are received again with every new subscription that is added)
- not sending the subscriptions again with every (un)subscription is also a performance improvement if subscriptions are modified on a regular basis, because only the updated subscriptions are sent to the broker (previously, if you had 100 subscriptions and added a new one, 100 suscriptions were re-sent to the broker along with the new one, causing a significant delay)
-until now subscriptions were sent to the broker only every ConnectionCheckInterval which caused unnecessary delays, and for request-response patterns could cause reponse messages to be missed due to the subscription delay. Now (un)subscriptions are published immediately
Subscriptions are now cleaned up at logout (after the connection stops being maintained). This is in line with the clearing of the _messageQueue in StopAsync
Explanatory note: the _subscriptionsQueuedSignal could ideally be a ManualResetEvent(Slim) but those do not offer an awaitable Wait method, so a SemaphoreSlim is used. This possibly causes a few empty loops in PublishSubscriptionsAsync due to the semaphore being incremented with every SubscribeAsync call but all subscriptions getting processed in one sweep, but those empty loops shouldn't be a problem
5 vuotta sitten
Christian Kratky
b175119008
Refactoring and doc updates.
5 vuotta sitten
Christian Kratky
cfcb858423
Update libs.
5 vuotta sitten
Christian Kratky
5fa12649bf
Merge remote-tracking branch 'origin/develop' into develop
5 vuotta sitten
Christian
a9a09f4ecd
Merge pull request #754 from jltjohanlindqvist/branches/fixUnhandledTaskCrash
Remove if clause that stopped handling of tasks with exceptions
5 vuotta sitten
Christian Kratky
3ff5806dbb
Dispose queue in managed client.
5 vuotta sitten
Christian Kratky
0ec78cf5cc
Merge remote-tracking branch 'origin/develop' into develop
5 vuotta sitten
Christian
c3193c568a
Merge pull request #763 from zawodskoj/master
Fix for #762 - thread pool leak
5 vuotta sitten
Christian Kratky
a1f02284e9
Merge branch 'master' into develop
5 vuotta sitten
Christian Kratky
851db2e808
Merge remote-tracking branch 'origin/master'
5 vuotta sitten
Christian Kratky
073cd5243f
Update docs. Add UnitTests.
5 vuotta sitten
Jimmy Rosenskog
699558e47a
Added exception handling to make sure all tasks are observed to avoid UnobservedTaskException.
5 vuotta sitten
Бессонов Дмитрий
15ff03c136
use C#7.0 for default arguments
5 vuotta sitten
Бессонов Дмитрий
b12e3bc611
fix for #762
5 vuotta sitten
Johan x Lindqvist
61c3e02242
Updated exception message to be in line with other exception messages.
5 vuotta sitten
Johan x Lindqvist
5618c4c1f7
Always access the exception property on the task if it has status IsFaulted.
By checking the Exception property it will consider the task exception as handled which means the finalizer won't throw an unhandled task exception.
5 vuotta sitten
Johan x Lindqvist
ba9ceed7ce
Use Task.WhenAll to handle errors in both tasks.
Previously if there was an exception in the first task that is awaited the second task would not be awaited.
5 vuotta sitten
Johan x Lindqvist
ad1c198e43
Remove if clause that stopped handling of tasks with exceptions.
Now the task is always awaited and thus the exception in the task is handled.
5 vuotta sitten
SeppPenner
2918be18c6
Added automatic labels to the issue templates.
5 vuotta sitten
Christian
248e2a5bdd
Merge pull request #746 from bcrosnier/pr/mqtt5-assigned-client-id
Better handling of AssignedClientIdentifier - chkr1011/MQTTnet#745
5 vuotta sitten
Benjamin Crosnier
1a41415dd1
Allow AssignedClientIdentifier in ClientConnected, ClientDisconnected and ConnectedHandler - Fixes chkr1011/MQTTnet#745
5 vuotta sitten
Christian Kratky
9302e80d73
Merge branch 'develop'
5 vuotta sitten