- Notifications
You must be signed in to change notification settings - Fork425
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
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
2f21623
1e7c0e7
7c6c708
6608f74
d9ed6d9
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -33,7 +33,7 @@ class client_options { | ||
openssl_sni_hostname_(), | ||
openssl_options_(0), | ||
io_service_(), | ||
always_verify_peer_(true), | ||
timeout_(0) {} | ||
client_options(client_options const& other) | ||
@@ -141,6 +141,8 @@ class client_options { | ||
/// Set whether we always verify the peer on the other side of the HTTPS | ||
/// connection. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This could use a:
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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; | ||