History log of /PHP-8.0/ext/curl/interface.c (Results 201 – 225 of 498)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a031dc06 24-Feb-2014 Daniel Lowrey

Add openssl.cafile ini check when loading cainfo


# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20
# fba290c0 10-Sep-2013 Adam Harvey

Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.

Newer versions of libcurl prevent file:// location response headers by default,
which means that the open_basedir check is unne

Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.

Newer versions of libcurl prevent file:// location response headers by default,
which means that the open_basedir check is unnecessary — the fact
CURLOPT_REDIR_PROTOCOLS can't set CURLPROTO_FILE with open_basedir enabled
means that there's no possibility of breaching the open_basedir restriction,
and this allows HTTP redirects to be followed automatically.

Implements FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or
safe_mode).

show more ...


Revision tags: php-5.5.4RC1, php-5.4.20RC1
# 54d4a280 21-Aug-2013 Christopher Jones

Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"


Revision tags: php-5.5.3, php-5.4.19
# d5979c88 20-Aug-2013 Christopher Jones

Reduce (some more) compile noise of 'unused variable' and 'may be used
uninitialized' warnings.


# aa7d3d8e 19-Aug-2013 Adam Harvey

Track created curl_slist structs by option so they can be updated in situ.

At present, when curl_setopt() is called with an option that requires the
creation of a curl_slist, we simply p

Track created curl_slist structs by option so they can be updated in situ.

At present, when curl_setopt() is called with an option that requires the
creation of a curl_slist, we simply push the new curl_slist onto a list to be
freed when the curl handle is freed. This avoids a memory leak, but means that
repeated calls to curl_setopt() on the same handle with the same option wastes
previously allocated memory on curl_slist structs that will no longer be read.

This commit changes the zend_llist that was previously used to track the lists
to a HashTable keyed by the option number, which means that we can simply
update the hash table each time curl_setopt() is called.

Fixes bug #65458 (curl memory leak).

show more ...


Revision tags: php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17
# 623386d7 26-Jun-2013 Felipe Pena

- Fixed typo on condition


Revision tags: php-5.5.0, php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1, php-5.5.0RC1, php-5.3.25, php-5.4.15
# 4e773c1b 29-Apr-2013 Stanislav Malyshev

Revert "Add CURL_WRAPPERS_ENABLE constant"

This reverts commit d7f709a032a40cb475042b43db07a4698a2488b7.
Since wrappers are deleted from 5.5, no point in adding this constant.


Revision tags: php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1
# b79e65f2 23-Apr-2013 Pierrick Charron

Remove curl wrappers


Revision tags: php-5.4.14, php-5.3.24, php-5.5.0beta3
# 185e5e15 04-Apr-2013 Xinchen Hui

s ,CURL_WRAPPERS_ENABLE,CURL_WRAPPERS_ENABLED,


# d7f709a0 03-Apr-2013 Xinchen Hui

Add CURL_WRAPPERS_ENABLE constant

see http://news.php.net/php.internals/66871


Revision tags: php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2, php-5.5.0beta1, php-5.3.23, php-5.4.13, php-5.5.0alpha6, php-5.3.23RC1, php-5.4.13RC1, php-5.3.22, php-5.5.0alpha5, php-5.4.12
# 432d59ab 17-Feb-2013 Anatol Belski

fix free vs. curl_free


Revision tags: php-5.3.22RC2, php-5.4.12RC2, php-5.3.22RC1, php-5.4.12RC1
# 24447dca 29-Jan-2013 Stanislav Malyshev

post-5.5 changes for bug #46439 as described in the RFC


# a9d013bb 29-Jan-2013 Stanislav Malyshev

Implement fix for bug #46439 - add CURLFile class for safer uploads


Revision tags: php-5.5.0alpha4, php-5.3.21, php-5.4.11, php-5.5.0alpha3
# f85e5950 05-Jan-2013 Pierrick Charron

Improve resource management for curl handle

Previous implementation was using its own refcounting (uses field of
the php_curl struct). zend_list_add/remove already implements its own

Improve resource management for curl handle

Previous implementation was using its own refcounting (uses field of
the php_curl struct). zend_list_add/remove already implements its own
refcount, so we don't need to use an other one.

show more ...


Revision tags: php-5.3.21RC1, php-5.4.11RC1
# 343a9199 02-Jan-2013 Pierrick Charron

Remove passwd handler from struct when not needed

CURLOPT_PASSWDFUNCTION was removed in cURL 7.15.5, the passwd field
will not be used for version greater than this one


# a666285b 01-Jan-2013 Xinchen Hui

Happy New Year


# 0a7395e0 01-Jan-2013 Xinchen Hui

Happy New Year


# a2045ff3 01-Jan-2013 Xinchen Hui

Happy New Year~


# 722b8fb8 28-Dec-2012 Pierrick Charron

Add new curl options

Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
CURLOPT_TCP_KEEPID

Add new curl options

Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.

show more ...


# ac3d227e 27-Dec-2012 Pierrick Charron

Fixed #63859 Memory leak when reusing curl-handle

When CURLOPT_POSTFIELDS is called more than once on the same
curl handle, php/curl did not free the memory of the previous
post data

Fixed #63859 Memory leak when reusing curl-handle

When CURLOPT_POSTFIELDS is called more than once on the same
curl handle, php/curl did not free the memory of the previous
post data. This commit will fix the problem unless the curl
handle was previously duplicated using the curl_copy_handle()
function in which case we can not know if the post data is
still in use or not by any curl handle

show more ...


# 33f44af1 23-Dec-2012 Pierrick Charron

New curl_pause() function

Add the curl_pause function (binding of curl_easy_pause).
Using this function, you can explicitly mark a running connection
to get paused, and you can unpau

New curl_pause() function

Add the curl_pause function (binding of curl_easy_pause).
Using this function, you can explicitly mark a running connection
to get paused, and you can unpause a connection that was
previously paused.

show more ...


# 4b4f3db7 23-Dec-2012 Pierrick Charron

Support for curl_strerror and curl_multi_strerror

Add the support for both curl_strerror and curl_multi_strerror.
Those function will return a string describing the error code
passed

Support for curl_strerror and curl_multi_strerror

Add the support for both curl_strerror and curl_multi_strerror.
Those function will return a string describing the error code
passed in the argument errornum

show more ...


12345678910>>...20