Commit graph

236 commits

Author SHA1 Message Date
Christoph Michael Becker
a8356baaf4 Fix : missing CURL_SSLVERSION_MAX_xxx
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349394 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 16:07:42 +00:00
Christoph Michael Becker
5d93330c9b Fix : Missing CURLOPT_COOKIELIST in doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349393 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:52:53 +00:00
Christoph Michael Becker
46b3f856ba Fix : curl_share_setopt incorrect argument type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349391 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:38:49 +00:00
Christoph Michael Becker
9e8923833c Fix the table of integer values on setopt page
Patch provided by Ekin.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349197 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-10 14:30:32 +00:00
Christoph Michael Becker
e6dfcca365 Fix changelog order
Should always be from in reverse chronological order.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349186 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-09 10:48:36 +00:00
Nikita Popov
e5731b4787 Document missing curl constants added in 7.3.x
Patch by ekinhbayar.

Closes .

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349125 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 08:54:11 +00:00
Nikita Popov
ec67793395 Fixes
Patch by ekinhbayar.

Closes .

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349069 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-30 14:45:43 +00:00
Christoph Michael Becker
162080c9d0 Document CURLOPT_HTTP09_ALLOWED
Cf. <https://github.com/php/php-src/pull/5114>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349025 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-26 13:42:43 +00:00
Christoph Michael Becker
25cfe14df1 Fix : CURLOPT_HTTP_CONTENT_DECODING is not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348881 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-12 10:11:39 +00:00
Christoph Michael Becker
6c9c135b41 Fix URL
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347496 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-27 13:57:18 +00:00
Christoph Michael Becker
3672e4f13d Update and clarify CURLMOPT_PIPELINING docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347375 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 13:55:31 +00:00
George Peter Banyard
0b3846c465 Nitpick, "etc." and "..." are equivalent using "etc..." is as saying "Et cetera Et cetera"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347154 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-05 20:07:42 +00:00
Sara Golemon
38842fa7dc Clarify that non-thread safe setting CURLOPT_DNS_USE_GLOBAL_CACHE is only enabled when it makes sense.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347135 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-04 14:04:02 +00:00
Peter Cowburn
e16c1b4587 improve curl_multi_exec() loops (doc )
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
91bd082167 Fix : 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
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 : 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 : 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
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 : 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  (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 : 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
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
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
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 )
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 )
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
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 )
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 )
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
Maciej Sobaczewski
3b7b17c9a9 Close bug (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 (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
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