diff options
author | Rider Linden <none@none> | 2015-03-27 17:00:02 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-03-27 17:00:02 -0700 |
commit | 735364038767694ea29d9b6a168410e6482cc9c2 (patch) | |
tree | 7f04704516d6c5d537bca1fc9290a2beb268c820 /indra/llcorehttp/httpoptions.cpp | |
parent | b9e80807091aa7a27f1a10a23dd32bbb292d9dfb (diff) |
first set of chnages from code review from Nat
Diffstat (limited to 'indra/llcorehttp/httpoptions.cpp')
-rwxr-xr-x | indra/llcorehttp/httpoptions.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcorehttp/httpoptions.cpp b/indra/llcorehttp/httpoptions.cpp index 28c2c25e92..a4d08a80df 100755 --- a/indra/llcorehttp/httpoptions.cpp +++ b/indra/llcorehttp/httpoptions.cpp @@ -42,8 +42,8 @@ HttpOptions::HttpOptions() : RefCounted(true), mUseRetryAfter(HTTP_USE_RETRY_AFTER_DEFAULT), mFollowRedirects(false), mVerifyPeer(false), - mVerifyHost(0), - mDNSCacheTimeout(15) + mVerifyHost(false), + mDNSCacheTimeout(-1L) {} @@ -95,9 +95,9 @@ void HttpOptions::setSSLVerifyPeer(bool verify) mVerifyPeer = verify; } -void HttpOptions::setSSLVerifyHost(unsigned int type) +void HttpOptions::setSSLVerifyHost(bool verify) { - mVerifyHost = llclamp<unsigned int>(type, 0, 2); + mVerifyHost = verify; } void HttpOptions::setDNSCacheTimeout(int timeout) |