Page MenuHomePhabricator

D15086.id.diff
No OneTemporary

D15086.id.diff

diff --git a/src/future/http/HTTPSFuture.php b/src/future/http/HTTPSFuture.php
--- a/src/future/http/HTTPSFuture.php
+++ b/src/future/http/HTTPSFuture.php
@@ -229,6 +229,14 @@
curl_setopt($curl, CURLOPT_REDIR_PROTOCOLS, $allowed_protocols);
}
+ if (defined('CURLOPT_CIPHERS')) {
+ // cURL also supports a lot of ciphers.
+ // In some cases it's required to force a certain cipher in order to
+ // make a request
+
+ curl_setopt($curl, CURLOPT_SSL_CIPHER_LIST, CURLOPT_CIPHERS);
+ }
+
if (strlen($this->rawBody)) {
if ($this->getData()) {
throw new Exception(

File Metadata

Mime Type
text/plain
Expires
Sep 6 2025, 1:58 AM (12 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8955212
Default Alt Text
D15086.id.diff (643 B)

Event Timeline