-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURL issues in 8.3.7 #14184
Comments
I see a similar issue in composer github, they suggest removing CURLOPT_ENCODING, "" - PHP docoumentation says: "If an empty string, "", is set, a header containing all supported encoding types is sent." - that appears not to be the case in 8.3.7 - i'll test this now. Edit 1: looks like CURL renamed it! https://curl.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html Edit 2: OK, yes, removing I think there are a few issues here:
|
This has nothing to do with PHP. It's an upstream curl problem. |
This is not a bug in PHP, thus closing. |
Description
The following code (unchanged for years) is suddenly breaking in PHP 8.3.7 64bit NTS on IIS 10
All of a sudden curl_exec() is returning false, more interestingly, curl_error($ch) returns an empty string!
Rolling back to PHP 8.3.3 fixes the problem and everything works as normal.
Digging a little deaper I added extra logging:
This gave me:
HTTP Error: CURL RETURNED FALSE (ErrorNo: 23, ErrorNoStr: Failed writing received data to disk/application, ) with status code 200
Note the http 200 - it looks like the CURL request is successfull, but CURL is returning false because of some disk writing issue?
PHP Version
PHP 8.3.7
Operating System
Windows 11 / WIndows Server 2016+
The text was updated successfully, but these errors were encountered: