summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* runtests: remove sleep callsbagder/runtests-less-sleepDaniel Stenberg2020-05-021-19/+0
| | | | | | Remove many one second sleeps that were done *after* each newly started test server already has been verified. They should not have any purpose there.
* runtests: make the logmsg from the ssh server only show in verboseDaniel Stenberg2020-05-021-1/+1
|
* tests: make test 1248 + 1249 use %NOLISTENPORTDaniel Stenberg2020-05-022-2/+2
| | | | | | | ... instead of a port of a non-running server so that it works stand-alone. Closes #5318
* examples: remove asiohiper.cppDaniel Stenberg2020-05-022-498/+2
| | | | | | | | | This example has repeatedly been reported to contain bugs, and as users copy and paste code from this into production, I now deem it better to not provide the example at all. Closes #5090 Closes #5322
* doc: add missing closing parenthesis in CURLINFO_SSL_VERIFYRESULT.3Emil Engler2020-05-021-1/+1
| | | | Closes #5320
* KNOWN_BUGS: Remove "curl --upload-file . hang if delay in STDIN"Emil Engler2020-05-021-11/+2
| | | | | | It was fixed in 9a2cbf3 Closes #5319
* cirrus: disable SFTP and SCP testsDaniel Stenberg2020-04-301-3/+3
| | | | | | | | | ... as we can't seem to start the sshd server on it. Those problems existed before d1239b50bececd (running the SSH server on a random port), but they're more noticable now since there are more failed attempts in the logs. Closes #5315
* runtests: fix typo in the existence of disabled tests checkerEmil Engler2020-04-301-1/+1
| | | | Closes #5316
* test75: Remove precheck testDan Fandrich2020-04-303-40/+1
| | | | | This has not been needed since commit 9fa42bed and often prevents it from running at all with dynamic test ports.
* tests: Stop referring to server ports when they're not usedDan Fandrich2020-04-3025-25/+25
| | | | | | | | | Several tests referred to specific server ports even when the test didn't actually use that server or specify that it's needed. In such cases, the test harness substitutes the text "[not running]" as the port number which causes many such tests to fail due to the inability to parse the URL. These tests are changed to use %NOLISTENPORT which will always be substituted correctly.
* GnuTLS: Backend support for CURLINFO_SSL_VERIFYRESULTEmil Engler2020-04-303-5/+24
| | | | Closes #5287
* conncache: various concept cleanupsDaniel Stenberg2020-04-3010-127/+139
| | | | | | | | | | | | | | | | More connection cache accesses are protected by locks. CONNCACHE_* is a beter prefix for the connection cache lock macros. Curl_attach_connnection: now called as soon as there's a connection struct available and before the connection is added to the connection cache. Curl_disconnect: now assumes that the connection is already removed from the connection cache. Ref: #4915 Closes #5009
* tests: tests: run stunnel for HTTPS and FTPS on dynamic portsDaniel Stenberg2020-04-301-58/+72
| | | | | | | | | As stunnel is an external tool and it has no specific option to export the actually used port number when asked to listen to 0, runtests instead iterates over ten randomly picked high number ports and sticks to the first one stunnel can listen to. Closes #5267
* tests: pick a random port number for SSHDaniel Stenberg2020-04-301-56/+76
| | | | | | | Since sshd doesn't have such an option by itself, we iterate over a series of random ports until one works. Closes #5273
* libtest/cmake: Remove commented codeRikard Falkeborn2020-04-301-76/+0
| | | | | | | | These were commented out in e9dd0998706a when Makefile.inc was included instead. 11 years have passed since then and the commented code is of course very outdated. Remove it to avoid confusion. Closes #5311
* schannel: source code reindentDaniel Stenberg2020-04-291-131/+139
| | | | | | | White space edits only. Conform better to standard curl source code indenting style. Closes #5305
* test1177: look for curl.h in source directoryKamil Dudka2020-04-291-1/+1
| | | | | | If we use a separate build directory, there is no copy of the header. Closes #5310
* tests: look for preprocessed tests in build directoryKamil Dudka2020-04-291-1/+1
| | | | | | ... which is not always the same directory as source directory Closes #5310
* RELEASE-NOTES: syncedDaniel Stenberg2020-04-292-269/+9
| | | | ... and bumped curlver.h to 7.70.1
* RELEASE-NOTES: 7.70.0curl-7_70_0Daniel Stenberg2020-04-291-14/+36
|
* THANKS: synced with the 7.70.0 releaseDaniel Stenberg2020-04-291-0/+36
|
* headers: copyright range fixDaniel Stenberg2020-04-282-2/+2
|
* doh: Constify some input pointersRikard Falkeborn2020-04-283-17/+19
| | | | Closes #5306
* nss: check for PK11_CreateDigestContext() returning NULLDaniel Stenberg2020-04-271-0/+6
| | | | | | | | ... to avoid crashes! Reported-by: Hao Wu Fixes #5302 Closes #5303
* travis: bump the wolfssl CI build to use 4.4.0Daniel Stenberg2020-04-272-6/+6
| | | | Closes #5301
* copyright updates: adjust year rangesDaniel Stenberg2020-04-263-3/+3
|
* CI: do not include */ci branches in PR buildsMarc Hoersken2020-04-261-1/+0
| | | | Align Azure Pipelines with GitHub Actions.
* runtests: check for the disabled tests relative srcdirDaniel Stenberg2020-04-251-1/+1
| | | | | | | | | | To make it work correctly for out-of-tree builds. Follow-up to 75e8feb6fb08b Bug: https://github.com/curl/curl/pull/5288#issuecomment-619346389 Reported-by: Marcel Raad Closes #5297
* runtests: revert commenting out a line I did for debuggingDaniel Stenberg2020-04-251-1/+1
| | | | Follow-up to 11091cd4d. It was not meant to be pushed!
* smtp: set auth correctlyDaniel Stenberg2020-04-251-4/+1
| | | | | | | | | | | | Regression since 7.69.0 and 68fb25fa3fcff. The code wrongly assigned 'from' instead of 'auth' which probably was a copy and paste mistake from other code, leading to that auth could remain NULL and later cause an error to be returned. Assisted-by: Eric Sauvageau Fixes #5294 Closes #5295
* lib: clean up whitespaceMarcel Raad2020-04-253-3/+0
| | | | This fixes CodeFactor warnings.
* libssh: avoid options override by configuration filesAnderson Toshiyuki Sasaki2020-04-251-14/+47
| | | | | | | | | | | | | | | Previously, options set explicitly through command line options could be overridden by the configuration files parsed automatically when ssh_connect() was called. By calling ssh_options_parse_config() explicitly, the configuration files are parsed before setting the options, avoiding the options override. Once the configuration files are parsed, the automatic configuration parsing is not executed. Fixes #4972 Closes #5283 Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
* runtests: when <killserver> mentions http, kill http/2 tooDaniel Stenberg2020-04-251-57/+9
| | | | | | | | | | | Since the http2 test server is a mere proxy that needs to know about the dynamic port the HTTP server is using, it too needs to get restarted when the http server is killed. A regression caused by 80d6515. Fixes #5289 Closes #5291
* docs: fix two typosYuri Slobodyanyuk2020-04-252-3/+3
| | | | Closes #5292
* tests/git: ignore mqttd and port filesEmil Engler2020-04-242-0/+2
| | | | Closes #5290
* tests: make runtests check that disabled tests existsDaniel Stenberg2020-04-242-2/+7
| | | | | | | ... and error out if so. Removed '536' from DISABLED as there is no such test file. Closes #5288
* test1154: set a proper nameDaniel Stenberg2020-04-241-1/+1
|
* select: make Curl_socket_check take timediff_t timeoutDaniel Stenberg2020-04-235-11/+11
| | | | | | | | | | Coverity found CID 1461718: Integer handling issues (CONSTANT_EXPRESSION_RESULT) "timeout_ms > 9223372036854775807L" is always false regardless of the values of its operands. This occurs as the logical second operand of "||". Closes #5240
* libcurl-multi.3: added missing full stopi-ky2020-04-231-1/+1
| | | | Closes #5285
* transfer: Switch PUT to GET/HEAD on 303 redirectJay Satiro2020-04-223-7/+91
| | | | | | | | | | | | | | Prior to this change if there was a 303 reply to a PUT request then the subsequent request to respond to that redirect would also be a PUT. It was determined that was most likely incorrect based on the language of the RFCs. Basically 303 means "see other" resource, which implies it is most likely not the same resource, therefore we should not try to PUT to that different resource. Refer to the discussions in #5237 and #5248 for more information. Fixes https://github.com/curl/curl/issues/5237 Closes https://github.com/curl/curl/pull/5248
* lib/mk-ca-bundle: skip empty certsDaniel Stenberg2020-04-221-1/+6
| | | | | | | Reviewed-by: Emil Engler Reported-by: Ashwin Metpalli Fixes #5278 Closes #5280
* version: skip idn2_check_version() check and add precautionDaniel Stenberg2020-04-221-9/+11
| | | | | | A gcc-10's -fanalyze complaint made me spot and do these improvements. Closes #5281
* RELEASE-NOTES: syncedDaniel Stenberg2020-04-221-6/+27
|
* curl.h: update comment typoBrian Bergeron2020-04-221-1/+1
| | | | | | "routines with be invoked" -> "routines will be invoked" Closes #5279
* GnuTLS: Don't skip really long certificate fieldsEmil Engler2020-04-212-19/+15
| | | | Closes #5271
* gnutls: bump lowest supported version to 3.1.10Daniel Stenberg2020-04-213-290/+53
| | | | | | | | | GnuTLS 3.1.10 added new functions we want to use. That version was released on Mar 22, 2013. Removing support for older versions also greatly simplifies the code. Ref: #5271 Closes #5276
* mqtt: make NOSTATE get within the debug name arrayDaniel Stenberg2020-04-202-2/+4
|
* tests: run the RTSP test server on a dynamic port numberDaniel Stenberg2020-04-203-21/+77
| | | | | | To avoid port collisions. Closes #5272
* tests: add %NOLISTENPORT and use itDaniel Stenberg2020-04-208-6/+9
| | | | | | | | | | | | The purpose with this variable is to provide a port number that is reasonably likely to not have a listener on the local host so that tests can try connect failures against it. It uses port 47 - "reserved" according to IANA. Updated six tests to use it instead of the previous different ports. Assisted-by: Emil Engler Closes #5270
* mqtt: remove code with no purposeDaniel Stenberg2020-04-201-2/+0
| | | | | | | | | | Detected by Coverity. CID 1462319. "The same code is executed when the condition result is true or false, because the code in the if-then branch and after the if statement is identical." Closes #5275