Changeset 30359 in webkit
- Timestamp:
- Feb 17, 2008 3:53:27 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r30355 r30359 1 2008-02-17 Alp Toker <alp@atoker.com> 2 3 Reviewed by Sam Weinig. 4 5 Fix for change made in r30355. Issue noticed by İsmail Dönmez. 6 7 Verify SSL certs by default, but allow checks to be disabled with an 8 environment variable (WEBKIT_IGNORE_SSL_ERRORS) for now. 9 10 * platform/network/curl/ResourceHandleManager.cpp: 11 (WebCore::ResourceHandleManager::startJob): 12 1 13 2008-02-17 Bin Chen <binary.chen@gmail.com> 2 14 -
trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp
r30355 r30359 55 55 const int maxRunningJobs = 5; 56 56 57 static const bool ignoreSSLErrors = getenv("WEBKIT_IGNORE_SSL_ERRORS"); 58 57 59 ResourceHandleManager::ResourceHandleManager() 58 60 : m_downloadTimer(this, &ResourceHandleManager::downloadTimerCallback) … … 565 567 // FIXME: Enable SSL verification when we have a way of shipping certs 566 568 // and/or reporting SSL errors to the user. 567 curl_easy_setopt(d->m_handle, CURLOPT_SSL_VERIFYPEER, false); 569 if (ignoreSSLErrors) 570 curl_easy_setopt(d->m_handle, CURLOPT_SSL_VERIFYPEER, false); 568 571 // enable gzip and deflate through Accept-Encoding: 569 572 curl_easy_setopt(d->m_handle, CURLOPT_ENCODING, "");
Note: See TracChangeset
for help on using the changeset viewer.