summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: set LC_ALL in more testsbagder/tests-LC_ALL-moreDaniel Stenberg2019-12-193-3/+3
| | | | Follow-up to 23208e330ac0c21
* test165: set LC_ALL=en_US.UTF-8 tooDaniel Stenberg2019-12-191-1/+1
| | | | | | | | | On my current Debian Unstable with libidn2 2.2.0, I get an error if LC_ALL is set to blank. Then curl errors out with: curl: (3) Failed to convert www.åäö.se to ACE; could not convert string to UTF-8 Closes #4738
* curl.h: add two defines for the "pre ISO C" caseDaniel Stenberg2019-12-191-0/+2
| | | | | | | | | Without this fix, this caused a compilation failure on AIX with IBM xlc 13.1.3 compiler. Reported-by: Ram Krushna Mishra Fixes #4739 Closes #4740
* create_conn: prefer multiplexing to using new connectionsDaniel Stenberg2019-12-191-18/+0
| | | | | | | | | | | ... as it would previously prefer new connections rather than multiplexing in most conditions! The (now removed) code was a leftover from the Pipelining code that was translated wrongly into a multiplex-only world. Reported-by: Kunal Ekawde Bug: https://curl.haxx.se/mail/lib-2019-12/0060.html Closes #4732
* test1456: remove the use of a fixed local portDaniel Stenberg2019-12-191-2/+8
| | | | | | | | | Fixup the test to instead not compare the port number. It sometimes caused problems like this: "curl: (45) bind failed with errno 98: Address already in use" Closes #4733
* CURLOPT_QUOTE.3: fix typosJay Satiro2019-12-183-11/+11
| | | | | | | | | Prior to this change the EXAMPLE in the QUOTE/PREQUOTE/POSTQUOTE man pages would not compile because a variable name was incorrect. Reported-by: Bylon2@users.noreply.github.com Fixes https://github.com/curl/curl/issues/4736
* strerror: Fix compiler warning "empty expression"Gisle Vanem2019-12-181-1/+1
| | | | | | | | | | | | | - Remove the final semi-colon in the SEC2TXT() macro definition. Before: #define SEC2TXT(sec) case sec: txt = #sec; break; After: #define SEC2TXT(sec) case sec: txt = #sec; break Prior to this change SEC2TXT(foo); would generate break;; which caused the empty expression warning. Ref: https://github.com/curl/curl/commit/5b22e1a#r36458547
* curl/parseconfig: use curl_free() to free memory allocated by libcurlDaniel Stenberg2019-12-181-2/+2
| | | | | | Reported-by: bxac on github Fixes #4730 Closes #4731
* curl/parseconfig: fix mem-leakDaniel Stenberg2019-12-181-0/+2
| | | | | | | When looping, first trying '.curlrc' and then '_curlrc', the function would not free the first string. Closes #4731
* CURLOPT_URL.3: "curl supports SMB version 1 (only)"Daniel Stenberg2019-12-181-2/+2
| | | | [skip ci]
* test1270: a basic -w redirect_url testDaniel Stenberg2019-12-182-1/+70
| | | | Closes #4728
* HISTORY: the SMB(S) support landed in 2014Daniel Stenberg2019-12-181-0/+2
|
* define: remove HAVE_ENGINE_LOAD_BUILTIN_ENGINES, not used anymoreDaniel Stenberg2019-12-177-38/+2
| | | | | | | | | It is covered by USE_OPENSSL_ENGINE now. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/87b9337c8f76c21c57b204e88b68c6ecf3bd1ac0#commitcomment-36447951 Closes #4725
* lib: remove ASSIGNWITHINCONDITION exceptions, use our code styleDaniel Stenberg2019-12-172-5/+14
| | | | | | | | | | ... even for macros Reviewed-by: Daniel Gustafsson Reviewed-by: Jay Satiro Reported-by: Jay Satiro Fixes #4683 Closes #4722
* tests: make sure checksrc runs on header files tooDaniel Stenberg2019-12-164-5/+5
|
* Revert "checksrc: fix regexp for ASSIGNWITHINCONDITION"Daniel Stenberg2019-12-162-1/+2
| | | | | | This reverts commit ba82673dac3e8d00a76aa5e3779a0cb80e7442af. Bug: #4683
* KNOWN_BUGS: TLS session cache doesn't work with TFODaniel Stenberg2019-12-161-0/+5
| | | | | [skip ci] Closes #4301
* KNOWN_BUGS: Connection information when using TCP Fast OpenDaniel Stenberg2019-12-161-1/+2
| | | | | Also point to #4296 for more details Closes #4296
* KNOWN_BUGS: LDAP on Windows doesn't workDaniel Stenberg2019-12-161-0/+8
| | | | Closes #4261
* docs: TLS SRP doesn't work with TLS 1.3Daniel Stenberg2019-12-165-5/+15
| | | | | | Reported-by: sayrer on github Closes #4262 [skip ci]
* cirrus: Switch to the FreeBSD 12.1 point release & enable more tests.Dan Fandrich2019-12-161-5/+5
| | | | | A few tests are now passing on FreeBSD, so no longer skip them. [skip ci]
* azure: the macos cmake doesn't need to install cmakeDaniel Stenberg2019-12-161-1/+1
| | | | | | | Error: cmake 3.15.5 is already installed To upgrade to 3.16.1, run `brew upgrade cmake`. Closes #4723
* winbuild: Document CURL_STATICLIB requirement for static libcurlJay Satiro2019-12-151-0/+6
| | | | | | | | | | | A static libcurl (ie winbuild mode=static) requires that the user define CURL_STATICLIB when using it in their application. This is already covered in the FAQ and INSTALL.md, but is a pretty important point so now it's noted in the BUILD.WINDOWS.txt as well. Assisted-by: Michael Vittiglio Closes https://github.com/curl/curl/pull/4721
* libssh2: add support for ECDSA and ed25519 knownhost keysSantino Keupp2019-12-151-47/+81
| | | | | | | | ... if a new enough libssh2 version is present. Source: https://curl.haxx.se/mail/archive-2019-12/0023.html Co-Authored-by: Daniel Stenberg Closes #4714
* lib1591: free memory properly on OOM, in the trailers callbackDaniel Stenberg2019-12-151-4/+17
| | | | | | Detected by torture tests. Closes #4720
* runtests: --repeat=[num] to repeat testsDaniel Stenberg2019-12-152-0/+19
| | | | Closes #4715
* RELEASE-NOTES: syncedDaniel Stenberg2019-12-151-12/+40
|
* azure: add a torture test on macDaniel Stenberg2019-12-141-1/+19
| | | | | | Uses --shallow=25 to keep it small enough to get through in time. Closes #4712
* multi: free sockhash on OOMDaniel Stenberg2019-12-131-0/+1
| | | | | | | | This would otherwise leak memory in the error path. Detected by torture test 1540. Closes #4713
* tests: use DoH feature for DoH testsMarcel Raad2019-12-133-1/+2
| | | | | | | Previously, http/2 was used instead. Assisted-by: Jay Satiro Closes https://github.com/curl/curl/pull/4692
* hostip: suppress compiler warningMarcel Raad2019-12-131-0/+4
| | | | | | | With `--disable-doh --disable-threaded-resolver`, the `dns` parameter is not used. Closes https://github.com/curl/curl/pull/4692
* tests: fix build with `CURL_DISABLE_DOH`Marcel Raad2019-12-132-2/+14
| | | | Closes https://github.com/curl/curl/pull/4692
* azure: add a torture testDaniel Stenberg2019-12-131-0/+21
| | | | | | Skipping all FTP tests for speed reasons. Closes #4697
* azure: make the default build use --enable-debug --enable-werrorDaniel Stenberg2019-12-131-1/+5
|
* ntlm_wb: fix double-free in OOMDaniel Stenberg2019-12-131-11/+6
| | | | | | Detected by torture testing test 1310 Closes #4710
* cirrus: Drop the FreeBSD 10.4 buildDan Fandrich2019-12-131-2/+1
| | | | | | Upstream support for 10.4 ended a year ago, and it looks like the image is now gone, too. [skip ci]
* unit1620: fix bad free in OOMDaniel Stenberg2019-12-131-0/+2
| | | | Closes #4709
* unit1609: fix mem-leak in OOMDaniel Stenberg2019-12-131-9/+20
| | | | Closes #4709
* unit1607: fix mem-leak in OOMDaniel Stenberg2019-12-131-12/+18
| | | | Closes #4709
* lib1559: fix mem-leak in OOMDaniel Stenberg2019-12-131-8/+4
| | | | Closes #4709
* lib1557: fix mem-leak in OOMDaniel Stenberg2019-12-131-3/+3
| | | | Closes #4709
* altsvc: make the save function ignore NULL filenamesDaniel Stenberg2019-12-121-2/+2
| | | | | | It might happen in OOM situations. Detected bv torture tests. Closes #4707
* curl: fix memory leak in OOM in etags logicDaniel Stenberg2019-12-121-10/+9
| | | | | | Detected by torture tests Closes #4706
* doh: make it behave when built without proxy supportDaniel Stenberg2019-12-121-16/+18
| | | | | | | Reported-by: Marcel Raad Bug: https://github.com/curl/curl/pull/4692#issuecomment-564115734 Closes #4704
* curl: improved cleanup in upload error pathDaniel Stenberg2019-12-121-5/+6
| | | | | | Memory leak found by torture test 58 Closes #4705
* mailmap: fix Andrew IshchukDaniel Stenberg2019-12-111-0/+1
|
* travis: make torture use --shallow=40Daniel Stenberg2019-12-111-1/+1
| | | | | As a first step to enable it to run over a more diverse set of tests in a reasonable time.
* runtests: introduce --shallow to reduce huge torture testsDaniel Stenberg2019-12-112-4/+41
| | | | | | | | | | | | When set, shallow mode limits runtests -t to make no more than NUM fails per test case. If more are found, it will randomly discard entries until the number is right. The random seed can also be set. This is particularly useful when running MANY tests as then most torture failures will already fail the same functions over and over and make the total operation painfully tedious. Closes #4699
* conncache: CONNECT_ONLY connections assumed always in-useDaniel Stenberg2019-12-111-1/+2
| | | | | | | | | | | | | | | This makes them never to be considered "the oldest" to be discarded when reaching the connection cache limit. The reasoning here is that CONNECT_ONLY is primarily used in combination with using the connection's socket post connect and since that is used outside of curl's knowledge we must assume that it is in use until explicitly closed. Reported-by: Pavel Pavlov Reported-by: Pavel Löbl Fixes #4426 Fixes #4369 Closes #4696
* vtls: make BearSSL possible to set with CURL_SSL_BACKENDGisle Vanem2019-12-101-0/+3
| | | | | | Ref: https://github.com/curl/curl/commit/9b879160df01e7ddbb4770904391d3b74114302b#commitcomment-36355622 Closes #4698