Skip to content

Releases: awslabs/aws-c-mqtt

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.

Proxy refactor

29 Mar 00:43
0cba66c
Compare
Choose a tag to compare
Proxy refactor Pre-release
Pre-release
  • Companion release to the new proxy systems in aws-c-http v0.6.2

Timeout configuration for requests

15 Mar 22:38
143081a
Compare
Choose a tag to compare
Pre-release
  • API CHANGE: Added protocol_operation_timeout_ms to aws_mqtt_connection_options, which will be applied to timeout when waiting for the response to some operation (PUBLISH QoS>0 and UNSUBSCRIBE) requires response by protocol.

New managed thread API

17 Feb 23:44
6fa5b9c
Compare
Choose a tag to compare
Pre-release

Convert to new managed thread system for threads that cannot be reliably explicitly joined.