Commit graph

299 commits

Author SHA1 Message Date
Nikita Popov
e5731b4787 Document missing curl constants added in 7.3.x
Patch by ekinhbayar.

Closes php/doc-en#27.

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 #79186
Patch by ekinhbayar.

Closes php/doc-en#28.

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 #79097: 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
George Peter Banyard
217fa0d006 add a check for curl_error and write error to file
-- 
Provided by anonymous 101037 (tiffany.k.taylor@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348426 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-04 10:44:47 +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
Christoph Michael Becker
2ac54492e8 Document new curl constants
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=6b73e692c976bdfdc710741cd983a9b33c13b3e7>

Based on a patch provided by Javier Spagnoletti.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347367 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-02 14:19:12 +00:00
Christoph Michael Becker
9e656ec06a Add missing CURL constant
Based on a patch provided by Javier Spagnoletti.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347362 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-30 11:52:28 +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
Christoph Michael Becker
a1be033c9b Remove PHP 4 related info
Also, it appears that the curlwrappers never made it to PECL.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346948 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-01 18:32:27 +00:00
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