Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document client options#613

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Default true to always_verify_peer
  • Loading branch information
@deanberris
deanberris committedMar 8, 2016
commit6608f740bee82ebcd1596fe2e4f250336ed990d4
4 changes: 3 additions & 1 deletionboost/network/protocol/http/client/options.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,7 +33,7 @@ class client_options {
openssl_sni_hostname_(),
openssl_options_(0),
io_service_(),
always_verify_peer_(false),
always_verify_peer_(true),
timeout_(0) {}

client_options(client_options const& other)
Expand DownExpand Up@@ -141,6 +141,8 @@ class client_options {

/// Set whether we always verify the peer on the other side of the HTTPS
/// connection.

Choose a reason for hiding this comment

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

This could use a:

/// Default: true

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Done -- and now changed the default to actually true (!!!?).

///
/// Default: true.
client_options& always_verify_peer(bool v) {
always_verify_peer_ = v;
return *this;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp