Changeset 29037 in webkit


Ignore:
Timestamp:
Dec 30, 2007 3:52:03 AM (16 years ago)
Author:
alp@webkit.org
Message:

2007-12-30 Luca Bruno <lethalman88@gmail.com>

Reviewed by Alp Toker.

http://bugs.webkit.org/show_bug.cgi?id=16099
Crash in CURL for empty POST

We have to set POST even when the data is empty, otherwise cURL will
hang while waiting for a response.

  • platform/network/curl/ResourceHandleManager.cpp (ResourceHandleManager::setupPOST): allow empty POST
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29035 r29037  
     12007-12-30  Luca Bruno  <lethalman88@gmail.com>
     2
     3        Reviewed by Alp Toker.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=16099
     6        Crash in CURL for empty POST
     7
     8        We have to set POST even when the data is empty, otherwise cURL will
     9        hang while waiting for a response.
     10
     11        * platform/network/curl/ResourceHandleManager.cpp
     12        (ResourceHandleManager::setupPOST): allow empty POST
     13
    1142007-12-29  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
    215
  • trunk/WebCore/platform/network/curl/ResourceHandleManager.cpp

    r28834 r29037  
    331331    }
    332332
    333     if (post)
    334         curl_easy_setopt(d->m_handle, CURLOPT_HTTPPOST, post);
     333    curl_easy_setopt(d->m_handle, CURLOPT_HTTPPOST, post);
    335334}
    336335
Note: See TracChangeset for help on using the changeset viewer.