Commit graph

211 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Andrea Faulds
a75d3ffb20 Noted that CURLOPT_SAFE_DEFAULT was added in PHP 5.5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333638 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-31 17:00:58 +00:00
Andrea Faulds
8ba9551033 Noted CURLOPT_SAFE_UPLOAD in curl_setopt, which was introduced in PHP 5.5
(Finally)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333635 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-31 14:06:49 +00:00
Chris Wright
3630873137 Add CURLOPT_TCP_NODELAY documentation
--
Provided by Incognito (drakain@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333124 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-26 14:31:37 +00:00
Chris Wright
a2590b092c Remove CURLOPT_CLOSEPOLICY
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332896 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-27 11:10:24 +00:00
Joe Watkins
0879aae575 fix #64365
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332147 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 08:50:46 +00:00
Joe Watkins
5b851f93be #65993 fix incorrect curlopt info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332015 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-30 06:42:59 +00:00
Joe Watkins
400d6eb5b7 #61911 incorrect description of option constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331739 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:30:16 +00:00
Joe Watkins
372c429475 #65415 clarity in description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331667 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-04 17:16:50 +00:00
Joe Watkins
9810b1ec48 fix #65316 additional info into curlopts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331661 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-04 16:18:41 +00:00
Chris Wright
d7bf877330 Document CURLFile::__construct and make curl_file_create an alias
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331408 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-16 08:50:46 +00:00
Chris Wright
59a1bbcb6f Whitespace fixes
Fix all outstanding strict whitespace errors flagged by the online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331331 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-09 16:17:46 +00:00
Peter Cowburn
a5064d6ab7 revert r331005
Rollback accidental changes made in the online editor.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331007 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-23 09:07:14 +00:00
Paul Dragoonis
423959d319 Adding CURLOPT_POSTREDIR option.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331005 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-22 23:07:17 +00:00
Jakub Vrana
1fa1e8e17d Document CURLMOPT_*
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330733 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-01 18:08:08 +00:00
Adam Scheller
99f63c5702 Documentation for curl_multi_strerror
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330652 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 21:05:55 +00:00
Peter Cowburn
5b6a972d4a CURLOPT_PROGRESSFUNCTION 5.5.0 change (doc #65105)
Also added 5.3.0 changelog entry as when
CURLOPT_PROGRESSFUNCTION was introduced.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330624 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-23 12:49:00 +00:00
Adam Scheller
4c476a5fba XML fix for curl_file_create
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330522 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-16 19:10:12 +00:00
Adam Scheller
995444f050 Documentation for curl_file_create
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330516 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-16 10:16:37 +00:00
Adam Scheller
afdb1491f2 Added CURLOPT_SHARE option to curl_setopt
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330512 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-15 21:22:46 +00:00
Adam Scheller
e5868a071f Documentation for curl_share_* functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330511 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-15 21:02:02 +00:00
Adam Scheller
fd8932b966 Documentation for curl_reset
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330507 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-15 13:03:44 +00:00
Adam Scheller
288705b80e Documentation for curl_strerror
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330506 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-15 13:03:33 +00:00
Adam Scheller
4935e95ad9 Documentation for curl_unescape
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330505 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-15 13:02:31 +00:00