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

Allow user to disable TLS in cpp. #542

Merged
merged 4 commits into from
Jul 14, 2023
Merged

Conversation

yulangz
Copy link
Contributor

@yulangz yulangz commented Jun 12, 2023

Allow user to disable TLS in cpp.

@@ -94,6 +94,10 @@ class ClientImpl : virtual public Client {
client_config_.request_timeout = absl::FromChrono(request_timeout);
}

void withEnableSsl(bool enable) {
Copy link
Contributor

Choose a reason for hiding this comment

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

withEnableSsl sounds weird.
Rename it to withTls or withSsl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -61,6 +61,10 @@ class SimpleConsumerImpl : public ClientImpl, public std::enable_shared_from_thi
long_polling_duration_ = receive_timeout;
}

void withEnableSsl(bool enable) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.

@github-actions github-actions bot added the stale Pull request is stale label Jul 13, 2023
@lizhanhui lizhanhui added no stale This will never be considered stale and removed stale Pull request is stale labels Jul 13, 2023
Copy link
Contributor

@lollipopjin lollipopjin left a comment

Choose a reason for hiding this comment

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

LGTM

@aaron-ai
Copy link
Member

Thanks @yulangz !

@aaron-ai aaron-ai merged commit 8b25896 into apache:master Jul 14, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no stale This will never be considered stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants