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

[coro_http_client][improve]Improve ssl #540

Merged
merged 2 commits into from
Dec 25, 2023
Merged

Conversation

qicosmos
Copy link
Collaborator

Why

set sni host name as default.

What is changing

Example

  std::string uri = "https://cn.bing.com";
  [[maybe_unused]] auto ec = client.init_ssl("cn.bing.com"); // set sni host name.
  auto data = co_await client.async_get(uri);

@qicosmos qicosmos merged commit a21a606 into alibaba:main Dec 25, 2023
30 checks passed
@qicosmos qicosmos deleted the improve_ssl branch December 25, 2023 06:47
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.

1 participant