Changeset 52438 in webkit
- Timestamp:
- Dec 21, 2009 1:48:44 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52434 r52438 1 2009-12-18 Julien Chaffraix <jchaffraix@pleyo.com> 2 3 Reviewed by Darin Adler. 4 5 defersLoading is disabled in current libcURL. 6 https://bugs.webkit.org/show_bug.cgi?id=32707 7 8 Basically this change reverts r49577 that was totally wrong. 9 According to curlver.h, LIBCURL_VERSION_NUM is a 10 "6-digit (24 bits) hexadecimal number". 11 12 The check should be against 0x071200 (7.18) as it was originally the case. 13 14 * platform/network/curl/ResourceHandleManager.cpp: 15 (WebCore::ResourceHandleManager::initializeHandle): Use the right check. 16 * platform/network/curl/ResourceHandleCurl.cpp: 17 (WebCore::ResourceHandle::setDefersLoading): Ditto. Also removed a print 18 to use a LOG_ERROR instead. 19 1 20 2009-12-20 Kent Tamura <tkent@chromium.org> 2 21 -
trunk/WebCore/platform/network/curl/ResourceHandleCurl.cpp
r49577 r52438 157 157 return; 158 158 159 #if LIBCURL_VERSION_NUM > 0x071 800159 #if LIBCURL_VERSION_NUM > 0x071200 160 160 if (!d->m_handle) 161 161 d->m_defersLoading = defers; … … 180 180 #else 181 181 d->m_defersLoading = defers; 182 #ifndef NDEBUG 183 printf("Deferred loading is implemented if libcURL version is above 7.18.0"); 184 #endif 182 LOG_ERROR("Deferred loading is implemented if libcURL version is above 7.18.0"); 185 183 #endif 186 184 } -
trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp
r51880 r52438 703 703 d->m_handle = curl_easy_init(); 704 704 705 #if LIBCURL_VERSION_NUM > 0x071 800705 #if LIBCURL_VERSION_NUM > 0x071200 706 706 if (d->m_defersLoading) { 707 707 CURLcode error = curl_easy_pause(d->m_handle, CURLPAUSE_ALL);
Note: See TracChangeset
for help on using the changeset viewer.