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

Commit6608f74

Browse files
committed
Default true to always_verify_peer
1 parent7c6c708 commit6608f74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎boost/network/protocol/http/client/options.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class client_options {
3333
openssl_sni_hostname_(),
3434
openssl_options_(0),
3535
io_service_(),
36-
always_verify_peer_(false),
36+
always_verify_peer_(true),
3737
timeout_(0) {}
3838

3939
client_options(client_optionsconst& other)
@@ -141,6 +141,8 @@ class client_options {
141141

142142
/// Set whether we always verify the peer on the other side of the HTTPS
143143
/// connection.
144+
///
145+
/// Default: true.
144146
client_options&always_verify_peer(bool v) {
145147
always_verify_peer_ = v;
146148
return *this;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp