mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
post-5.5 changes for bug #46439 as described in the RFC
This commit is contained in:
parent
1ca429e1d6
commit
24447dca5d
@ -40,6 +40,9 @@ PHP X.Y UPGRADE NOTES
|
||||
4. Changed Functions
|
||||
========================================
|
||||
|
||||
- cURL:
|
||||
CURLOPT_SAFE_UPLOAD is now turned on by default and uploads with @file
|
||||
do not work unless it is explicitly set to false.
|
||||
|
||||
========================================
|
||||
5. New Functions
|
||||
|
@ -1822,7 +1822,7 @@ static void alloc_curl_handle(php_curl **ch)
|
||||
zend_llist_init(&(*ch)->to_free->str, sizeof(char *), (llist_dtor_func_t) curl_free_string, 0);
|
||||
zend_llist_init(&(*ch)->to_free->slist, sizeof(struct curl_slist), (llist_dtor_func_t) curl_free_slist, 0);
|
||||
zend_llist_init(&(*ch)->to_free->post, sizeof(struct HttpPost), (llist_dtor_func_t) curl_free_post, 0);
|
||||
(*ch)->safe_upload = 0; /* for now, for BC reason we allow unsafe API */
|
||||
(*ch)->safe_upload = 1; /* for now, for BC reason we allow unsafe API */
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user