aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-08tests: verify split initial HTTP requests with CURL_SMALLREQSENDDaniel Stenberg
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
2020-04-08http: don't consider upload done if the request isn't completely sent offDaniel Stenberg
Fixes #4919 Closes #5197
2020-04-08http: allow Curl_add_buffer_send() to do a short first send by forceDaniel Stenberg
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.
2020-04-08connect: store connection info for QUIC connectionsDaniel Stenberg
Restores the --head functionality to the curl utility which extracts 'protocol' that is stored that way. Reported-by: James Fuller Fixes #5196 Closes #5198
2020-04-07tests/README: update the port numbers listDaniel Stenberg
Since the pipelining server is long gone. Reported-by: James Fuller
2020-04-07select: remove typecast from SOCKET_WRITABLE/READABLE macrosDaniel Stenberg
So that they don't hide conversions-by-mistake Reviewed-by: Jay Satiro Closes #5190
2020-04-07CURLOPT_WRITEFUNCTION.3: add inline example and new see-alsoDaniel Stenberg
Closes #5192
2020-04-06release-notes: output trailing references sorted numericallyDaniel Stenberg
2020-04-06cleanup: correct copyright year range on a few filesDaniel Stenberg
2020-04-06configure: remove use of -vec-report0 from CFLAGS with iccDaniel Stenberg
... as it apparently isn't (always) supported. Reported-by: Alain Miniussi Fixes #5096 Closes #5191
2020-04-06warnless: remove code block for icc that didn't workDaniel Stenberg
Reported-by: Alain Miniussi Fixes #5096
2020-04-06dist: add missing setup-win32.hMarc Hoersken
Follow up to d820224b8b
2020-04-06RELEASE-NOTES: syncedDaniel Stenberg
2020-04-06scripts/release-notes.pl: add helper script for RELEASE-NOTES maintenanceDaniel Stenberg
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.
2020-04-06configure: don't check for Security.framework when cross-compilingDennis Felsing
Since it checks for the local file, not the cross-compiled one. Closes #5189
2020-04-06TODO: Option to make -Z merge lined based outputs on stdoutDaniel Stenberg
Closes #5175
2020-04-05lib: never define CURL_CA_BUNDLE with a getenvDaniel Stenberg
- 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
2020-04-05lib670: use the same Win32 API check as all other lib testsMarc Hoersken
2020-04-05appveyor: use random test server ports based upon APPVEYOR_API_URLMarc Hoersken
Avoid conflicts of test server ports with AppVeyor API on localhost. Closes #5034
2020-04-05appveyor: sort builds by type and add two new variantsMarc Hoersken
Related to #5034 and #5063
2020-04-05appveyor: show failed tests in log even if test is ignoredMarc Hoersken
And print API response with newline only if there is one
2020-04-05appveyor: turn disabled tests into ignored result testsMarc Hoersken
2020-04-05KNOWN_BUGS: fixed "USE_UNIX_SOCKETS on Windows"Daniel Stenberg
Fixed with #5170 (commit 23a870f2fd041278)
2020-04-05test1566: verify --etag-compare that gets a 304 backDaniel Stenberg
Verifies the fix in #5183 Closes #5186
2020-04-05CURLINFO_CONDITION_UNMET: return true for 304 http status codeKwon-Young Choi
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
2020-04-05curl: allow both --etag-compare and --etag-save with same file nameKwon-Young Choi
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
2020-04-04windows: enable UnixSockets with all build toolchainsViktor Szakats
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
2020-04-04KNOWN_BUGS: Store TLS context per transfer instead of per connectionDaniel Stenberg
Closes #5102
2020-04-03sockfilt: remove redundancy in timeout handlingMarc Hoersken
And update other logmsg output in select_ws on Windows.
2020-04-03sockfilt: fix handling of ready closed sockets on WindowsMarc Hoersken
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.
2020-04-03sockfilt: fix race-condition of waiting threads and event handlingMarc Hoersken
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
2020-04-02CI-fuzz: increase fuzz time to 40 minutesLeo Neat
Closes #5174
2020-04-02CI: increase Azure Pipelines timeouts due to performance issuesMarc Hoersken
The current demand on Azure negatively impacts the CI performance.
2020-04-02runtests.pl: log host OS as detected by Perl environmentMarc Hoersken
2020-04-02ftpserver.pl: log before and after data connection is closedMarc Hoersken
2020-04-01RELEASE-NOTES: syncedDaniel Stenberg
2020-03-31RELEASE-PROCEDURE.md: run the copyright.pl script!Daniel Stenberg
2020-03-31vquic/ngtcp2.h: update copyright year rangeDaniel Stenberg
Follow-up to 0736ee73d346a52
2020-03-31CI: add build with ngtcp2 + gnutls on Travis CIDaiki Ueno
2020-03-31vquic: add support for GnuTLS backend of ngtcp2Daiki Ueno
Currently, the TLS backend used by vquic/ngtcp2.c is selected at compile time. Therefore OpenSSL support needs to be explicitly disabled. Signed-off-by: Daiki Ueno <dueno@redhat.com> Closes #5148
2020-03-31examples/sessioninfo.c: add include to fix compiler warningGisle Vanem
Fixes #5171
2020-03-31misc: copyright year updatesDaniel Stenberg
Follow-up to 7a71965e9
2020-03-31build: fixed build for systems with select() in unistd.hHarry Sintonen
Closes #5169
2020-03-31memdebug: don't log free(NULL)Daniel Stenberg
... it serves no purpose and fills up the log.
2020-03-30cleanup: insert newline after if() conditionsDaniel Stenberg
Our code style mandates we put the conditional block on a separate line. These mistakes are now detected by the updated checksrc.
2020-03-30checksrc: warn on obvious conditional blocks on the same line as if()Daniel Stenberg
Closes #5164
2020-03-30cmake: add CMAKE_MSVC_RUNTIME_LIBRARYRoger Orr
Fixes #5165 Closes #5167
2020-03-30ngtcp2: update to git master for the key installation API changeDaiki Ueno
This updates the ngtcp2 OpenSSL backend to follow the API change in commit 32e703164 of ngtcp2. Notable changes are: - ngtcp2_crypto_derive_and_install_{rx,tx}_key have been added to replace ngtcp2_crypto_derive_and_install_key - the 'side' argument of ngtcp2_crypto_derive_and_install_initial_key has been removed Fixes #5166 Closes #5168
2020-03-30SECURITY.md: minor rephraseCyrus
Closes #5158
2020-03-30output.d: quote the URL when globbingDaniel Stenberg
Some shells do globbing of their own unless the URL is quoted, so maybe encourage this. Co-authored-by: Jay Satiro Closes #5160