Paul Fake
210d57b254
IEquatable for speed
IEquatable for speed in using EqualityComparer<TItem>.Default.Equals
пре 6 година
Christian Kratky
3e7b41e712
Refactor code.
пре 6 година
Christian Kratky
5f18f35e02
Refactor task usage in client.
пре 6 година
Christian Kratky
af39e87703
Refactor code.
пре 6 година
Christian Kratky
fcff3a2c8d
Update docs.
пре 6 година
Christian
803dd6f64e
Merge pull request #476 from PaulFake/patch-1
Check for pending disconnect in ThrowIfNotConnected
пре 6 година
Paul Fake
a1e258eb24
Check for pending disconnect in ThrowIfNotConnected
This might be a little controversial, but it worked for us to correct a problem in which messages get stuck in the managed client storage queue (and are thrown out of the regular message queue without being published!) in the case of a failed connection. What we were seeing was that ManagedMqttClient.TryPublishQueuedMessage() was discarding a dequeued message without ever removing it from the storage queue because of an OperationCancelledException thrown by MqttClient.PublishAsync(). Tracing the code back, we found that when the connection is interrupted, after the timeout period MqttClient.InitiateDisconnect() would set the cancellation token, and the managed client would continue to try to publish, eventually calling through to MqttClient.SendAndReceiveAsync(), which would throw because the cancellation token is set. Looking back over the code, we saw that MqttClient.PublishAsync() has a call to ThrowIfNotConnected() at the top, which told us that the intent was to not allow this function to be called after a disconnect. But the disconnect was still pending, and the function wasn't behaving correctly in this state, so we reasoned that it's best to throw if the disconnect is pending.
пре 6 година
Christian Kratky
e9df698a1f
Update nuget versions.
пре 6 година
Christian Kratky
bddcbf6999
Refactor code.
пре 6 година
Christian
be22e2551d
Merge pull request #471 from JanEggers/develop
updated nuget spec according to csproj
пре 6 година
Jan Eggers
4e01c7f13d
updated nuget spec according to csproj
пре 6 година
Christian Kratky
7181813f12
Fix pending messages overflow strategy issue.
пре 6 година
Christian Kratky
6fc9f12c34
Refactor task await.
пре 6 година
Christian
cc4e37fa40
Merge pull request #469 from JanEggers/fixedConcurrentWrites
fixed parallel writes
пре 6 година
JanEggers
ccadd4e41a
updated release notes
пре 6 година
JanEggers
a5caab62f8
fixed parallel writes
пре 6 година
Christian Kratky
2bff218806
Update docs.
пре 6 година
Christian Kratky
95c30a2843
Update docs.
пре 6 година
Christian Kratky
28efbcdb3d
Add max pending messages options for ManagedClient.
пре 6 година
Christian Kratky
ca7952ab33
Remove wrong setter.
пре 6 година
Christian Kratky
62693af196
Merge from master.
пре 6 година
Christian Kratky
5abee2512f
Update nuget packages.
пре 6 година
Christian Kratky
c9a6155834
Update docs.
пре 6 година
Christian Kratky
aad3ab903f
Expose retained messages to server interface.
пре 6 година
Christian Kratky
4c76a898b6
Add new UnitTests.
пре 6 година
Christian
b819746165
Merge pull request #430 from JanEggers/fix#421
fixed #421
пре 6 година
JanEggers
73d33e2200
fixed #421
пре 6 година
Christian
740bc3aa30
Merge pull request #429 from JanEggers/supportTlsProtolOptionOnServer
added ability to specify tls protocol version
пре 6 година
JanEggers
583b32f17a
updated release notes
пре 6 година
JanEggers
b7ab29473b
added ability to specify tls protocol version
пре 6 година
Christian Kratky
ffc4f1408a
Merge develop.
пре 6 година
Christian Kratky
c8b3066883
Update docs.
пре 6 година
Christian Kratky
fb4f89b412
Replace TaskCompletionSource in Client with Interlocked gate.
пре 6 година
Christian Kratky
6bee6a0469
Update docs.
пре 6 година
Christian Kratky
0c2ab9b231
Fix a deadlock when an exception is fired while connecting.
пре 6 година
Christian Kratky
03bef4c15d
Fix revocation checks in certificate validator.
пре 6 година
Christian Kratky
ba62ca7306
Update docs.
пре 6 година
Christian Kratky
56a1530cee
Add a method for clearing all retained messages at the server.
пре 6 година
Christian Kratky
699cd5fc23
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
пре 6 година
Christian Kratky
381c59d1e5
Update readme.
пре 6 година
Christian Kratky
70f4dc9e10
Change log level of retained message changes.
пре 6 година
Christian
0367ad31f1
Merge pull request #422 from ifit/client-cancel-task
Client cancel task
пре 6 година
Christian
5c6bcdbca6
Merge branch 'develop' into client-cancel-task
пре 6 година
Andre Crabb
400c0f05ad
* Adds `false` param to Cancel call.
пре 6 година
Andre Crabb
00df7c9b7b
* More change tabs to spaces.
пре 6 година
Andre Crabb
a272ed7daa
* Change tabs to spaces.
пре 6 година
Andre Crabb
b2e7a2e370
Change from logging `Info` to `Verbose`
пре 6 година
Andre Crabb
39bc70cbf0
* Cancel the TokenSource when disposing or nulling it out for the MqttClient
пре 6 година
Christian Kratky
682298b69f
Fix issue in pending messages handling for managed client.
пре 6 година
Christian Kratky
028a39ec25
Update docs.
пре 6 година