Skip to content

Commit

Permalink
Remove CURLOPT_BINARYTRANSFER opt, fix swoole/swoole-src#5595
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 4, 2024
1 parent ff7f1a7 commit f011834
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/Curl/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,6 @@ private function setOption(int $opt, mixed $value): bool
case CURLOPT_SSLVERSION:
case CURLOPT_NOSIGNAL:
case CURLOPT_FRESH_CONNECT:
/*
* From PHP 5.1.3, this option has no effect: the raw output will always be returned when CURLOPT_RETURNTRANSFER is used.
*/
case CURLOPT_BINARYTRANSFER: /* TODO */
case CURLOPT_DNS_USE_GLOBAL_CACHE:
case CURLOPT_DNS_CACHE_TIMEOUT:
case CURLOPT_STDERR:
Expand Down

0 comments on commit f011834

Please sign in to comment.