pfofi
5a6e387a2d
Reflect new default for CURLOPT_TIMECONDITION
since cURL 7.46.0
...
* Reflect new default for `CURLOPT_TIMECONDITION` since cURL 7.46.0
In cURL 7.46.0 the default for `CURLOPT_TIMECONDITION` was changed from `CURL_TIMECOND_IFMODSINCE` to `CURL_TIMECOND_NONE`.
References:
- https://curl.se/libcurl/c/CURLOPT_TIMECONDITION.html
- https://curl.se/changes.html#7_46_0
- https://github.com/curl/curl/commit/cd2b73b3e
Closes GH-765.
2021-08-06 12:34:30 +02:00
Christoph M. Becker
59e1af19dd
Fix #77762 : CURLOPT_SSL_VERIFYHOST should mention subjectaltname
...
We also state that `1` should not be used, since it changed its
meaning: <https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html >,
and we can't be bothered to document the version dependent behavior
back to cURL 7.10.5.
2021-07-16 17:15:05 +02:00
Christoph M. Becker
f52f2a81eb
Fix #81201 : Missing description of CURLOPT_PASSWORD option
2021-06-25 18:49:14 +02:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 ( #548 )
2021-04-26 11:46:55 +03:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 ( #544 )
2021-04-23 11:35:26 +03:00
Ayesh Karunaratne
61f5c7a1f5
Fix CURLOPT_MAXREDIRS
/FOLLOWLOCATION
descriptions
...
Currently, the description for `CURLOPT_FOLLOWLOCATION` and `CURLOPT_MAXREDIRS` indicates that unless a `CURLOPT_MAXREDIRS` value is set, Curl will do an infinite loop.
However, this is not the case, because PHP internally sets a default value of 20. Please see:
- [`ext/curl/interface.c`](d0e3fb495f/ext/curl/interface.c (L1806)
)
- [PHP Curl Security Hardening: Infinite loops](https://php.watch/articles/php-curl-security-hardening#infinite-redirects )
- [Libcurl: CURLOPT_MAXREDIRS.html](https://curl.se/libcurl/c/CURLOPT_MAXREDIRS.html )
The default libcurl behavior is indeed to not limit the number of redirects, which enables infinite loops, but I think we probably should keep the PHP's sane default of 20, and update the documentation instead.
Closes GH-371.
2021-01-22 14:02:21 +01:00
Christoph Michael Becker
b7f8c11e56
Generate curl methodsynopses based on stubs
...
Amended by cmb.
Closes GH-231.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351621 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 00:58:58 +00:00
Christoph Michael Becker
b39b2fcb92
Remove obsolete PHP 5 specific info regarding cURL file uploads
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351291 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 14:33:22 +00:00
Christoph Michael Becker
86e6094e86
Use canonical type names
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
53bdffa6b9
Removed some of the PHP5 changelogs
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350645 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:32:19 +00:00
Christoph Michael Becker
67e6fdb205
Document missing CURLOPT_HTTP_VERSION values
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349505 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-20 15:10:04 +00:00
Christoph Michael Becker
d3c48b9ae3
Properly mark up constants as such
...
While these constants are supposed to be passed as argument, they are not
parameters per se. Furthermore, parameters are linked to their declaration
in the PHP rendered version at least, and since there is no declaration,
the links are most useless.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349504 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-20 15:07:42 +00:00
Christoph Michael Becker
12bae73457
Fix #72611 : CURLOPT_TCP_KEEPALIVE missing
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349396 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 17:08:49 +00:00
Christoph Michael Becker
39ed941a15
Fix #77792 : CURLOPT_SSLCERTTYPE support P12(pfx) certificate
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349395 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 16:12:54 +00:00
Christoph Michael Becker
a8356baaf4
Fix #78367 : 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 #78435 : 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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