mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
Fixed bug #28196 (missing error constants in cURL extension).
This commit is contained in:
parent
e81addb5ca
commit
6fd3a52665
@ -323,6 +323,25 @@ PHP_MINIT_FUNCTION(curl)
|
|||||||
REGISTER_CURL_CONSTANT(CURLE_TELNET_OPTION_SYNTAX);
|
REGISTER_CURL_CONSTANT(CURLE_TELNET_OPTION_SYNTAX);
|
||||||
REGISTER_CURL_CONSTANT(CURLE_OBSOLETE);
|
REGISTER_CURL_CONSTANT(CURLE_OBSOLETE);
|
||||||
REGISTER_CURL_CONSTANT(CURLE_SSL_PEER_CERTIFICATE);
|
REGISTER_CURL_CONSTANT(CURLE_SSL_PEER_CERTIFICATE);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_GOT_NOTHING);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SSL_ENGINE_NOTFOUND);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SSL_ENGINE_SETFAILED);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SEND_ERROR);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_RECV_ERROR);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SHARE_IN_USE);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SSL_CERTPROBLEM);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SSL_CIPHER);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_SSL_CACERT);
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_BAD_CONTENT_ENCODING);
|
||||||
|
#ifdef CURLE_LDAP_INVALID_URL
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_LDAP_INVALID_URL);
|
||||||
|
#endif
|
||||||
|
#ifdef CURLE_FILESIZE_EXCEEDED
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_FILESIZE_EXCEEDED);
|
||||||
|
#endif
|
||||||
|
#ifdef CURLE_FTP_SSL_FAILED
|
||||||
|
REGISTER_CURL_CONSTANT(CURLE_FTP_SSL_FAILED);
|
||||||
|
#endif
|
||||||
|
|
||||||
REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
|
REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
|
||||||
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
|
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
|
||||||
|
Loading…
Reference in New Issue
Block a user