[Webkit-unassigned] [Bug 157562] New: [curl] curl_easy_setopt(CURLOPT_CONNECT_ONLY) should take a long parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 11 02:52:03 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=157562

            Bug ID: 157562
           Summary: [curl] curl_easy_setopt(CURLOPT_CONNECT_ONLY) should
                    take a long parameter
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

[curl] curl_easy_setopt(CURLOPT_CONNECT_ONLY) should take a long parameter

In Source/WebCore/platform/network/curl/SocketStreamHandleCurl.cpp (SocketStreamHandle::startThread),
there is a following code:

> curl_easy_setopt(curlHandle, CURLOPT_CONNECT_ONLY)

Required third argument is missing. This should be

> curl_easy_setopt(curlHandle, CURLOPT_CONNECT_ONLY, 1L)

Documentation: https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html
Introduced in Bug 144628.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160511/52195cb5/attachment-0001.html>


More information about the webkit-unassigned mailing list