summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests/badsymbols.pl: when opening '$incdir' fails include it in the error ↵Fabian Keil2021-02-091-1/+1
| | | | message
* runtests.1: document -o, -P, -L, and -EFabian Keil2021-02-091-1/+22
|
* runtests.pl: add %TESTNUMBER variable to make copying tests more convenientFabian Keil2021-02-094-5/+56
|
* runtests.pl: add an -o option to change internal variablesFabian Keil2021-02-091-0/+10
| | | | | | | | | runtests.pl has lots of internal variables one might want to change in certain situations, but adding a dedicated option for every single one of them isn't practical. Usage: ./runtests.pl -o TESTDIR=$privoxy_curl_test_dir -o HOSTIP=10.0.0.1 ...
* runtests.pl: cleanupsFabian Keil2021-02-091-27/+36
| | | | | | | | | | - show the summarized test result in the last line of the report - do not use $_ after mapping it to a named variable Doing that makes the code harder to follow. - log the restraints sorted by the number of their occurrences - fix language when logging restraints that only occured once - let runhttpserver() use $TESTDIR instead of $srcdir ... so it works if a non-default $TESTDIR is being used.
* runtests.pl: add an -E option to specify an exclude fileFabian Keil2021-02-094-1/+90
| | | | | | | | | | | | | | | | | | | | | It can contain additional restraints for test numbers, keywords and tools. The idea is to let third parties like the Privoxy project distribute an exclude file with their tarballs that specifies which curl tests are not expected to work when using Privoxy as a proxy, without having to fork the whole curl test suite. The syntax could be changed to be extendable and maybe more closely reflect the "curl test" syntax. Currently it's a bunch of lines like these: test:$TESTNUMBER:Reason why this test with number $TESTNUMBER should be skipped keyword:$KEYWORD:Reason why tests whose keywords contain the $KEYWORD should be skipped tool:$TOOL:Reason why tests with tools that contain $TOOL should be skipped To specify multiple $TESTNUMBERs, $KEYWORDs and $TOOLs on a single line, split them with commas.
* runtests.pl: add -L parameter to require additional perl librariesFabian Keil2021-02-093-1/+42
| | | | | | | | | | This is useful to change the behaviour of the script without having to modify the file itself, for example to use a custom compareparts() function that ignores header differences that are expected to occur when an external proxy is being used. Such differences are proxy-specific and thus the modifications should be maintained together with the proxy.
* runtests.pl: add a -P option to specify an external proxyFabian Keil2021-02-091-0/+35
| | | | | | | | | | | | ... that should be used when executing the tests. The assumption is that the proxy is an HTTP proxy. This option should be used together with -L to provide a customized compareparts() version that knows which proxy-specific header differences should be ignored. This option doesn't work for all test types yet.
* tests: fixup several testsFabian Keil2021-02-09430-779/+787
| | | | | | | | | | | | | | missing CRs and modified %hostip lib556/test556: use a real HTTP version to make test reuse more convenient make sure the weekday in Date headers matches the date test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d) Gets the test working with external proxies like Privoxy again. Closes #6463
* ftp: never set data->set.ftp_append outside setoptDaniel Stenberg2021-02-086-8/+8
| | | | | | | | | | Since the set value then risks getting used like that when the easy handle is reused by the application. Also: renamed the struct field from 'ftp_append' to 'remote_append' since it is also used for SSH protocols. Closes #6579
* urldata: remove the 'rtspversion' fieldDaniel Stenberg2021-02-082-6/+2
| | | | | | | from struct connectdata and the corresponding code in http.c that set it. It was never used for anything! Closes #6581
* CURLOPT_QUOTE.3: clarify that libcurl doesn't parse what's sentDaniel Stenberg2021-02-081-5/+12
| | | | | | | | ... so passed in commands may confuse libcurl's knowledge of state. Reported-by: Bodo Bergmann Fixes #6577 Closes #6580
* vtls: factor out Curl_ssl_getsock to field of Curl_sslJacob Hoffman-Andrews2021-02-0811-13/+29
| | | | Closes #6558
* RELEASE-PROCEDURE: remove old release dates, add newDaniel Stenberg2021-02-081-5/+6
|
* docs/SSL-PROBLEMS: enhancedDaniel Stenberg2021-02-051-3/+14
| | | | | | | Elaborate on the intermediate cert issue, and mention that anything below TLS 1.2 is generally considered insecure these days. Closes #6572
* THANKS: remove a Jon Rumsey dupeDaniel Stenberg2021-02-051-1/+0
|
* docs: fix FILE example url in --metalink documentationnimaje2021-02-052-2/+2
| | | | | | | | | In a url after <scheme>:// follows the possibly empty authority part till the next /, so that url missed a /. Closes #6573 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
* hostip: fix build with sync resolverDaniel Stenberg2021-02-051-2/+10
| | | | | | | Reported-by: David Goerger Follow-up from 8335c6417 Fixes #6566 Closes #6568
* mailmap: Jon RumseyDaniel Stenberg2021-02-052-0/+2
|
* gskit: correct the gskit_send() prototypeJon Rumsey2021-02-051-1/+1
| | | | | | | | gskit_send() first paramater is a pointer to Curl_easy not connectdata struct. Closes #6570 Fixes #6569
* urldata: fix build without HTTP and MQTTDaniel Stenberg2021-02-042-7/+0
| | | | | | Reported-by: Joseph Chen Fixes #6562 Closes #6563
* ftp: avoid SIZE when asking for a TYPE A fileDaniel Stenberg2021-02-049-69/+18
| | | | | | | | | | | ... as we ignore it anyway because servers don't report the correct size and proftpd even blatantly returns a 550. Updates a set of tests accordingly. Reported-by: awesomenode on github Fixes #6564 Closes #6565
* pingpong: rename the curl_pp_transfer enum to use PP prefixDaniel Stenberg2021-02-045-33/+32
| | | | Using an FTP prefix for PP provided functionality was misleading.
* RELEASE-NOTES: syncedDaniel Stenberg2021-02-042-244/+15
| | | | ... and bump pending version to 7.75.1 (for now)
* build: fix --disable-http-authJay Satiro2021-02-041-1/+5
| | | | | | | | Broken since 215db08 (precedes 7.75.0). Reported-by: Benbuck Nason Fixes https://github.com/curl/curl/issues/6567
* build: fix --disable-dateparseJay Satiro2021-02-041-2/+2
| | | | | | | Broken since 215db08 (precedes 7.75.0). Bug: https://curl.se/mail/lib-2021-02/0008.html Reported-by: Firefox OS
* OS400: update for CURLOPT_AWS_SIGV4jonrumsey2021-02-043-4/+7
| | | | | | | | chkstrings fails because a new string option that could require codepage conversion has been added. Closes #6561 Fixes #6560
* BUG-BOUNTY: removed the cooperation mentionDaniel Stenberg2021-02-031-19/+0
|
* RELEASE-NOTES: syncedcurl-7_75_0Daniel Stenberg2021-02-031-14/+18
|
* THANKS: added contributors from 7.75.0Daniel Stenberg2021-02-032-1/+32
|
* copyright: fix year ranges in need of updatesDaniel Stenberg2021-02-037-7/+7
|
* TODO: remove items for next SONAME bump etcDaniel Stenberg2021-02-021-113/+0
| | | | | We want to avoid that completely, so we don't plan for things after such an event.
* ngtcp2: Fix build error due to change in ngtcp2_settingsJay Satiro2021-02-022-8/+11
| | | | | | | | | | | - Separate ngtcp2_transport_params. ngtcp2/ngtcp2@05d7adc made ngtcp2_transport_params separate from ngtcp2_settings. ngtcp2 master is required to build curl with http3 support. Closes #6554
* vtls: remove md5sumDaniel Stenberg2021-02-0212-148/+0
| | | | | | | | | As it is not used anymore. Reported-by: Jacob Hoffman-Andrews Bug: https://curl.se/mail/lib-2021-02/0000.html Closes #6557
* quiche: don't use primary_ip / primary_portAlessandro Ghedini2021-02-011-3/+8
| | | | Closes #6555
* travis: enable quiche's FFI featureAlessandro Ghedini2021-02-012-2/+2
|
* http: improve AWS HTTP v4 Signature authDmitry Wagin2021-01-3021-256/+741
| | | | | | | | | | | | | | | | | | - Add support services without region and service prefixes in the URL endpoint (ex. Min.IO, GCP, Yandex Cloud, Mail.Ru Cloud Solutions, etc) by providing region and service parameters via aws-sigv4 option. - Add [:region[:service]] suffix to aws-sigv4 option; - Fix memory allocation errors. - Refactor memory management. - Use Curl_http_method instead() STRING_CUSTOMREQUEST. - Refactor canonical headers generating. - Remove repeated sha256_to_hex() usage. - Add some docs fixes. - Add some codestyle fixes. - Add overloaded strndup() for debug - curl_dbg_strndup(). - Update tests. Closes #6524
* hyper: fix CONNECT to set 'data' as userdataDaniel Stenberg2021-01-302-2/+2
| | | | Follow-up to 14e075d1a7fd
* connect: fix compile errors in `Curl_conninfo_local`Layla2021-01-291-1/+2
| | | | | | | | | .. for the `#else` (`!HAVE_GETSOCKNAME`) case Fixes https://github.com/curl/curl/issues/6548 Closes #6549 Signed-off-by: Layla <layla@insightfulvr.com>
* transfer: fix GCC 10 warning with flag '-Wint-in-bool-context'Michał Antoniak2021-01-291-2/+3
| | | | | | ... and return the error code from the Curl_mime_rewind call. Closes #6537
* avoid warning: enum constant in boolean contextMichał Antoniak2021-01-291-1/+1
|
* copyright: fix missing year (range) updatesDaniel Stenberg2021-01-2915-15/+15
|
* RELEASE-NOTES: syncedDaniel Stenberg2021-01-291-8/+38
|
* openssl: lowercase the hostname before using it for SNIDaniel Stenberg2021-01-291-4/+15
| | | | | | | | | | ... because it turns out several servers out there don't actually behave correctly otherwise in spite of the fact that the SNI field is specifically said to be case insensitive in RFC 6066 section 3. Reported-by: David Earl Fixes #6540 Closes #6543
* KNOWN_BUGS: cmake: ExternalProject_Add does not set CURL_CA_PATHDaniel Stenberg2021-01-281-0/+8
| | | | Closes #6313
* KNOWN_BUGS: Multi perform hangs waiting for threaded resolverDaniel Stenberg2021-01-281-0/+10
| | | | Closes #4852
* KNOWN_BUGS: "pulseUI VPN client" is known to be buggyDaniel Stenberg2021-01-281-0/+18
| | | | | | | First entry in the new section "applications" for known problems in libcurl using applications. Closes #6306
* tool_writeout: make %{errormsg} blank for no errorsDaniel Stenberg2021-01-282-4/+5
| | | | Closes #6539
* build: fix djgpp buildsGisle Vanem2021-01-274-34/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update build instructions in packages/DOS/README - Extend 'VPATH' with 'vquic' and 'vssh'. - Allow 'Makefile.dist' to build both 'lib' and 'src'. - Allow using the Windows hosted djgpp cross compiler to build for MSDOS under Windows. - 'USE_SSL' -> 'USE_OPENSSL' - Added a 'link_EXE' macro. Etc, etc. - Linking 'curl.exe' needs '$(CURLX_CFILES)' too. - Do not pick-up '../lib/djgpp/*.o' files. Recompile locally. - Generate a gzipped 'tool_hugehelp.c' if 'USE_ZLIB=1'. - Remove 'djgpp-clean' - Adapt to new C-ares directory structure - Use conditional variable assignments Clarify the 'conditional variable assignment' in 'common.dj'. Closes https://github.com/curl/curl/pull/6382
* hyper: fix typo in c-hyper.cIkko Ashimine2021-01-271-1/+1
| | | | | | settting -> setting Closes #6538