summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: fix conflict between Cygwin/msys and Windows PIDsMarc Hoersken2020-04-115-33/+79
| | | | | | | | | | | | | | Add 65536 to Windows PIDs to allow Windows specific treatment by having disjunct ranges for Cygwin/msys and Windows PIDs. See also: - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ h=b5e1003722cb14235c4f166be72c09acdffc62ea - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ h=448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe Replaces #5178 Closes #5188
* RELEASE-NOTES: syncedDaniel Stenberg2020-04-111-12/+38
|
* release-notes.pl: detect the start of the references in cleanup modeDaniel Stenberg2020-04-111-2/+1
|
* Revert "file: on Windows, refuse paths that start with \\"Daniel Stenberg2020-04-111-4/+2
| | | | | | | | | This reverts commit 1b71bc532bde8621fd3260843f8197182a467ff2. Reminded-by: Chris Roberts Bug: https://curl.haxx.se/mail/archive-2020-04/0013.html Closes #5215
* lib: fix conversion warnings for SOCKET_WRITABLE/READABLEJay Satiro2020-04-112-3/+6
| | | | | | | | | | - If loss of data may occur converting a timediff_t to time_t and the time value is > TIME_T_MAX then treat it as TIME_T_MAX. This is a follow-up to 8843678 which removed the (time_t) typecast from the macros so that conversion warnings could be identified. Closes https://github.com/curl/curl/pull/5199
* test1148: tolerate progress updates better (again)Jay Satiro2020-04-111-7/+7
| | | | | | | | | | | | | | | | | | | | | | - Ignore intermediate progress updates. - Support locales that use a character other than period as decimal separator (eg 100,0%). test1148 checks that the progress finishes at 100% and has the right bar width. Prior to this change the test assumed that the only progress reported for such a quick transfer was 100%, however in rare instances (like in the CI where transfer time can slow considerably) there may be intermediate updates. For example, below is stderrlog1148 from a failed CI run with explicit \r and \n added (it is one line; broken up so that it's easier to understand). \r \r################################## 48.3% \r######################################################################## 100.0% \n Closes https://github.com/curl/curl/pull/5194
* sshserver.pl: use cached Win32 environment check variableMarc Hoersken2020-04-101-2/+2
|
* appveyor: partially revert 3413a110 to keep build without proxyMarc Hoersken2020-04-101-2/+2
| | | | | Ref: #5211 and #4526 Reported-by: Marcel Raad
* appveyor: ignore failing 'connect to non-listening proxy' testsMarc Hoersken2020-04-101-3/+3
| | | | Closes #5211
* CI/macos: convert CRLF to LF and align indentationMarc Hoersken2020-04-101-97/+97
|
* url: allow non-HTTPS altsvc-matching for debug buildsDaniel Stenberg2020-04-091-1/+8
| | | | | | | This is already partly supported but this part was missing. Reported-by: James Fuller Closes #5205
* server/resolve: remove AI_CANONNAME to make macos tell the truthDaniel Stenberg2020-04-091-1/+1
| | | | | | | | With this bit set, my mac successfully resolves "ip6-localhost" when in fact there is no such host known to my machine! That in turn made test 241 wrongly execute and fail. Closes #5202
* runtests: fix warning about using an undefined variableDaniel Stenberg2020-04-091-2/+2
| | | | Follow-up from 4d939ef6ceb2db1
* release-notes: fix the initial reference list outputDaniel Stenberg2020-04-081-19/+20
|
* github actions: run when pushed to master or */ci + PRsDaniel Stenberg2020-04-082-2/+20
| | | | | | | Avoid double-builds when using "local" branches for PRs. For both macos and fuzz jobs. Closes #5201
* runtests: provide nicer errormsg when protocol "dump" file is emptyDaniel Stenberg2020-04-081-0/+7
|
* schannel: support .P12 or .PFX client certificatesGilles Vollant2020-04-081-34/+124
| | | | | | | Used with curl command line option like this: --cert <filename>:<password> --cert-type p12 Closes #5193
* tests: verify split initial HTTP requests with CURL_SMALLREQSENDDaniel Stenberg2020-04-083-27/+159
| | | | | | | | | | test1294: "split request" being when the entire request isn't sent in the first go, and the remainder is sent in the PERFORM state. A GET request is otherwise not sending anything during PERFORM. test1295: same kind of split but with POST Closes #5197
* http: don't consider upload done if the request isn't completely sent offDaniel Stenberg2020-04-082-3/+8
| | | | | Fixes #4919 Closes #5197
* http: allow Curl_add_buffer_send() to do a short first send by forceDaniel Stenberg2020-04-081-1/+14
| | | | | | | In a debug build, settting the environment variable "CURL_SMALLREQSEND" will make the first HTTP request send not send more bytes than the set amount, thus ending up verifying that the logic for handling a split HTTP request send works correctly.
* connect: store connection info for QUIC connectionsDaniel Stenberg2020-04-081-41/+40
| | | | | | | | | Restores the --head functionality to the curl utility which extracts 'protocol' that is stored that way. Reported-by: James Fuller Fixes #5196 Closes #5198
* tests/README: update the port numbers listDaniel Stenberg2020-04-071-6/+5
| | | | | Since the pipelining server is long gone. Reported-by: James Fuller
* select: remove typecast from SOCKET_WRITABLE/READABLE macrosDaniel Stenberg2020-04-071-2/+2
| | | | | | | So that they don't hide conversions-by-mistake Reviewed-by: Jay Satiro Closes #5190
* CURLOPT_WRITEFUNCTION.3: add inline example and new see-alsoDaniel Stenberg2020-04-071-4/+33
| | | | Closes #5192
* release-notes: output trailing references sorted numericallyDaniel Stenberg2020-04-061-12/+10
|
* cleanup: correct copyright year range on a few filesDaniel Stenberg2020-04-065-5/+5
|
* configure: remove use of -vec-report0 from CFLAGS with iccDaniel Stenberg2020-04-061-5/+0
| | | | | | | ... as it apparently isn't (always) supported. Reported-by: Alain Miniussi Fixes #5096 Closes #5191
* warnless: remove code block for icc that didn't workDaniel Stenberg2020-04-061-13/+0
| | | | | Reported-by: Alain Miniussi Fixes #5096
* dist: add missing setup-win32.hMarc Hoersken2020-04-061-1/+2
| | | | Follow up to d820224b8b
* RELEASE-NOTES: syncedDaniel Stenberg2020-04-061-5/+29
|
* scripts/release-notes.pl: add helper script for RELEASE-NOTES maintenanceDaniel Stenberg2020-04-061-0/+214
| | | | | | | This script helps putting entries in the RELEASE-NOTES using a coherent style and sorting with a minimal human editing effort - as long as the first line in the commit message is good enough! There's a short howto at the top of the file.
* configure: don't check for Security.framework when cross-compilingDennis Felsing2020-04-061-1/+1
| | | | | | Since it checks for the local file, not the cross-compiled one. Closes #5189
* TODO: Option to make -Z merge lined based outputs on stdoutDaniel Stenberg2020-04-061-0/+9
| | | | Closes #5175
* lib: never define CURL_CA_BUNDLE with a getenvDaniel Stenberg2020-04-052-4/+0
| | | | | | | | | | | - it breaks the build (since 6de756c9b1de34b7a1) - it's not documented and not consistent across platforms - the curl tool does that getenv magic Bug: https://github.com/curl/curl/commit/6de756c#r38127030 Reported-by: Gisle Vanem Closes #5187
* lib670: use the same Win32 API check as all other lib testsMarc Hoersken2020-04-051-1/+1
|
* appveyor: use random test server ports based upon APPVEYOR_API_URLMarc Hoersken2020-04-051-1/+2
| | | | | | Avoid conflicts of test server ports with AppVeyor API on localhost. Closes #5034
* appveyor: sort builds by type and add two new variantsMarc Hoersken2020-04-051-23/+47
| | | | Related to #5034 and #5063
* appveyor: show failed tests in log even if test is ignoredMarc Hoersken2020-04-051-6/+7
| | | | And print API response with newline only if there is one
* appveyor: turn disabled tests into ignored result testsMarc Hoersken2020-04-051-8/+8
|
* KNOWN_BUGS: fixed "USE_UNIX_SOCKETS on Windows"Daniel Stenberg2020-04-051-8/+0
| | | | Fixed with #5170 (commit 23a870f2fd041278)
* test1566: verify --etag-compare that gets a 304 backDaniel Stenberg2020-04-052-0/+66
| | | | | | Verifies the fix in #5183 Closes #5186
* CURLINFO_CONDITION_UNMET: return true for 304 http status codeKwon-Young Choi2020-04-053-5/+10
| | | | | | | | | | | In libcurl, CURLINFO_CONDITION_UNMET is used to avoid writing to the output file if the server did not transfered a file based on time condition. In the same manner, getting a 304 HTTP response back from the server, for example after passing a custom If-Match-* header, also fulfill this condition. Fixes #5181 Closes #5183
* curl: allow both --etag-compare and --etag-save with same file nameKwon-Young Choi2020-04-054-31/+150
| | | | | | | | | | | | This change inverse the order of processing for the --etag-compare and --etag-save option to process first --etag-compare. This in turn allows to use the same file name to compare and save an etag. The original behavior of not failing if the etag file does not exists is conserved. Fixes #5179 Closes #5180
* windows: enable UnixSockets with all build toolchainsViktor Szakats2020-04-042-10/+9
| | | | | | | | | | | Extend existing unix socket support in Windows builds to be enabled for all toolchain vendors or versions. (Previously it was only supported with certain MSVC versions + more recent Windows 10 SDKs) Ref: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ Ref: https://github.com/curl/curl/issues/5162 Closes: https://github.com/curl/curl/pull/5170
* KNOWN_BUGS: Store TLS context per transfer instead of per connectionDaniel Stenberg2020-04-041-0/+11
| | | | Closes #5102
* sockfilt: remove redundancy in timeout handlingMarc Hoersken2020-04-031-13/+13
| | | | And update other logmsg output in select_ws on Windows.
* sockfilt: fix handling of ready closed sockets on WindowsMarc Hoersken2020-04-031-25/+35
| | | | | | | | | | | Replace the incomplete workaround regarding FD_CLOSE only signalling once by instead doing a pre-check with standard select and storing the result for later use. select keeps triggering on closed sockets on Windows while WSAEventSelect fires only once with data still available. By doing the pre-check we do not run in a deadlock due to waiting forever for another FD_CLOSE event.
* sockfilt: fix race-condition of waiting threads and event handlingMarc Hoersken2020-04-031-83/+163
| | | | | | | | | | Fix race-condition of waiting threads finishing while events are already being processed which lead to invalid or skipped events. Use mutex to check for one event at a time or do post-processing. In addition to mutex-based locking use specific event as signal. Closes #5156
* CI-fuzz: increase fuzz time to 40 minutesLeo Neat2020-04-021-1/+1
| | | | Closes #5174
* CI: increase Azure Pipelines timeouts due to performance issuesMarc Hoersken2020-04-021-10/+10
| | | | The current demand on Azure negatively impacts the CI performance.