Commit graph

287 commits

Author SHA1 Message Date
Peter Cowburn
e16c1b4587 improve curl_multi_exec() loops (doc #77682)
curl_multi_exec() hasn't returned CURLM_CALL_MULTI_PERFORM for a loooong
time (it stopped doing so as of libcurl 7.20.0, which was released on
Feb 9 2010).

Thanks to Daniel Stenberg for the details.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346933 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 22:00:16 +00:00
Christoph Michael Becker
82c8243cae List new cURL constants
Cf. <https://github.com/php/php-src/pull/3541>.

Based on a patch provided by neranjan125@gmail.com.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345772 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-04 10:03:02 +00:00
Pasindu De Silva
5185cf5017 Added CURLOPT_REQUEST_TARGET constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345704 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 03:49:05 +00:00
Christoph Michael Becker
5e61ab9824 Fix #76649: cURL module requires libssh2.dll
This also integrates the user notes 115953, 116019, 121543 and 122442.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345565 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-29 15:12:16 +00:00
Christoph Michael Becker
91bd082167 Fix #76328: Documentation of CURLINFO_HTTP_CODE as legacy
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345002 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-11 16:11:29 +00:00
Christoph Michael Becker
30dd50ff89 The DLLs are renamed as of OpenSSL 1.1
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344987 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 13:54:14 +00:00
Christoph Michael Becker
96714651c2 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344978 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 11:38:46 +00:00
Christoph Michael Becker
eceb032b47 Fix grammar
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344861 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 13:51:22 +00:00
Christoph Michael Becker
7fb49b6b4f Clarify meaning of success/failure
This also integrates user note 87015.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344669 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-14 16:04:54 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Christoph Michael Becker
aacd13217f Log: Partially fix #75094: Functions not documented
We document the curl_*() functions which have been
introduced in PHP 7.1.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342910 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 15:07:32 +00:00
Pieter Hordijk
3162d2eadc Added in the description for CURLOPT_RESOLVE based on Curl's manpage, searching the PHP source code, and the bug report that brought it into the source code for 5.5
-- 
Provided by anonymous 84525 (toby.bettridge@stubside.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342670 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-16 18:38:13 +00:00
Christoph Michael Becker
cdf488a697 CURLOPT_SAFE_UPLOAD has been removed as of PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341917 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 18:03:48 +00:00
Christoph Michael Becker
97ca95ebfa Update docs for PHP 7.0.0
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341914 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 17:50:56 +00:00
Christoph Michael Becker
82d8f6e36b Document cURL server push support (as of PHP 7.1.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341647 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-12 17:32:00 +00:00
Christoph Michael Becker
bb280fc0f2 Fix #69117: CURLOPT_SSL_VERIFYHOST: lack of documentation for value 0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341538 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-30 12:10:29 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
2c649053d0 Improve CURLOPT_PINNEDPUBLICKEY documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340038 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-15 10:36:28 +00:00
Christoph Michael Becker
265c283cb5 Fix #72890: The description of CURLMOPT_MAXCONNECTS is wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339909 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-19 08:47:29 +00:00
Christoph Michael Becker
5435723c4c CURLINFO_FILETIME requires CURLOPT_FILETIME
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339608 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 10:39:17 +00:00
Christoph Michael Becker
f5700836b5 Document cURL constant added in PHP 7.0.7 plus a few added in PHP 5.5.0
Fixes also bug #72522 (No option CURLOPT_UNIX_SOCKET_PATH).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 16:54:52 +00:00
Christoph Michael Becker
d6f9689aae Fix #64798: curl_getinfo does not return info array if $opt = 0
Actually, $opt has no default value!

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339443 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 20:45:47 +00:00
Christoph Michael Becker
a02cc0d866 Fix #68176: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339371 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-16 16:38:42 +00:00
Pierrick Charron
626faa38dc Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339063 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-24 03:44:18 +00:00
Pierrick Charron
081af4a4b5 Add CURLOPT_FTP_FILEMETHOD and CURLOPT_PRIVATE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339062 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-24 03:18:10 +00:00
Pierrick Charron
3c295559b2 Add new constants into documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339061 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-24 00:32:49 +00:00
Thomas Punt
4ccbdb42a2 Resolve doc bug #68117
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338332 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 23:28:53 +00:00
Pasindu De Silva
e4c6a60320 Update curl version.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337905 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-23 18:28:27 +00:00
Christoph Michael Becker
6156d1a148 documented CURLPIPE_* constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337751 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 17:29:14 +00:00
Christoph Michael Becker
b3773f1a76 CURLOPT_CAINFO may also accept relative paths (fixes #70196)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337649 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-27 17:56:33 +00:00
Christoph Michael Becker
b67451f6fb improved CURLOPT_SAFE_UPLOAD documentation (fixes #70180)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337270 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-01 12:23:14 +00:00
Christoph Michael Becker
ecad194356 documented CURLE_SSH
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337258 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-28 17:22:49 +00:00
Christoph Michael Becker
49db5a44dd added explicit curl_close() to curl_multi_close() example to avoid memory leaks
(suggested by johnhole)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337181 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-17 12:26:58 +00:00
Christoph Michael Becker
ce917cdaf8 improved documentation of CURLOPT_PROXYTYPE (fixes #69950)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337060 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-27 11:39:14 +00:00
Christoph Michael Becker
03c93040de improved description of CURLOPT_TCP_NODELAY (fixes #69366)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336951 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 15:43:31 +00:00
Peter Cowburn
db31b1300d typo
Patch by Daniel Platt

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336890 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-08 22:47:00 +00:00
Stanislav Malyshev
4731f1a2d2 Improve CURLFile docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336593 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-18 22:43:19 +00:00
Maciej Sobaczewski
3b7b17c9a9 Close bug #69368 (Description of CURLOPT_HEADERFUNCTION flawed)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336354 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-04 04:50:37 +00:00
Maciej Sobaczewski
a62e1ac46e Close bug #69358 (Missing constant CURLINFO_REDIRECT_URL)
Patch provided by Christoph Michael Becker

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336353 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-04 04:17:53 +00:00
JulienPauli
a3078f7bcb Updated doc for new cURL constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335981 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-23 16:54:05 +00:00
Peter Cowburn
d69425501f document CURLOPT_POSTREDIR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335709 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-10 22:08:04 +00:00
Jean-Sebastien Hedde
80b45edaea References:
http://curl.haxx.se/libcurl/c/CURLOPT_PRIVATE.html
http://php.net/ChangeLog-5.php


I would like to edit the documentation of curl_setopt() too, but editing of this page is unavailable since weeks due to pending review.

Can you please review pending changes so I can edit the page, or add yourself the following:


under [value should be a string for the following values of the option parameter:]

<constant>CURLOPT_PRIVATE</constant>
Any data that should be associated with this cURL handle. This data can subsequently be retrieved with the <constant>CURLINFO_PRIVATE</constant> option of <function>curl_getinfo</function>. cURL does nothing with this data. When using a cURL multi handle, this private data is typically a unique key to identify a normal cURL handle.
Added in cURL 7.10.3.

under [Changelog]:

5.2.4
Introduced CURLOPT_PRIVATE.


-- 
Provided by anonymous 50443 (francois.bonzon@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335488 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:51:33 +00:00
Joe Watkins
b653253e42 remove the incorrect use of the word parallel from curl_multi_* documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335160 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-05 09:18:06 +00:00
Rasmus Lerdorf
3c735d9bbc Clarify the wording for curl_multi_select().
0 is not an error state here.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335159 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-04 22:39:34 +00:00
Jean-Sebastien Hedde
71bc29ab34 Adds documentation for:
CURLINFO_REDIRECT_URL
CURLINFO_PRIMARY_IP
CURLINFO_PRIMARY_PORT
CURLINFO_LOCAL_IP
CURLINFO_LOCAL_PORT

Sources:
cURL doc: http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
PHP changelog: http://php.net/ChangeLog-5.php

-- 
Provided by anonymous 50443 (francois.bonzon@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335116 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-21 18:32:54 +00:00
Rasmus Lerdorf
958cde3f4b Add missing constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335082 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-19 00:00:33 +00:00
Rasmus Lerdorf
60917b8446 POODLE commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335076 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-16 17:51:38 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Simion Onea
ba08db8805 Corrected markup. Enclosed PATH environment variable in <envar></envar> tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334758 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:04:37 +00:00
Adam Harvey
da75c15e02 Update the changed functions list, and integrate the changes into the text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334639 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:47:47 +00:00