Skip to content

Releases: awslabs/aws-c-mqtt

Improve clean up on user disconnection

05 Jul 04:27
936b788
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v0.7.10...v0.7.11

Remove using of try_lock

02 Dec 23:18
6168e32
Compare
Choose a tag to compare
Pre-release
  • Try lock is not available in Windows Server 2008. Remove it from our debug build

Empty payload fixes

10 Nov 20:41
60f9a17
Compare
Choose a tag to compare
Empty payload fixes Pre-release
Pre-release
  • Fix a crash on Windows when the will payload was empty (precondition is turned into a fatal assert on Windows CD builds still)
  • Fix a decode error when receiving a message with an empty payload

Stability fix

22 Sep 16:53
7a7a07a
Compare
Choose a tag to compare
Stability fix Pre-release
Pre-release
  • Fixes a crash due to a race condition in the mqtt connection logic

Allow for null on-message callbacks in subscribe

15 Sep 23:09
efb8dcf
Compare
Choose a tag to compare
  • Fixes a crash when the on-message callback is null for a subscription
  • Updates the public API documentation with some missing parameters and annotations as to what parameters can be null

Data race fixes

15 Apr 00:43
0a70bf8
Compare
Choose a tag to compare
Data race fixes Pre-release
Pre-release
  • Fixes several data races related to the outstanding requests table and a request's timeout task.

Fix non-threadsafe hash-table accesses (take 2)

13 Apr 14:57
3ccc7e3
Compare
Choose a tag to compare
v0.7.5

fix test function (#190)

Fix non-threadsafe hash-table accesses

13 Apr 14:23
8612b55
Compare
Choose a tag to compare
Pre-release
Fix unsafe hash-table accesses (#189)

Fact: It's not safe to mutate aws_hash_table while holding an aws_hash_element.
Fact: `outstanding_requests_table` is accessed by multiple threads. We always hold a lock while accessing it.

Bug: There were several places where we release the lock, but continue to hold an aws_hash_element we got from a find() call. Once the lock is released another thread can mutate the `outstanding_requests_table`, leading to undefined behavior when the aws_hash_element is accessed again.

Direct mqtt through http proxy

09 Apr 17:51
725ea7b
Compare
Choose a tag to compare
Pre-release
  • Adds support for establishing direct mqtt connections through an http proxy

publish payload

06 Apr 02:22
fb12efb
Compare
Choose a tag to compare
publish payload Pre-release
Pre-release
  • We now keep a deep copy of the publish payload. User don't need to keep the payload alive for the whole process.