History log of /PHP-8.1/ext/curl/curl_private.h (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30, php-7.3.29
# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28, php-7.3.27, php-7.3.26, php-7.3.26RC1
# e727919b 26-Nov-2020 Alexander Moskalev

cURL: make possible to send file from buffer string

Add CURLStringFile class which works similarly to CURLFile, but
uploads a file from a string rather than a file. This avoids the
n

cURL: make possible to send file from buffer string

Add CURLStringFile class which works similarly to CURLFile, but
uploads a file from a string rather than a file. This avoids the
need to create a temporary file, or use of a data:// stream.

Basic usage:

$file = new CURLStringFile($data, 'filename.txt', 'text/plain');
curl_setopt($curl, CURLOPT_POSTFIELDS, ['file' => $file]);

Closes GH-6456.

show more ...

# 5f210620 03-Feb-2021 Máté Kocsis

Generate class entries for a few extensions

Relates to GH-6644

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 5276ca61 04-Jan-2021 Nikita Popov

Manually store CURLOPT_PRIVATE data

This is simpler than going through curl, because we can manage
the memory more easily (in particular, this removes the need for
to_free->str). Add

Manually store CURLOPT_PRIVATE data

This is simpler than going through curl, because we can manage
the memory more easily (in particular, this removes the need for
to_free->str). Additionally this allows the CURLOPT_PRIVATE data
to have any type, instead of being implicitly cast to string.

show more ...

# 5c21d39d 04-Jan-2021 Nikita Popov

Remove method member from php_curl_callback

For these callbacks a non-null callback already indicates that
a user callback should be used. We don't need an additional
member to tell

Remove method member from php_curl_callback

For these callbacks a non-null callback already indicates that
a user callback should be used. We don't need an additional
member to tell us the same thing.

show more ...

# ee6cb72d 04-Jan-2021 Nikita Popov

Remove unused still_running member

# ce2e1076 04-Jan-2021 Nikita Popov

Don't allocate php_curl_handlers separately

Always allocated together with php_curl... no point in that.

# cc11130b 04-Jan-2021 Nikita Popov

Don't allocate php_curlm_handlers separately

This is always allocated together with the php_curlm structure,
there's no point in making it a separate allocation.

# 66ffa1c9 04-Jan-2021 Nikita Popov

Use single typedef for curl callbacks

There's no value in making these separate types.

Revision tags: php-7.3.25
# b4a2a966 11-Nov-2020 Nikita Popov

Retain reference to share handle from curl handle

Not keeping a reference will not result in use after free, because
curl protects against it, but it will result in a memory leak,
be

Retain reference to share handle from curl handle

Not keeping a reference will not result in use after free, because
curl protects against it, but it will result in a memory leak,
because curl_share_cleanup() will fail. We should make sure that
the share handle object stays alive as long as the curl handles
use it.

show more ...

Revision tags: php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1
# 85b5dc47 07-Sep-2020 Nikita Popov

Private/public split curl header

To allow exporting the php_curl.h header containing curl class
entries, split off a separate curl_private.h header with all the
implementation detail

Private/public split curl header

To allow exporting the php_curl.h header containing curl class
entries, split off a separate curl_private.h header with all the
implementation details.

We may move or expose additional APIs in php_curl.h on an as-needed
basis.

show more ...