Christian
38f2453c92
Update README.md
пре 6 година
Christian Kratky
058bb65d31
Merge from develop.
пре 6 година
Christian Kratky
38b215e9b5
Merge branch 'develop' into feature/MQTTv5
пре 6 година
Christian Kratky
45df33c9a5
Update nuspec.
пре 6 година
Christian Kratky
89becaa191
Fix build script.
пре 6 година
Christian Kratky
6c87e4e039
Replace nuget version with placeholder.
пре 6 година
Christian Kratky
cbe06d6b87
Merge from master.
пре 6 година
Christian Kratky
74e4fd8b3f
Update test certificate.
пре 6 година
Christian Kratky
cc113a6c34
Refactor namespaces.
пре 6 година
Christian
fca9876111
Delete .travis.yml
пре 6 година
Christian
ac9f6a36f8
Update appveyor.yml
пре 6 година
Christian
929b60e044
Update appveyor.yml
пре 6 година
Christian
acb433dd4c
Update appveyor.yml
пре 6 година
Christian
c4e8bf7f39
Update appveyor.yml
пре 6 година
Christian
ba4fdfb51c
Merge pull request #497 from cquesnel/feature/add-websocket-parameters
Add custom WebSocket parameters
пре 6 година
Charles Quesnel
dfda916283
Use default parameter instead of overload
пре 6 година
Charles Quesnel
40326df9a9
Fix typo in 'Cookie'
пре 6 година
Charles Quesnel
a94444098a
Remove unused usings
пре 6 година
Charles Quesnel
0c13e7a504
Add overload to allow passing custom request headers and cookies when connecting with WS
пре 6 година
Christian Kratky
0dba57fe75
Cleanup code.
пре 6 година
Christian Kratky
6483f896c1
Merge from develop.
пре 6 година
Christian Kratky
8fa9943c3d
Merge branch 'master' into develop
пре 6 година
Christian Kratky
195357835b
Merge branch 'master' of https://github.com/chkr1011/MQTTnet
пре 6 година
Christian Kratky
28b2562112
Fix client session disposal in server.
пре 6 година
Christian Kratky
ab24368de1
Update docs.
пре 6 година
Christian Kratky
9b51404b4d
Add Unit Tests.
пре 6 година
Christian Kratky
619eaf284d
Add readonly property for client options.
пре 6 година
Christian Kratky
86c348df58
Stop existing sessions before takeover from another client.
пре 6 година
Christian Kratky
fdb2ec897c
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
пре 6 година
Christian Kratky
b091fee554
Reset the keep alive monitor if a session is being resumed from a different (or same) client.
пре 6 година
Christian
14ec6ee793
Merge pull request #484 from fogzot/feature-msbuild-conditions
Feature msbuild conditions
пре 6 година
Federico Di Gregorio
0cfef0649a
Fixed appveyor configuration to use full solution
пре 6 година
Federico Di Gregorio
7292af7db4
Added solution that does not include UWP
пре 6 година
Federico Di Gregorio
bc1a197c4f
Align conditions in dependent project with conditions in MQTTnet
пре 6 година
Christian Kratky
ccc275902f
Fix wrong retain flag when distributing messages.
пре 6 година
Christian Kratky
0f5fb8aa3a
Add more pacakges.
пре 6 година
Christian Kratky
83eca982e9
Update nugets.
пре 6 година
Christian Kratky
017f17a6b1
Fix UnitTests.
пре 6 година
Christian Kratky
b3564e01a4
Update docs.
пре 6 година
Christian Kratky
43105f71d8
Refactor removal from blocking queue.
пре 6 година
Christian Kratky
40c408a9c0
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
пре 6 година
Christian Kratky
7baff7c080
Refactor property definition for packets.
пре 6 година
Christian
91a918d30b
Merge pull request #479 from PaulFake/patch-1
Fix for two issues with the managed message queue cap
пре 6 година
Paul Fake
2a93fc18e4
Made comparison function static
пре 6 година
Paul Fake
31de6ee186
Delegate comparison function
пре 6 година
Paul Fake
74d59673a8
Delegate for comparisons
пре 6 година
Paul Fake
d1c3d9b453
Removed unnecessary code
пре 6 година
Paul Fake
baa9241216
Revert "Changes to this file no longer needed"
This reverts commit 2c6c3ac6a4
.
пре 6 година
Paul Fake
2c6c3ac6a4
Changes to this file no longer needed
пре 6 година
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.
пре 6 година