Commit Graph

1091 Commits

Author SHA1 Message Date
Zach Borboa bc1dd97917 Simplify test 2018-06-18 23:50:28 -07:00
Zach Borboa 463b2adc71 Reorder tests 2018-06-18 23:12:57 -07:00
Zach Borboa 2bb151e03d Allow specifying xml decoder options when calling Curl::setDefaultXmlDecoder 2018-06-18 23:08:26 -07:00
Zach Borboa e087a5c117 Clean up 2018-06-18 01:29:16 -07:00
Zach Borboa aea056bab5 Clean up 2018-06-18 00:06:28 -07:00
Zach Borboa 3a6c5997a7 Fix error on python 2: "ImportError: No module named parse" 2018-06-15 22:07:02 -07:00
Zach Borboa 648ac2c21b Reset response variables to match initial values 2018-06-09 01:45:46 -07:00
Zach Borboa 703d0acfa0 Clean up 2018-06-07 03:18:01 -07:00
Zach Borboa e86246a1b7 Match order of unparsed url parts 2018-06-07 03:12:07 -07:00
Zach Borboa 12aac6d4cd Clean up 2018-06-07 02:26:51 -07:00
Zach Borboa 0090c30b43 Bump minor version 8.1.0 2018-06-05 22:01:44 -07:00
Zach Borboa addcd096d8 Merge pull request #526 from zachborboa/master
Implement url::reset()
2018-06-04 23:35:28 -07:00
Zach Borboa f970bc64cb Fix #523: Implement accessor for curl_reset(): Curl::reset().
Merge branch 'rsanaie-support-reset'
2018-06-04 23:04:14 -07:00
Zach Borboa 51904c06e3 Simplify test for Curl::reset() 2018-06-04 23:03:32 -07:00
Zach Borboa 79dce964d1 Move extension to require-dev as it is only needed for running tests 2018-06-04 23:00:23 -07:00
Zach Borboa 5542659349 Merge branch 'support-reset' of https://github.com/rsanaie/php-curl-class into rsanaie-support-reset 2018-06-04 22:07:12 -07:00
Reza Sanaie 9f34c2bf57 Allow support for curl_reset() 2018-06-04 10:21:22 -07:00
Zach Borboa 402b013c14 Improve url filtering:
- Require urls to have a scheme and host
- Allow select ip addresses
2018-05-31 23:51:13 -07:00
Zach Borboa b52e466fa5 Merge pull request #522 from zachborboa/master
Fix memory leak when class object is unset, but not manually closed
2018-05-23 01:10:35 -07:00
Zach Borboa 60917c1e8e Use unset() to automatically call __destruct() when testing for a memory leak 2018-05-23 00:57:10 -07:00
Zach Borboa d13c43160d Fix #521: Fix memory leak when class object unset, but not manually closed.
Move closure function outside class to avoid implicit reference to $this
and allow __destruct() to be called as expected when a class instance is
unset.
2018-05-23 00:31:33 -07:00
Zach Borboa c3a563260f Merge pull request #520 from zachborboa/master
Fix tests failing due to unexpected network error code
2018-05-20 03:02:00 -07:00
Zach Borboa fddd222575 Add additional possible error 2018-05-20 02:47:13 -07:00
Zach Borboa d736b5652b Add assertion messages to display unexpected error codes 2018-05-20 02:46:43 -07:00
Zach Borboa bab7ee9782 Merge pull request #519 from zachborboa/master
Fix failure tests erroring with mismatching error codes
2018-04-29 02:47:07 -07:00
Zach Borboa 90f4552563 Fix failure tests erroring during continuous integration tests with mismatching error codes.
Fixes "Failed asserting that 28 matches expected 55."
2018-04-29 02:25:01 -07:00
Zach Borboa 027ee67373 Fix failure tests erroring with mismatching error codes.
Fixes "Failed asserting that 35 matches expected 28."
2018-04-29 01:47:55 -07:00
Zach Borboa 3a6f673b83 Rename script to more accurately reflect actions taken 2018-04-29 01:05:40 -07:00
Zach Borboa 76dc8421e9 Merge pull request #518 from zachborboa/master
Require mbstring extension to use library
2018-04-28 16:37:40 -07:00
Zach Borboa fa39f26a3a Fix #517: Require mbstring extension.
Use global namespace for mb_* functions.
2018-04-28 16:21:15 -07:00
Zach Borboa fc054f6f41 Add script to generate compressed urls test file.
Omit the timestamp and the file name from the file header to make the
file deterministic.
Refresh the urls test file.
2018-04-28 02:09:14 -07:00
Zach Borboa 3839881735 Clean up 2018-04-28 01:01:10 -07:00
Zach Borboa 0985409467 Add script used to generate urls test file.
Thank you @woxcab for the script.
2018-04-28 00:46:55 -07:00
Zach Borboa dd886611e6 Add script to start development servers for load test 2018-04-28 00:32:01 -07:00
Zach Borboa 03d773b916 Standardize calculating script directory 2018-04-27 23:56:51 -07:00
Zach Borboa 98ce5d3286 Use consistent naming convention 2018-04-27 23:54:34 -07:00
Zach Borboa 00cfe93f6a Use MultiCurl::setConcurrency() in load test example 2018-04-27 23:31:46 -07:00
Zach Borboa f1b93ef515 Merge pull request #516 from zachborboa/master
Merge \Curl\Url improvements
2018-04-27 22:52:06 -07:00
Zach Borboa 9701cf64b9 Merge branch 'woxcab-master' 2018-04-27 22:32:23 -07:00
Zach Borboa 186d23a269 Use compressed file for url tests 2018-04-27 22:21:51 -07:00
Zach Borboa db980204ff Add additional url test 2018-04-27 21:57:37 -07:00
woxcab c91d7a7d78 Erase base URL parts if their preceding parts have overwritten by relative URL 2018-04-27 23:27:35 +03:00
woxcab e7dc9f7bdc Prevent URL fragment destructing 2018-04-27 21:01:20 +03:00
Zach Borboa cd22b0ceeb Clean up 2018-04-26 19:18:18 -07:00
Zach Borboa 96b3a61d68 Merge pull request #514 from zachborboa/master
Add support for detecting SOAP content-types
2018-04-26 18:14:26 -07:00
Zach Borboa a969fabaa0 Fix #513: Add support for detecting SOAP content-types 2018-04-26 17:59:23 -07:00
Zach Borboa 932b86987f Merge pull request #512 from zachborboa/master
Use correct body in POST requests that use empty arrays for data
2018-04-26 03:22:57 -07:00
Zach Borboa e240b43606 Fix #511: Use correct body in POST requests that use empty data arrays.
This fixes JSON POST requests incorrectly sending a serialized empty
array "[]" instead of an empty request body by default.
2018-04-26 02:49:21 -07:00
Zach Borboa bdcf043917 Merge pull request #510 from zachborboa/master
Run continuous integration tests on version 7.2
2018-04-23 02:38:41 -07:00
Zach Borboa 6ccc08caf7 Run continuous integration tests on version 7.2 2018-04-23 02:20:48 -07:00