Skip to content

Releases: awslabs/aws-c-mqtt

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.

params added to aws_mqtt_client_publish_received_fn()

16 Feb 00:44
1ca6e70
Compare
Choose a tag to compare
  • API CHANGE: dup, qos, and retain, params added to aws_mqtt_client_publish_received_fn()

Symbol exports and some in-progress ffeatures

11 Feb 02:19
8984c51
Compare
Choose a tag to compare
  • Symbol export fixes
  • some in-progress mqtt features

Update to new host resolver creation interface

07 Dec 19:09
8482a1e
Compare
Choose a tag to compare
  • updates tests to use the new default host resolver creation function

Swtiching to Disconnect before callback

05 Nov 18:38
fcaef1f
Compare
Choose a tag to compare
Pre-release
  • Before invoking callback like on_completed/on_disconnected, the state should be switched to disconnected., so that user can call functions from callback as they want