Christian Kratky
89becaa191
Fix build script.
2018-12-22 09:28:51 +01:00
Christian Kratky
6c87e4e039
Replace nuget version with placeholder.
2018-12-22 09:26:52 +01:00
Christian Kratky
cbe06d6b87
Merge from master.
2018-12-21 00:21:42 +01:00
Christian Kratky
74e4fd8b3f
Update test certificate.
2018-12-20 20:54:37 +01:00
Christian Kratky
cc113a6c34
Refactor namespaces.
2018-12-20 20:53:29 +01:00
Christian
fca9876111
Delete .travis.yml
2018-12-19 00:10:10 +01:00
Christian
ac9f6a36f8
Update appveyor.yml
2018-12-19 00:06:51 +01:00
Christian
929b60e044
Update appveyor.yml
2018-12-18 21:32:46 +01:00
Christian
acb433dd4c
Update appveyor.yml
2018-12-18 20:23:18 +01:00
Christian
c4e8bf7f39
Update appveyor.yml
2018-12-18 20:12:09 +01:00
Christian Kratky
0dba57fe75
Cleanup code.
2018-12-09 21:04:14 +01:00
Christian Kratky
6483f896c1
Merge from develop.
2018-12-09 20:48:46 +01:00
Christian Kratky
8fa9943c3d
Merge branch 'master' into develop
2018-12-09 19:44:17 +01:00
Christian Kratky
195357835b
Merge branch 'master' of https://github.com/chkr1011/MQTTnet
v2.8.5
2018-12-09 19:42:03 +01:00
Christian Kratky
28b2562112
Fix client session disposal in server.
2018-12-09 17:35:46 +01:00
Christian Kratky
ab24368de1
Update docs.
2018-12-08 13:46:40 +01:00
Christian Kratky
9b51404b4d
Add Unit Tests.
2018-12-06 21:35:42 +01:00
Christian Kratky
619eaf284d
Add readonly property for client options.
2018-12-03 21:20:11 +01:00
Christian Kratky
86c348df58
Stop existing sessions before takeover from another client.
2018-12-02 21:50:16 +01:00
Christian Kratky
fdb2ec897c
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
2018-12-01 11:00:09 +01:00
Christian Kratky
b091fee554
Reset the keep alive monitor if a session is being resumed from a different (or same) client.
2018-12-01 11:00:00 +01:00
Christian
14ec6ee793
Merge pull request #484 from fogzot/feature-msbuild-conditions
...
Feature msbuild conditions
2018-12-01 10:50:39 +01:00
Federico Di Gregorio
0cfef0649a
Fixed appveyor configuration to use full solution
2018-11-30 09:38:10 +01:00
Federico Di Gregorio
7292af7db4
Added solution that does not include UWP
2018-11-30 09:26:22 +01:00
Federico Di Gregorio
bc1a197c4f
Align conditions in dependent project with conditions in MQTTnet
2018-11-30 09:26:02 +01:00
Christian Kratky
ccc275902f
Fix wrong retain flag when distributing messages.
2018-11-28 21:35:50 +01:00
Christian Kratky
0f5fb8aa3a
Add more pacakges.
2018-11-28 21:11:23 +01:00
Christian Kratky
83eca982e9
Update nugets.
2018-11-24 20:21:05 +01:00
Christian Kratky
017f17a6b1
Fix UnitTests.
2018-11-24 20:19:16 +01:00
Christian Kratky
b3564e01a4
Update docs.
2018-11-23 22:57:34 +01:00
Christian Kratky
43105f71d8
Refactor removal from blocking queue.
2018-11-23 22:56:10 +01:00
Christian Kratky
40c408a9c0
Merge branch 'develop' of https://github.com/chkr1011/MQTTnet into develop
2018-11-23 22:51:07 +01:00
Christian Kratky
7baff7c080
Refactor property definition for packets.
2018-11-23 22:50:44 +01:00
Christian
91a918d30b
Merge pull request #479 from PaulFake/patch-1
...
Fix for two issues with the managed message queue cap
2018-11-23 22:48:40 +01:00
Paul Fake
2a93fc18e4
Made comparison function static
2018-11-21 21:44:26 -05:00
Paul Fake
31de6ee186
Delegate comparison function
2018-11-21 21:39:42 -05:00
Paul Fake
74d59673a8
Delegate for comparisons
2018-11-21 21:38:06 -05:00
Paul Fake
d1c3d9b453
Removed unnecessary code
2018-11-21 21:37:01 -05:00
Paul Fake
baa9241216
Revert "Changes to this file no longer needed"
...
This reverts commit 2c6c3ac6a4 .
2018-11-21 21:35:15 -05:00
Paul Fake
2c6c3ac6a4
Changes to this file no longer needed
2018-11-21 20:47:12 -05:00
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.
2018-11-19 21:20:50 -05:00
Paul Fake
9ff39c1fd9
New functions
...
This is to support the peek-and-publish model for the managed client
2018-11-19 21:11:47 -05:00
Paul Fake
210d57b254
IEquatable for speed
...
IEquatable for speed in using EqualityComparer<TItem>.Default.Equals
2018-11-19 21:09:36 -05:00
Christian Kratky
7292cedd2f
Encode ConnAck packet.
2018-11-19 00:17:19 +01:00
Christian Kratky
48d5afa799
Refactor namings of serializers etc.
2018-11-19 00:14:15 +01:00
Christian Kratky
3db22eea51
Remove dedicated V3 messages.
2018-11-18 22:04:39 +01:00
Christian Kratky
2fbb44ec66
Add more property implementations.
2018-11-18 21:54:40 +01:00
Christian Kratky
d7b98080f5
Refactor unit test for server events.
2018-11-18 11:20:36 +01:00
Christian Kratky
3e7b41e712
Refactor code.
2018-11-17 20:24:23 +01:00
Christian Kratky
5f18f35e02
Refactor task usage in client.
2018-11-17 20:23:52 +01:00