Changeset 162464 in webkit


Ignore:
Timestamp:
Jan 21, 2014 12:26:37 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Support SSL error handling in case of synchronous job.
https://bugs.webkit.org/show_bug.cgi?id=125301

Patch by Robert Sipka <sipka@inf.u-szeged.hu> on 2014-01-21
Reviewed by Brent Fulgham.

Set ssl error informations for the users.

  • platform/network/curl/ResourceHandleManager.cpp:

(WebCore::ResourceHandleManager::dispatchSynchronousJob):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r162463 r162464  
     12014-01-21  Robert Sipka  <sipka@inf.u-szeged.hu>
     2
     3        Support SSL error handling in case of synchronous job.
     4        https://bugs.webkit.org/show_bug.cgi?id=125301
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Set ssl error informations for the users.
     9
     10        * platform/network/curl/ResourceHandleManager.cpp:
     11        (WebCore::ResourceHandleManager::dispatchSynchronousJob):
     12
    1132014-01-21  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp

    r159587 r162464  
    844844    CURLcode ret =  curl_easy_perform(handle->m_handle);
    845845
    846     if (ret != 0) {
     846    if (ret != CURLE_OK) {
    847847        ResourceError error(String(handle->m_url), ret, String(handle->m_url), String(curl_easy_strerror(ret)));
     848        error.setSSLErrors(handle->m_sslErrors);
    848849        handle->client()->didFail(job, error);
    849850    }
Note: See TracChangeset for help on using the changeset viewer.