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

Implemented #471. #472

Merged
merged 2 commits into from
Oct 1, 2019
Merged

Implemented #471. #472

merged 2 commits into from
Oct 1, 2019

Conversation

redboltz
Copy link
Owner

@redboltz redboltz commented Oct 1, 2019

Added get_context().
Marked as deperecated wrapper functions for asio::ssl::context.

Added get_context().
Marked as deperecated wrapper functions for asio::ssl::context.
@@ -365,7 +365,7 @@ int main(int argc, char** argv) {
std::uint16_t pid_sub2;

auto c = MQTT_NS::make_tls_sync_client_ws(ioc, "localhost", port);
c->set_ca_cert_file(base + "cacert.pem");
c->get_context().load_verify_file(base + "cacert.pem");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend

get_ssl_context()

So that it does not get confused with boost::asio::io_context()

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. I will update it.
P.S. I personally don't like the word ssl but like tls. But keeping asio manner is better for that.

@codecov-io
Copy link

codecov-io commented Oct 1, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@885c98c). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff            @@
##             master    #472   +/-   ##
========================================
  Coverage          ?   84.9%           
========================================
  Files             ?      41           
  Lines             ?    6273           
  Branches          ?       0           
========================================
  Hits              ?    5326           
  Misses            ?     947           
  Partials          ?       0

@redboltz redboltz merged commit 0d8c13f into master Oct 1, 2019
@redboltz redboltz deleted the impl_471 branch October 1, 2019 09:03
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.

3 participants