summaryrefslogtreecommitdiff
path: root/tests/libtest/mk-lib1521.pl
AgeCommit message (Collapse)Author
2021-01-13Merge tag 'curl-7_74_0'nikita
7.74.0
2020-11-04curl.se: new homeDaniel Stenberg
Closes #6172
2020-11-03hsts: add read/write callbacksDaniel Stenberg
- read/write callback options - man pages for the 4 new setopts - test 1915 verifies the callbacks Closes #5896
2020-09-14Merge tag 'curl-7_71_1'nikita
curl 7.71.1
2020-09-08lib: fix -Wassign-enum warningsDaniel Stenberg
configure --enable-debug now enables -Wassign-enum with clang, identifying several enum "abuses" also fixed. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553 Closes #5929
2020-08-27options: API for meta-data about easy optionsDaniel Stenberg
const struct curl_easyoption *curl_easy_option_by_name(const char *name); const struct curl_easyoption *curl_easy_option_by_id (CURLoption id); const struct curl_easyoption * curl_easy_option_next(const struct curl_easyoption *prev); The purpose is to provide detailed enough information to allow for example libcurl bindings to get option information at run-time about what easy options that exist and what arguments they expect. Assisted-by: Jeroen Ooms Closes #5365
2020-05-29mk-lib1521: generate code for testing BLOB options as wellDaniel Stenberg
Follow-up to cac5374298b3 Closes #5478
2020-04-01Merge tag 'curl-7_69_1'nikita
7.69.1
2020-01-09libtest/mk-lib1521: adapt to new public header layoutDaniel Stenberg
2019-08-15Merge tag 'curl-7_65_3'ng0
7.65.3
2019-06-25test1521: adapt to SLISTPOINTDaniel Stenberg
The header now has the slist-using options marked as SLISTPOINT so this makes sure test 1521 understands that. Follow-up to ae99b4de1c443ae989 Closes #4074
2019-02-25Merge tag 'curl-7_64_0'ng0
curl 7.64.0
2018-12-14http: Implement trailing headers for chunked transfersAyoub Boudhar
This adds the CURLOPT_TRAILERDATA and CURLOPT_TRAILERFUNCTION options that allow a callback based approach to sending trailing headers with chunked transfers. The test server (sws) was updated to take into account the detection of the end of transfer in the case of trailing headers presence. Test 1591 checks that trailing headers can be sent using libcurl. Closes #3350
2018-03-30Merge tag 'curl-7_59_0' of https://github.com/curl/curlNils Gillmann
curl 7.59.0 Initial merge of upstream tag.
2018-02-23spelling fixesViktor Szakats
Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
2018-02-21url: Add option CURLOPT_RESOLVER_START_FUNCTIONFrancisco Sedano
- Add new option CURLOPT_RESOLVER_START_FUNCTION to set a callback that will be called every time before a new resolve request is started (ie before a host is resolved) with a pointer to backend-specific resolver data. Currently this is only useful for ares. - Add new option CURLOPT_RESOLVER_START_DATA to set a user pointer to pass to the resolver start callback. Closes https://github.com/curl/curl/pull/2311
2018-01-21Merge branch 'master' of https://github.com/curl/curlng0
2018-01-07scripts: allow all perl scripts to be run directlyJay Satiro
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Closes https://github.com/curl/curl/pull/2222
2017-10-06Merge tag 'curl-7_56_0'ng0
curl 7.56.0
2017-09-11code style: use spaces around equals signsDaniel Stenberg
2017-09-02mime: new MIME API.Patrick Monnerat
Available in HTTP, SMTP and IMAP. Deprecates the FORM API. See CURLOPT_MIMEPOST. Lib code and associated documentation.
2017-08-26tests: Make sure libtests & unittests call curl_global_cleanup()Dan Fandrich
These were missed in commit c468c27b.
2017-08-22Patchset for gnURL microfork:gnurl-7_55_1-1Christian Grothoff
* Patches to rename libcurl to libgnurl by Christian * Updated for latest curl using git cherry-pick by Jeff, Florian, ng0 * Patches to fix the testsuite (deleted tests/data/test1139, renamed reference from libcurl.* to libgnurl.*) by ng0 * Added guix-gnurl.scm which can be used to build this with guix prior to installing it. (author: ng0) * Further adjustments by ng0 * 7.55.0: Manual addition of a7bbbb7c368c6096802007f61f19a02e9d75285b and f864bd8c880d5a916379aa4f26f1c45fe370b282 from upstream master. * 7.55.1: Renamed include/curl to include/gnurl, a partial fix of https://gnunet.org/bugs/view.php?id=5122 Signed-off-by: ng0 <ng0@infotropique.org>
2017-08-22test1521: fix compiler warningsMarcel Raad
The integer literal 3123123123 doesn't fit into a 32-bit signed integer, so GCC with 32-bit long warns in C90 mode: this decimal constant is unsigned only in ISO C90 [enabled by default] Fix this by using ULONG_MAX, which should fit in any curl_off_t and has the correct suffix to not issue any warnings. Also adds the missing CURLOPT_REQUEST_TARGET from commit 9b167fd090f596eac828817d48c247eeae53407f. Closes https://github.com/curl/curl/pull/1611
2017-08-22lib1521: fix missing-variable-declarations clang warningsMarcel Raad
Declare TU-local variables static.
2017-08-22test1521: test getinfo's OFF_T types tooDaniel Stenberg
Closes #1588
2017-08-22lib1521: add curl_easy_getinfo calls to the test setDaniel Stenberg
Also added return value checks to make sure no unexpected return codes are used.
2017-08-22mk-lib1521.pl: updated to match the test changes in 916ec30aDan Fandrich
2017-08-22lib1521: fix compiler warnings on the use of bad 'long' valuesDaniel Stenberg
Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/cccac4fb2b20d6ed87da7978408c3ecacc464fe4#commitcomment-22453387
2017-08-22lib1521: fix compiler warningsDaniel Stenberg
2017-08-22test1521: make the code < 80 columns wideDaniel Stenberg
2017-08-22test1121: use stricter types to work with typcheck-gccDaniel Stenberg
2017-08-22test1521: test *all* curl_easy_setopt optionsDaniel Stenberg
mk-lib1521.pl generates a test program (lib1521.c) that calls curl_easy_setopt() for every known option with a few typical values to make sure they work (ignoring the return codes). Some small changes were necessary to avoid asserts and NULL accesses when doing this. The perl script needs to be manually rerun when we add new options. Closes #1543
2017-06-25test1521: fix compiler warningsMarcel Raad
The integer literal 3123123123 doesn't fit into a 32-bit signed integer, so GCC with 32-bit long warns in C90 mode: this decimal constant is unsigned only in ISO C90 [enabled by default] Fix this by using ULONG_MAX, which should fit in any curl_off_t and has the correct suffix to not issue any warnings. Also adds the missing CURLOPT_REQUEST_TARGET from commit 9b167fd090f596eac828817d48c247eeae53407f. Closes https://github.com/curl/curl/pull/1611
2017-06-21lib1521: fix missing-variable-declarations clang warningsMarcel Raad
Declare TU-local variables static.
2017-06-19test1521: test getinfo's OFF_T types tooDaniel Stenberg
Closes #1588
2017-06-19lib1521: add curl_easy_getinfo calls to the test setDaniel Stenberg
Also added return value checks to make sure no unexpected return codes are used.
2017-06-13mk-lib1521.pl: updated to match the test changes in 916ec30aDan Fandrich
2017-06-09lib1521: fix compiler warnings on the use of bad 'long' valuesDaniel Stenberg
Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/cccac4fb2b20d6ed87da7978408c3ecacc464fe4#commitcomment-22453387
2017-06-06lib1521: fix compiler warningsDaniel Stenberg
2017-06-05test1521: make the code < 80 columns wideDaniel Stenberg
2017-06-05test1121: use stricter types to work with typcheck-gccDaniel Stenberg
2017-06-05test1521: test *all* curl_easy_setopt optionsDaniel Stenberg
mk-lib1521.pl generates a test program (lib1521.c) that calls curl_easy_setopt() for every known option with a few typical values to make sure they work (ignoring the return codes). Some small changes were necessary to avoid asserts and NULL accesses when doing this. The perl script needs to be manually rerun when we add new options. Closes #1543