summaryrefslogtreecommitdiff
path: root/ext/curl
Commit message (Collapse)AuthorAgeFilesLines
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-158-8/+2
| | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in *.phptPeter Kokot2018-10-1453-122/+122
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-135-20/+20
|
* Convert CRLF line endings to LFPeter Kokot2018-10-132-187/+187
| | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* Fix 76480: Use curl_multi_wait() so that timeouts are respectedPierrick Charron2018-09-171-1/+17
|
* Sync with recent changes to default libcurl buildAnatol Belski2018-09-051-1/+16
| | | | (cherry picked from commit a1ba3007a452fb2618526ed7159236362219a208)
* Fix curl tests wrt. AppVeyor and curl updatesAnatol Belski2018-05-183-9/+15
|
* Fix potential memory leak in curl extensionThomas Punt2018-04-291-1/+1
|
* Unify EOLAnatol Belski2018-01-121-53/+53
|
* Extend test, latest cURL ships also with smb and smbsAnatol Belski2018-01-121-1/+1
|
* year++Xinchen Hui2018-01-025-5/+5
|
* Fix compat with libcurl 7.56.1+ and file:// wrapperAnatol Belski2017-12-031-0/+11
| | | | | | | | | Since 7.52.x libcurl file:// scheme was implemented in a way described in https://tools.ietf.org/html/draft-ietf-appsawg-file-scheme-16 . The draft is still not accepted and the change contained a BC breach with win32 path handling. It was reported upstream and 7.52.x fixed it, but the BC breaching behavior was reintroduced in 7.56.1. Thus, it is better to handle this on the PHP side.
* Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-10-191-2/+2
|\ | | | | | | | | * PHP-7.0: Escape newline on curl config.m4
| * Escape newline on curl config.m4Ryan Volz2017-10-191-2/+2
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-08-181-0/+3
|\ \ | |/ | | | | | | | | * PHP-7.0: NEWS Fixed bug #75093 OpenSSL support not detected
| * Fixed bug #75093 OpenSSL support not detectedRemi Collet2017-08-181-0/+3
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-07-251-3/+19
|\ \ | |/ | | | | | | * PHP-7.0: Fixed finding CURL on systems with multiarch support
| * Fixed finding CURL on systems with multiarch supportCarsten Brandt2017-07-251-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes https://bugs.php.net/bug.php?id=74125 This commit makes the cURL config script aware of debian/ubuntu [multiarch support][1] which installs architecture specific headers in a different location. It checks whether the `dpkg-architecture` script exists and is executeable, if that is the case, the multiarch architecture is detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as documented in [debian multiarch implementation docs][2]: > `/usr/include/<triplet>`: used for arch-varying headers [1]: https://wiki.debian.org/Multiarch [2]: https://wiki.debian.org/Multiarch/Implementation
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-03-271-1/+1
|\ \ | |/ | | | | | | | | * PHP-7.0: deps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835 add test for bug #74230
| * deps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835Anatol Belski2017-03-271-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2017-01-151-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Update more functions with path check
| * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2017-01-151-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Update more functions with path check
| | * Update more functions with path checkStanislav Malyshev2017-01-151-1/+1
| | |
| | * Fix bug #73147: Use After Free in PHP7 unserialize()Stanislav Malyshev2016-09-252-1/+24
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-132-4/+12
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Increase wait time for tests involving sockets to improve Travis relability
| * | Increase wait time for tests involving sockets to improve Travis relabilityMitch Hagstrand2017-01-132-4/+12
| | | | | | | | | | | | | | | 1. Increased sleep time from 25ms to 50ms 2. Added sleep to shutdown handlers
| * | Merge branch 'pull-request/1809'Joe Watkins2017-01-061-0/+38
| | | | | | | | | | | | | | | * pull-request/1809: test for function curl_multi_info_read();
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| | |
* | | move various places to the centralized OpenSSL setup routineAnatol Belski2017-01-081-6/+5
| | |
* | | Merge branch 'pull-request/1809'Joe Watkins2017-01-061-0/+38
| | | | | | | | | | | | | | | * pull-request/1809: test for function curl_multi_info_read();
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-12-273-140/+71
|\ \ \ | |/ /
| * | Makes the sapi web server and curl tests more reliableMitch Hagstrand2016-12-273-105/+18
| | | | | | | | | | | | | | | | | | | | | | | | 1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections. 2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function. 3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one. 4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt runs on Windows also.
| * | Fixes the curl tests to be more reliable in Travis CIMitch Hagstrand2016-12-272-37/+55
| | | | | | | | | | | | | | | | | | 1. Increases the amount of time for the PHP built-in server to accept a connection 2. Outputs an error if the PHP built-in server fails 3. In bug48203_multi.phpt the test no longer starts and stops multiple PHP built-in servers
* | | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2016-12-251-12/+7
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Interpretation of curl_setopt values for boolean parameters
| * | Interpretation of curl_setopt values for boolean parametersdedal.qq2016-12-251-12/+7
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-12-041-4/+13
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: fix test
| * | fix testAnatol Belski2016-12-041-4/+13
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-12-016-0/+204
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: fork tests
| * | fork testsAnatol Belski2016-12-016-0/+204
| | |
| * | Fix bug #73147: Use After Free in PHP7 unserialize()Stanislav Malyshev2016-10-122-0/+21
| | | | | | | | | | | | (cherry picked from commit 0e6fe3a4c96be2d3e88389a5776f878021b4c59f)
* | | Fix bug #73147: Use After Free in PHP7 unserialize()Stanislav Malyshev2016-10-142-0/+21
| | | | | | | | | | | | | | | (cherry picked from commit 0e6fe3a4c96be2d3e88389a5776f878021b4c59f) (cherry picked from commit f42cbd749cde1f91274c1d03df9024baba141a8f)
* | | Merge branch 'PHP-7.0' into PHP-7.1Christoph M. Becker2016-09-291-0/+3
|\ \ \ | |/ /
| * | Add CURLE_SSL_PINNEDPUBKEYNOTMATCHChristoph M. Becker2016-09-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This error constant is returned on key mismatch when CURLOPT_PINNEDPUBLICKEY is used. As the option had been introduced in PHP 7.0.7, it makes sense to also add the related error constant to PHP 7.0+. Cf. <https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html>.
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-08-291-2/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: ensure null termination
| * | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-08-291-2/+3
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: ensure null termination
| | * ensure null terminationAnatol Belski2016-08-291-2/+3
| | |
| | * Fix for bug #72807 - do not produce strings with negative lengthStanislav Malyshev2016-08-161-0/+4
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-08-171-2/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: (48 commits) Update NEWs Unused label Fixed bug #72853 (stream_set_blocking doesn't work) fix test Bug #72663 - part 3 Bug #72663 - part 2 Bug #72663 - part 1 Update NEWS BLock test with memory leak fix tests Fix TSRM build Fix bug #72850 - integer overflow in uuencode Fixed bug #72849 - integer overflow in urlencode Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase Fix bug #72837 - integer overflow in bzdecompress caused heap corruption Fix bug #72836 - integer overflow in base64_decode caused heap corruption Fix for bug #72807 - do not produce strings with negative length Fix for bug #72790 and bug #72799 Fix bug #72730 - imagegammacorrect allows arbitrary write access ... Conflicts: ext/standard/var_unserializer.c