We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c6c708 commit 6608f74Copy full SHA for 6608f74
boost/network/protocol/http/client/options.hpp
@@ -33,7 +33,7 @@ class client_options {
33
openssl_sni_hostname_(),
34
openssl_options_(0),
35
io_service_(),
36
- always_verify_peer_(false),
+ always_verify_peer_(true),
37
timeout_(0) {}
38
39
client_options(client_options const& other)
@@ -141,6 +141,8 @@ class client_options {
141
142
/// Set whether we always verify the peer on the other side of the HTTPS
143
/// connection.
144
+ ///
145
+ /// Default: true.
146
client_options& always_verify_peer(bool v) {
147
always_verify_peer_ = v;
148
return *this;
0 commit comments