Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to newest mqtt cpp #1

Merged

Conversation

marcel-behlau-elfin
Copy link

No description provided.

Michael Jones and others added 30 commits May 16, 2019 21:09
…_server

Added protocol_version setter for servers.
Users needed to set *_ref property types if the property has _ref
type. It was annoying.

Now, user can always use `::recv` type. It's simpler.
Acked-by: Takatoshi Kondo <redboltz@gmail.com>
Added asynchronous pingreq sending mode.
Use asynchronous mode from async_client.
Removed default parameter.
Migrated to azure-devops-build-pipelines from appveyor.
Added dupulicated travis-ci launch avoiding code.
It will increase coverage.
redboltz and others added 29 commits September 11, 2019 15:47
Added check_deps target to check include file.
It is linux only, so far.
Removed new version ob BOOST_TYPE_ERASURE_MEMBER.

The new style requires compiler extension.
If -pedantic compile option is set, then get
"must specify at least one argument for '...' parameter of variadic macro"
Fixed cmake error when environment variable CXXFLAGS is not defined.
Break the fixed header into dup, qos, and retain values for publish callback
Use v5 reason_code correctly.
Added missing async_handler_t call on disconnect.
Removed error handling on do_sync_write().
If error happens the error will be handled by async_read.
If `handle_error(ec);` is called in `do_sync_write()`, error_handler
would be called twice.
It is consistent behavior as `do_async_write()`.
Removed redundant handler reset code from test_broker.
Added minimal support for Session Expiry Interval.
Timer is not set yet.
…_with_any

Replaced async_handler_t with any.
…tional

Fixes redboltz#391: Don't use mqtt::optional<> for the suback handler, as the standard requires the values be provided
…:shared_ptr<endpoint_t>.

For `set_*_handler()`, capture `std::weak_ptr<endpoint_t>` at
test_broker and examples.

I think that `weak_ptr` is redundant. Reference is good enough because
`shared_ptr` lifetime is kept by `start_session(life_keeper)`.

However, `wp.lock()` is easy to detect if the lifetime is over unexpectedly.
Refactored test_broker parameter passing.
Updated the parameter of set_accept_handler() from endpoint_t to std:…
@elfin-sbreuers elfin-sbreuers merged commit 7db40bb into elfin-sbreuers:master Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants