PHP :: Request #54995 :: Missing CURLINFO_RESPONSE_CODE support
| Request #54995 | Missing CURLINFO_RESPONSE_CODE support | ||||
|---|---|---|---|---|---|
| Submitted: | 2011-06-05 17:00 UTC | Modified: | 2011-11-23 05:51 UTC | ||
| From: | steven dot hartland at multiplay dot co dot uk | Assigned: | pierrick (profile) | ||
| Status: | Closed | Package: | cURL related | ||
| PHP Version: | 5.3.6 | OS: | N/A | ||
| Private report: | No | CVE-ID: | None | ||
[2011-06-05 17:00 UTC] steven dot hartland at multiplay dot co dot uk
Description: ------------ As of libcurl 7.10.7 CURLINFO_HTTP_CODE is now known as CURLINFO_RESPONSE_CODE this doesn't seem to have been updated in ext/curl the result being a failure if CURLINFO_RESPONSE_CODE is used with curl_getinfo Test script: --------------- Try to use: curl_getinfo($ch, CURLINFO_RESPONSE_CODE); Expected result: ---------------- curl_getinfo($ch, CURLINFO_RESPONSE_CODE) should return the same as curl_getinfo($ch, CURLINFO_HTTP_CODE) currently does. Actual result: -------------- Always fails as CURLINFO_RESPONSE_CODE isn't defined
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits