History log of /php-src/ext/curl/interface.c (Results 76 – 100 of 617)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b516566b 17-Jun-2020 Máté Kocsis

Convert CURL resources to objects

Closes GH-5402

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

# 93b51f4e 12-May-2020 George Peter Banyard

Fix [-Wundef] warning in cURL extension

# 7c307873 04-Apr-2020 Máté Kocsis

Generate function entries from stubs for a couple of extensions

Closes GH-5347

Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16
# b612559a 12-Mar-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #79199: curl_copy_handle() memory leak


# ddc3f3d5 12-Mar-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #79199: curl_copy_handle() memory leak


# 2b5fc8e3 11-Mar-2020 Christoph M. Becker

Fix #79199: curl_copy_handle() memory leak

`curl_copy_handle()` already registers a new resource, so we must not
increase the refcount of the original resource.

Revision tags: php-7.4.4RC1, php-7.3.16RC1
# b9c15772 02-Mar-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #79013: Content-Length missing when posting a curlFile with curl


# fc8b3ab7 02-Mar-2020 Christoph M. Becker

Fix #79013: Content-Length missing when posting a curlFile with curl

Unfortunately, some Webservers (e.g. IIS) do not implement the (F)CGI
specifications correctly wrt. chunked uploads (

Fix #79013: Content-Length missing when posting a curlFile with curl

Unfortunately, some Webservers (e.g. IIS) do not implement the (F)CGI
specifications correctly wrt. chunked uploads (i.e. Transfer-encoding:
chunked), but instead pass -1 as CONTENT_LENGTH to the CGI
application. However, our (F)CFI SAPIs (i.e. cgi and cgi-fcgi) do not
support this.

Therefore we try to retrieve the stream size in advance and pass it to
`curl_mime_data_cb()` to prevent libcurl from doing chunked uploads.
This is basically the same approach that `curl_mime_filedata()`
implements, except that we are keeping already opened streams open for
the `read_cb()`.

show more ...

Revision tags: php-7.4.3, php-7.2.28
# 8ceac81b 11-Feb-2020 ekinhbayar

Remove CURLOPT_PASSWDDATA block CURLOPT_PASSWDDATA was removed from curl as of 7.10.8

Closes GH-5166.

Revision tags: php-7.3.15RC1
# f55f0ae9 04-Feb-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #79019: Copied cURL handles upload empty file


# 2d0dec91 04-Feb-2020 Christoph M. Becker

Fix #79019: Copied cURL handles upload empty file

To cater to `curl_copy_handle()` of cURL handles with attached
`CURLFile`s, we must not attach the opened stream, because the stream

Fix #79019: Copied cURL handles upload empty file

To cater to `curl_copy_handle()` of cURL handles with attached
`CURLFile`s, we must not attach the opened stream, because the stream
may not be seekable, so that we could rewind, when the same stream is
going to be uploaded multiple times. Instead, we're opening the stream
lazily in the read callback.

Since `curl_multi_perfom()` processes easy handles asynchronously, we
have no control of the operation sequence. Since duplicated cURL
handles may be used with multi handles, we cannot use a single arg
structure, but actually have to rebuild the whole mime structure on
handle duplication and attach this to the new handle.

In order to better test this behavior, we extend the test responder to
print the size of the upload, and patch the existing tests accordingly.

show more ...

Revision tags: php-7.4.3RC1, php-7.3.15
# 2fe86669 26-Jan-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Add CURLOPT CURLOPT_HTTP09_ALLOWED available since 7.64.0


# 41e1891e 26-Jan-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Add CURLOPT CURLOPT_HTTP09_ALLOWED available since 7.64.0


# b836d9cd 26-Jan-2020 Florian Smeets

Add CURLOPT CURLOPT_HTTP09_ALLOWED available since 7.64.0

Revision tags: php-7.2.27, php-7.4.2, php-7.3.14
# 7426e3b6 18-Jan-2020 Christoph M. Becker

Bump required libcurl version to 7.29.0

libcurl 7.29.0 has been released almost eight years ago, so this
version is supposed to be available practically everywhere. This bump
also a

Bump required libcurl version to 7.29.0

libcurl 7.29.0 has been released almost eight years ago, so this
version is supposed to be available practically everywhere. This bump
also allows us to get rid of quite some conditional code and tests
catering to very old libcurl versions.

show more ...

# d1764ca3 15-Jan-2020 Máté Kocsis

Make error messages more consistent by fixing capitalization

Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.

# 8f185d35 08-Jan-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Extract function


# a6d385a8 08-Jan-2020 Christoph M. Becker

Extract function

As suggested by Nikita[1].

[1] <https://github.com/php/php-src/pull/5045#discussion_r364265013>

Revision tags: php-7.3.14RC1, php-7.4.2RC1
# 06e78cad 06-Jan-2020 Christoph M. Becker

Revert "Extend CURLFile to support streams"

This reverts commit 17a9f1401aeb35fe1e3657b38102a410d151d42f, because
this commit would break ABI, and also due to bug #79013.
We keep the

Revert "Extend CURLFile to support streams"

This reverts commit 17a9f1401aeb35fe1e3657b38102a410d151d42f, because
this commit would break ABI, and also due to bug #79013.
We keep the commit for PHP 7.4+, though.

show more ...

# 0b4da7e6 06-Jan-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Don't link against openssl 1.1 in curl


# 68f6ab71 06-Jan-2020 Nikita Popov

Don't link against openssl 1.1 in curl

OpenSSL 1.1 does not need crypto locking callbacks, so avoid
detecting and linking against it in the first place.

# 730f4f25 06-Jan-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix bug #79063: Curl openssl does not respect PKG_CONFIG_PATH
Clean up curl openssl check


# 2d29904f 06-Jan-2020 Nikita Popov

Clean up curl openssl check

Only set HAVE_CURL_OPENSSL flag, and remove Windows specific code,
as all of this is only relevant for OpenSSL < 1.1, which is not
used on Windows.

# bbcfa66e 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_fetch_resource*()

# 86675dd3 28-Dec-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #79033: Curl timeout error with specific url and post


12345678910>>...25