Commit Graph

1604 Commits (d5264338008dc2459d6994e4d527d3b06cc43d7f)
 

Author SHA1 Message Date
Roger A. Light de3a9af1f7 Client+library support for unsubscribe properties. 7 years ago
Roger A. Light 49a8642986 Disallow properties that are invalid for a command. 7 years ago
Roger A. Light 741a8a9cc3 Client disconnect property support, plus disconnect packet fix. 7 years ago
Roger A. Light 383608613a Client+lib will property support. 7 years ago
Roger A. Light 12cba75c73 Client support for adding properties. 7 years ago
Roger A. Light b462115fa6 Add reason code to PUBACK/REC/REL/COMP. 7 years ago
Roger A. Light ba874c6014 Merge branch 'mqtt5' of gitlab.com:ralight/mosquitto-private into mqtt5 7 years ago
Roger A. Light 446ad6290a Add mosquitto_string_to_property_info. 7 years ago
Roger A. Light c19b3598c0 Add mosquitto_string_to_command. 7 years ago
Roger A. Light 63a479564b Add mosquitto_property_command_check() 7 years ago
Roger A. Light 636e813d1c Load of constant renames ahead of making mqtt_protocol.h public. 7 years ago
Roger A. Light 9eebcf6704 Rename property__free_all->mosquitto_property_free_all
Make public function.
7 years ago
Roger A. Light be5602be28 Add sections to mosquitto.h. 7 years ago
Roger A. Light d5aaeee1fb Use https for all downloads. 7 years ago
Roger A. Light 1853bfc678 Docker fixes as per review.
https://github.com/docker-library/official-images/pull/4987#issuecomment-433570818

Revert to stderr logging.
Use wget instead of curl.
Don't redownload libuuid or libwebsockets.
7 years ago
Roger A. Light 26e5766182 Docker volume/mount point fixes per review.
https://github.com/docker-library/official-images/pull/4987#issuecomment-433185843
7 years ago
Roger A. Light 064d94581c Remove renamed files, fix readme. 7 years ago
Roger A. Light 5aa983c210 Fix copy/paste error. 7 years ago
Roger A. Light 12fa336140 Handle some incoming PUBLISH properties.
PAYLOAD_FORMAT_INDICATOR, CORRELATION_DATA, USER_PROPERTY, CONTENT_TYPE
are now all passed on to subscribing clients from an incoming PUBLISH
only (not from Wills). The other PUBLISH properties are silently
dropped.
7 years ago
Roger A. Light 6996fd450a Simple pub/sub/unsub tests for v5. 7 years ago
Roger A. Light 52c25fa899 Simple connect test for v5. 7 years ago
Roger A. Light b6c667689d Write properties for all commands apart from AUTH. 7 years ago
Roger A. Light 8077376a79 Add read support for AUTH packets. 7 years ago
Roger A. Light ca40255720 mid == 0 is a protocol error. 7 years ago
Roger A. Light eefa7f7604 All existing commands read properties. 7 years ago
Roger A. Light 723d9c2782 Check whether properties are on the correct commands. 7 years ago
Roger A. Light 267178bd99 User properties are copied from PUBLISH to PUBLISH. 7 years ago
Roger A. Light d60b9d4e5d Rewrite docker files for 1.5 support.
Builds from source.
Carries out security checks on downloads.
7 years ago
Roger A. Light 0baf358cf8 Add properties member to will struct. 7 years ago
majekw 7f1419e4de Fix mosquitto_pub -l if compiled using cmake.
Since dde005ef92 mosquito_pub is throwing error
that 'threading support has not been compiled' when compiled using cmake.
It looks like WITH_THREADING flag is not set at top level Makefile and used
only in lib/ directory, so library is correctly compiled with threading.
But for client this flag is undefined, so it gives error on '-l' option.

This commit moves part related to WITH_THREADING flag out of lib/CMakeLists.txt
to top levele CMakeLists.txt, so it could be accessible to all subdirectories.

Signed-off-by: Marek Wodzinski <majek@w7i.pl>
7 years ago
Jonathan Hanson 976edc6165 Add a new dockerfile and associated files, to build from a source tarball, instead of installing a built and published Alpine APK package.
Signed-off-by: Jonathan Hanson <jonathan@jonathan-hanson.org>
7 years ago
Roger A. Light 0a9ee5b4cf Fix memory leak when reconnecting with TLS errors.
Fix memory leak that occurred if mosquitto_reconnect() was used when TLS
errors were present.

Closes #592. Thanks to smartdabao and aaronovz1.
7 years ago
Roger A. Light 35dea07dcd Merge branch 'master' 7 years ago
JaeHoon Lee 2cb0354163 Implement DLT logging feature for automotive platform
Signed-off-by: JaeHoon Lee <bbabbi01@gmail.com>
7 years ago
Roger A. Light 42896112a1 Pub/sub topic checking tests. 7 years ago
Roger A. Light 1e9e552034 Property write bad identifier test. 7 years ago
Roger A. Light 40ed672ecf Fix topic matching tests and function. 7 years ago
Roger A. Light 77099bb58c Add property write tests. 7 years ago
Roger A. Light 4daaaaf4a7 Add property writing support, untested. 7 years ago
Roger A. Light 5edc87bcdf Build options for building with coverage support. 7 years ago
Roger A. Light a7fff2ad2e Topic test improvements. 7 years ago
Roger A. Light 262ac3fb5b Fix varint length reporting. 7 years ago
Roger A. Light 6609bbac10 Move topic matching tests to unit tests. Needs improving. 7 years ago
Roger A. Light c0ff424082 Add property__get_length_all() and property__get_length().
For getting the number of bytes needed for writing a property list.
7 years ago
Roger A. Light 8210c1fa7a All outgoing packets now write property length for MQTT 5.
At the moment this only writes a 0 property length, i.e. no properties.
It does mean that output packets are more correct than before.
7 years ago
Roger A. Light 246c9e6565 Read will properties, and free properties immediately for the moment. 7 years ago
Roger A. Light e5eb03b2e6 Allow building without shared library. 7 years ago
Roger A. Light a17dcb4e8f Property string pair, varint and more complicated packet tests. 7 years ago
Roger A. Light abb3fee1f8 Coverage reporting for whole broker. 7 years ago
Roger A. Light e1d0bde0b1 Binary property read tests. 7 years ago