Christian
4f03f22afb
Update README.md
hace 5 años
Christian
27a4af6070
Update README.md
hace 5 años
Christian
0184ce400c
Update README.md
hace 5 años
Christian Kratky
67c9177731
Merge branch 'master' of https://github.com/chkr1011/MQTTnet
hace 5 años
Christian Kratky
007991f073
Update docs.
hace 5 años
Christian
532dddeb6c
Merge pull request #526 from JohBa/patch-2
Don't cancel token before stop session manager
hace 5 años
Christian Kratky
de8bcb7f37
Update docs.
hace 5 años
Christian
5090cfb411
Fix memory leak in AsyncAutoResetEvent.
hace 5 años
Johannes Bäurle
107e96ff7d
Don't cancel token before stop session manager
hace 6 años
Christian
4fed80c2d0
Update appveyor.yml
hace 6 años
Christian Kratky
74e4fd8b3f
Update test certificate.
hace 6 años
Christian
fca9876111
Delete .travis.yml
hace 6 años
Christian
ac9f6a36f8
Update appveyor.yml
hace 6 años
Christian
929b60e044
Update appveyor.yml
hace 6 años
Christian
acb433dd4c
Update appveyor.yml
hace 6 años
Christian
c4e8bf7f39
Update appveyor.yml
hace 6 años
Christian Kratky
195357835b
Merge branch 'master' of https://github.com/chkr1011/MQTTnet
hace 6 años
Christian Kratky
28b2562112
Fix client session disposal in server.
hace 6 años
Christian Kratky
ab24368de1
Update docs.
hace 6 años
Christian Kratky
9b51404b4d
Add Unit Tests.
hace 6 años
Christian Kratky
619eaf284d
Add readonly property for client options.
hace 6 años
Christian Kratky
86c348df58
Stop existing sessions before takeover from another client.
hace 6 años
Christian Kratky
fdb2ec897c
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
hace 6 años
Christian Kratky
b091fee554
Reset the keep alive monitor if a session is being resumed from a different (or same) client.
hace 6 años
Christian
14ec6ee793
Merge pull request #484 from fogzot/feature-msbuild-conditions
Feature msbuild conditions
hace 6 años
Federico Di Gregorio
0cfef0649a
Fixed appveyor configuration to use full solution
hace 6 años
Federico Di Gregorio
7292af7db4
Added solution that does not include UWP
hace 6 años
Federico Di Gregorio
bc1a197c4f
Align conditions in dependent project with conditions in MQTTnet
hace 6 años
Christian Kratky
ccc275902f
Fix wrong retain flag when distributing messages.
hace 6 años
Christian Kratky
83eca982e9
Update nugets.
hace 6 años
Christian Kratky
017f17a6b1
Fix UnitTests.
hace 6 años
Christian Kratky
b3564e01a4
Update docs.
hace 6 años
Christian Kratky
43105f71d8
Refactor removal from blocking queue.
hace 6 años
Christian Kratky
40c408a9c0
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
hace 6 años
Christian
91a918d30b
Merge pull request #479 from PaulFake/patch-1
Fix for two issues with the managed message queue cap
hace 6 años
Paul Fake
2a93fc18e4
Made comparison function static
hace 6 años
Paul Fake
31de6ee186
Delegate comparison function
hace 6 años
Paul Fake
74d59673a8
Delegate for comparisons
hace 6 años
Paul Fake
d1c3d9b453
Removed unnecessary code
hace 6 años
Paul Fake
baa9241216
Revert "Changes to this file no longer needed"
This reverts commit 2c6c3ac6a4
.
hace 6 años
Paul Fake
2c6c3ac6a4
Changes to this file no longer needed
hace 6 años
Paul Fake
b2c31331b6
Peek-and-publish model
We had been seeing an issue in which the queue could grow larger than the configured cap. I examined the code and saw that this could happen if _mqttClient.PublishAsync() throws an exception, in which case a message can be re-enqueued without honoring the cap. Furthermore, I saw that it was possible for the DropOldestQueuedMessage strategy to drop messages that were not actually the oldest ones, because when re-enqueueing the messages in the queue are no longer ordered by the original time they entered the queue. It made sense to us to peek at the message when publishing rather than dequeue it, so that when re-enqueueing after an exception 1) the cap is still honored and 2) the order of queued messages isn't altered. It's ok if another thread removes the message that's currently being published from the queue due to the cap, because all we have to do then is check if it's already been removed before removing it ourselves.
hace 6 años
Paul Fake
9ff39c1fd9
New functions
This is to support the peek-and-publish model for the managed client
hace 6 años
Paul Fake
210d57b254
IEquatable for speed
IEquatable for speed in using EqualityComparer<TItem>.Default.Equals
hace 6 años
Christian Kratky
d7b98080f5
Refactor unit test for server events.
hace 6 años
Christian Kratky
3e7b41e712
Refactor code.
hace 6 años
Christian Kratky
5f18f35e02
Refactor task usage in client.
hace 6 años
Christian Kratky
af39e87703
Refactor code.
hace 6 años
Christian Kratky
fcff3a2c8d
Update docs.
hace 6 años
Christian
803dd6f64e
Merge pull request #476 from PaulFake/patch-1
Check for pending disconnect in ThrowIfNotConnected
hace 6 años