summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* travis/before_script: use v3.1.4 libresslbagder/travis-libresslDaniel Stenberg2020-09-151-1/+1
| | | | ... as their git master seems too fragile to use.
* tests/FILEFORMAT: document type=shell for <command>Daniel Stenberg2020-09-151-1/+4
|
* tests/FILEFORMAT: document nonewline support for <file>Daniel Stenberg2020-09-151-1/+4
| | | | | | The one in <client>, that creates files. Follow-up from b83947c8df7
* tool_writeout: add new writeout variable, %{num_headers}anio2020-09-1514-23/+191
| | | | | | This variable gives the number of headers. Closes #5947
* tool_urlglob: fix compiler warning "unreachable code"Daniel Stenberg2020-09-151-2/+2
| | | | | | (On Windows builds.) Follow-up to 70a3b003d9
* vtls: deduplicate client certificates in ssl_config_dataGergely Nagy2020-09-1411-38/+36
| | | | Closes #5629
* ftp: a 550 response to SIZE returns CURLE_REMOTE_FILE_NOT_FOUNDDaniel Stenberg2020-09-1416-8/+155
| | | | | | | | | | | | | | | | | | | | This is primarily interesting for cases where CURLOPT_NOBODY is set as previously curl would not return an error for this case. MDTM getting 550 now also returns this error (it returned CURLE_FTP_COULDNT_RETR_FILE before) in order to unify return codes for missing files across protocols and specific FTP commands. libcurl already returns error on a 550 as a MDTM response (when CURLOPT_FILETIME is set). If CURLOPT_NOBODY is not set, an error would happen subsequently anyway since the RETR command would fail. Add test 1913 and 1914 to verify. Updated several tests accordingly due to the updated SIZE behavior. Reported-by: Tomas Berger Fixes #5953 Closes #5957
* curl: make checkpasswd use dynbufDaniel Stenberg2020-09-141-15/+8
| | | | Closes #5952
* curl: make glob_match_url use dynbufDaniel Stenberg2020-09-141-31/+15
| | | | Closes #5952
* curl: make file2memory use dynbufDaniel Stenberg2020-09-141-38/+14
| | | | Closes #5952
* curl: make file2string use dynbufDaniel Stenberg2020-09-141-32/+9
| | | | Closes #5952
* imap: set cselect_bits to CURL_CSELECT_IN initiallyAntarpreet Singh2020-09-141-0/+3
| | | | | | | | | | | | | | | ... when continuing a transfer from a FETCH response. When the size of the file was small enough that the entirety of the transfer happens in a single go and schannel buffers holds the entire data. However, it wasn't completely read in Curl_pp_readresp since a line break was found before that could happen. So, by the time we are in imap_state_fetch_resp - there's data in buffers that needs to be read via Curl_read but nothing to read from the socket. After we setup a transfer (Curl_setup_transfer), curl just waits on the socket state to change - which doesn't happen since no new data ever comes. Closes #5961
* RELEASE-NOTES: syncedDaniel Stenberg2020-09-141-5/+26
|
* test434: test -K use in a single line without newlineDaniel Stenberg2020-09-142-1/+49
| | | | Closes #5946
* runtests: allow creating files without newlinesDaniel Stenberg2020-09-141-0/+4
| | | | Closes #5946
* curl: use curlx_dynbuf for realloc when loading config filesDaniel Stenberg2020-09-146-42/+44
| | | | | | | | | ... fixes an integer overflow at the same time. Reported-by: ihsinme on github Assisted-by: Jay Satiro Closes #5946
* dynbuf: provide curlx_ names for reuse by the curl toolDaniel Stenberg2020-09-142-5/+24
| | | | Closes #5946
* dynbuf: make sure Curl_dyn_tail() zero terminatesDaniel Stenberg2020-09-141-0/+1
| | | | Closes #5959
* tests: add test1912 to the distDaniel Stenberg2020-09-121-1/+1
| | | | Follow-up to 70984ce1be4cab6c
* docs/LICENSE-MIXING: removeDaniel Stenberg2020-09-114-136/+3
| | | | | | | This document is not maintained and I feel that it doesn't provide much value to users anymore (if it ever did). Closes #5955
* http: consolidate nghttp2_session_mem_recv() call pathsLaramie Leavitt2020-09-101-88/+29
| | | | | | | | | | | | | | | | | | | | | Previously there were several locations that called nghttp2_session_mem_recv and handled responses slightly differently. Those have been converted to call the existing h2_process_pending_input() function. Moved the end-of-session check to h2_process_pending_input() since the only place the end-of-session state can change is after nghttp2 processes additional input frames. This will likely fix the fuzzing error. While I don't have a root cause the out-of-bounds read seems like a use after free, so moving the nghttp2_session_check_request_allowed() call to a location with a guaranteed nghttp2 session seems reasonable. Also updated a few nghttp2 callsites to include error messages and added a few additional error checks. Closes #5648
* HISTORY: mention alt-svc added in 2019Daniel Stenberg2020-09-101-3/+8
| | | | ... and make 1996 the first year subtitle
* base64: also build for pop3 and imapDaniel Stenberg2020-09-101-0/+2
| | | | | | | | Follow-up to the fix in 20417a13fb8f83 Reported-by: Michael Olbrich Fixes #5937 Closes #5948
* base64: enable in build with SMTPDaniel Stenberg2020-09-091-1/+2
| | | | | | | | The oauth2 support is used with SMTP and it uses base64 functions. Reported-by: Michael Olbrich Fixes #5937 Closes #5938
* curl_mime_headers.3: fix the example's use of curl_slist_appendDaniel Stenberg2020-09-081-2/+2
| | | | | | Reported-by: sofaboss on github Fixes #5942 Closes #5943
* lib583: fix enum mixupDaniel Stenberg2020-09-081-1/+1
| | | | grrr the previous follow-up to 17fcdf6a31 was wrong
* libtest: fix build errorsDaniel Stenberg2020-09-082-5/+10
| | | | Follow-up from 17fcdf6a310d4c8076
* lib: fix -Wassign-enum warningsDaniel Stenberg2020-09-0815-48/+53
| | | | | | | | | | 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
* RELEASE-NOTES: syncedDaniel Stenberg2020-09-081-6/+33
|
* url: use blank credentials when using proxy w/o username and passwordDiven Qi2020-09-081-2/+4
| | | | | | | Fixes proxy regression brought in commit ad829b21ae (7.71.0) Fixed #5911 Closes #5914
* travis: add a build using libressl (from git master)Daniel Stenberg2020-09-072-0/+13
| | | | | | The v3.2.1 tag (latest release atm) results in a broken build. Closes #5932
* configure: let --enable-debug set -Wenum-conversion with gcc >= 10Daniel Stenberg2020-09-071-0/+4
| | | | | | | | Unfortunately, this option is not detecting the same issues as clang's -Wassign-enum flag, but should still be useful to detect future mistakes. Closes #5930
* openssl: consider ALERT_CERTIFICATE_EXPIRED a failed verificationDaniel Stenberg2020-09-071-1/+2
| | | | | | | | | | | If the error reason from the lib is SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED, libcurl will return CURLE_PEER_FAILED_VERIFICATION and not CURLE_SSL_CONNECT_ERROR. This unifies the libcurl return code and makes libressl run test 313 (CRL testing) fine. Closes #5934
* FAQ: refreshed some very old languageDaniel Stenberg2020-09-071-31/+22
|
* cmake: make HTTP_ONLY also disable MQTTDaniel Stenberg2020-09-071-7/+8
| | | | | | | ... and alphasort the order of disabling protocols to make it easier to browse. Closes #5931
* libtest: remove lib1541 leftoversDaniel Stenberg2020-09-071-4/+0
| | | | | | Caused automake errors. Follow-up to 8ca54a03ea08a
* tests/libtests: remove test 1900 and 2033Daniel Stenberg2020-09-071-10/+2
| | | | | | We already remove the test files, now remove the libtest codes as well. Follow-up to e50a877df74
* CI/azure: add test number to title for display in analyticsMarc Hoersken2020-09-071-1/+3
| | | | | | | | | | To ease identification of tests the test number is added to the test case title in order to have it on the Azure DevOps Analytics pages and reports which currently do not show it. Bump test case revision to make Azure DevOps update titles. Closes #5927
* altsvc: clone setting in curl_easy_duphandlebagder/altsvc-duphandleDaniel Stenberg2020-09-067-10/+49
| | | | | | | | | | | | The cache content is not duplicated, like other caches, but the setting and specified file name are. Test 1908 is extended to verify this somewhat. Since the duplicated handle gets the same file name, the test unfortunately overwrites the same file twice (with different contents) which makes it hard to check automatically. Closes #5923
* test1541: remove since it is a known bugDaniel Stenberg2020-09-065-38/+11
| | | | | | | | | | | A shared connection cache is not thread-safe is a known issue. Stop testing this until we believe this issue is addressed. Reduces occasional test failures we don't care about. The test code in lib1541.c is left in git to allow us to restore it when we get to fix this. Closes #5922
* tests: remove pipelining testsDaniel Stenberg2020-09-0610-587/+18
| | | | | | | | | | Remove the tests 530, 584, 1900, 1901, 1902, 1903 and 2033. They were previously disabled. The Pipelining code was removed from curl in commit 2f44e94efb3df8e, April 2019. Closes #5921
* curl: retry delays in parallel mode no longer sleeps blockingDaniel Stenberg2020-09-062-12/+39
| | | | | | | | | The previous sleep for retries would block all other concurrent transfers. Starting now, the retry will instead be properly marked to not get restarted until after the delay time but other transfers can still continue in the mean time. Closes #5917
* curl:parallel_transfers: make sure retry readds the transferDaniel Stenberg2020-09-051-3/+4
| | | | | | Reported-by: htasta on github Fixes #5905 Closes #5917
* build: drop support for building with WatcomDaniel Stenberg2020-09-055-524/+4
| | | | | | | These files are not maintained, they seem to have no users, Watcom compilers look like not having users nor releases anymore. Closes #5918
* winbuild/rundebug.cmd: removeDaniel Stenberg2020-09-051-24/+0
| | | | | | Seems to have been added by mistake? Not included in dists. Closes #5919
* curl: in retry output don't call all problems "transient"Daniel Stenberg2020-09-051-5/+5
| | | | | | | ... because when --retry-all-errors is used, the error isn't necessarily transient at all. Closes #5916
* easygetopt: pass a valid enum to avoid compiler warningDaniel Stenberg2020-09-051-1/+2
| | | | | | | | | "integer constant not in range of enumerated type 'CURLoption'" Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/6ebe63fac23f38df911edc348e8ccc72280f9434#commitcomment-42042843 Closes #5915
* tests: Add tests for new --helpEmil Engler2020-09-045-1/+203
| | | | | | This commit is a part of "--help me if you can" Closes #5680
* tool: update --help with categoriesEmil Engler2020-09-045-246/+602
| | | | | | This commit is a part of "--help me if you can" Closes #5680
* docs: add categories to all cmdline optsEmil Engler2020-09-04235-6/+289
| | | | | | | | Adapted gen.pl with 'listcats' This commit is a part of "--help me if you can" Closes #5680