[GIT-PULLS] [php-src] PR #23357: ext/curl: handle CURLOPT_POSTREDIR as normal long

[email protected] (Sjord)
Newsgroups php.git-pulls
Message-ID <P6AspWXRyS2xTMrLLTECJy7fiu2pkEr4u72wrQyLedI@main.internal.php.net>
Pull Request: https://github.com/php/php-src/pull/23357
Author: Sjord

Don't treat CURLOPT_POSTREDIR specially. Just pass its value to curl directly. There is no need to do `& CURL_REDIR_POST_ALL`. Curl already does this internally. The only functional change is that negative numbers will now raise an error, which seems reasonable.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.