Title: [271719] trunk/Source/WebCore
Revision
271719
Author
don.olmst...@sony.com
Date
2021-01-21 15:36:35 -0800 (Thu, 21 Jan 2021)

Log Message

[Curl] Replace CURLOPT_ENCODING with CURLOPT_ACCEPT_ENCODING
https://bugs.webkit.org/show_bug.cgi?id=220825

Reviewed by Fujii Hironori.

Use CURLOPT_ACCEPT_ENCODING which replaced CURLOPT_ENCODING in cURL v7.21.6.

* platform/network/curl/CurlContext.cpp:
(WebCore::CurlHandle::enableAcceptEncoding):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (271718 => 271719)


--- trunk/Source/WebCore/ChangeLog	2021-01-21 23:35:38 UTC (rev 271718)
+++ trunk/Source/WebCore/ChangeLog	2021-01-21 23:36:35 UTC (rev 271719)
@@ -1,5 +1,17 @@
 2021-01-21  Don Olmstead  <don.olmst...@sony.com>
 
+        [Curl] Replace CURLOPT_ENCODING with CURLOPT_ACCEPT_ENCODING
+        https://bugs.webkit.org/show_bug.cgi?id=220825
+
+        Reviewed by Fujii Hironori.
+
+        Use CURLOPT_ACCEPT_ENCODING which replaced CURLOPT_ENCODING in cURL v7.21.6.
+
+        * platform/network/curl/CurlContext.cpp:
+        (WebCore::CurlHandle::enableAcceptEncoding):
+
+2021-01-21  Don Olmstead  <don.olmst...@sony.com>
+
         [Curl] Remove redundant certificate error check
         https://bugs.webkit.org/show_bug.cgi?id=220816
 

Modified: trunk/Source/WebCore/platform/network/curl/CurlContext.cpp (271718 => 271719)


--- trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2021-01-21 23:35:38 UTC (rev 271718)
+++ trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2021-01-21 23:36:35 UTC (rev 271719)
@@ -525,7 +525,7 @@
 void CurlHandle::enableAcceptEncoding()
 {
     // enable all supported built-in compressions (gzip and deflate) through Accept-Encoding:
-    curl_easy_setopt(m_handle, CURLOPT_ENCODING, "");
+    curl_easy_setopt(m_handle, CURLOPT_ACCEPT_ENCODING, "");
 }
 
 void CurlHandle::enableAllowedProtocols()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to