summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* quiche: don't use primary_ip / primary_portAlessandro Ghedini2021-02-011-3/+8
| | | | Closes #6555
* travis: enable quiche's FFI featureAlessandro Ghedini2021-02-012-2/+2
|
* http: improve AWS HTTP v4 Signature authDmitry Wagin2021-01-3021-256/+741
| | | | | | | | | | | | | | | | | | - Add support services without region and service prefixes in the URL endpoint (ex. Min.IO, GCP, Yandex Cloud, Mail.Ru Cloud Solutions, etc) by providing region and service parameters via aws-sigv4 option. - Add [:region[:service]] suffix to aws-sigv4 option; - Fix memory allocation errors. - Refactor memory management. - Use Curl_http_method instead() STRING_CUSTOMREQUEST. - Refactor canonical headers generating. - Remove repeated sha256_to_hex() usage. - Add some docs fixes. - Add some codestyle fixes. - Add overloaded strndup() for debug - curl_dbg_strndup(). - Update tests. Closes #6524
* hyper: fix CONNECT to set 'data' as userdataDaniel Stenberg2021-01-302-2/+2
| | | | Follow-up to 14e075d1a7fd
* connect: fix compile errors in `Curl_conninfo_local`Layla2021-01-291-1/+2
| | | | | | | | | .. for the `#else` (`!HAVE_GETSOCKNAME`) case Fixes https://github.com/curl/curl/issues/6548 Closes #6549 Signed-off-by: Layla <layla@insightfulvr.com>
* transfer: fix GCC 10 warning with flag '-Wint-in-bool-context'Michał Antoniak2021-01-291-2/+3
| | | | | | ... and return the error code from the Curl_mime_rewind call. Closes #6537
* avoid warning: enum constant in boolean contextMichał Antoniak2021-01-291-1/+1
|
* copyright: fix missing year (range) updatesDaniel Stenberg2021-01-2915-15/+15
|
* RELEASE-NOTES: syncedDaniel Stenberg2021-01-291-8/+38
|
* openssl: lowercase the hostname before using it for SNIDaniel Stenberg2021-01-291-4/+15
| | | | | | | | | | ... because it turns out several servers out there don't actually behave correctly otherwise in spite of the fact that the SNI field is specifically said to be case insensitive in RFC 6066 section 3. Reported-by: David Earl Fixes #6540 Closes #6543
* KNOWN_BUGS: cmake: ExternalProject_Add does not set CURL_CA_PATHDaniel Stenberg2021-01-281-0/+8
| | | | Closes #6313
* KNOWN_BUGS: Multi perform hangs waiting for threaded resolverDaniel Stenberg2021-01-281-0/+10
| | | | Closes #4852
* KNOWN_BUGS: "pulseUI VPN client" is known to be buggyDaniel Stenberg2021-01-281-0/+18
| | | | | | | First entry in the new section "applications" for known problems in libcurl using applications. Closes #6306
* tool_writeout: make %{errormsg} blank for no errorsDaniel Stenberg2021-01-282-4/+5
| | | | Closes #6539
* build: fix djgpp buildsGisle Vanem2021-01-274-34/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update build instructions in packages/DOS/README - Extend 'VPATH' with 'vquic' and 'vssh'. - Allow 'Makefile.dist' to build both 'lib' and 'src'. - Allow using the Windows hosted djgpp cross compiler to build for MSDOS under Windows. - 'USE_SSL' -> 'USE_OPENSSL' - Added a 'link_EXE' macro. Etc, etc. - Linking 'curl.exe' needs '$(CURLX_CFILES)' too. - Do not pick-up '../lib/djgpp/*.o' files. Recompile locally. - Generate a gzipped 'tool_hugehelp.c' if 'USE_ZLIB=1'. - Remove 'djgpp-clean' - Adapt to new C-ares directory structure - Use conditional variable assignments Clarify the 'conditional variable assignment' in 'common.dj'. Closes https://github.com/curl/curl/pull/6382
* hyper: fix typo in c-hyper.cIkko Ashimine2021-01-271-1/+1
| | | | | | settting -> setting Closes #6538
* libssh2: fix CURL_LIBSSH2_DEBUG-enabled buildDaniel Stenberg2021-01-271-1/+1
| | | | | | | Follow-up to 2dcc940959772a Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/2dcc940959772a652f6813fb6bd3092095a4877b#commitcomment-46420088
* asyn-thread: fix build for when getaddrinfo missingJay Satiro2021-01-271-1/+1
| | | | | | | | This is a follow-up to 8315343 which several days ago moved the resolver pointer into the async struct but did not update the code that uses it when getaddrinfo is not present. Closes https://github.com/curl/curl/pull/6536
* urldata: move 'ints' to the end of 'connectdata'Daniel Stenberg2021-01-271-15/+14
| | | | | | To optimize storage slightly. Closes #6534
* urldata: store ip version in a single byteDaniel Stenberg2021-01-273-6/+5
| | | | Closes #6534
* urldata: remove duplicate 'upkeep_interval_ms' from connectdataDaniel Stenberg2021-01-273-6/+1
| | | | | | ... and rely only on the value already set in Curl_easy. Closes #6534
* urldata: remove 'local_ip' from the connectdata structDaniel Stenberg2021-01-275-21/+34
| | | | | | | As the info is already stored in the transfer handle anyway, there's no need to carry around a duplicate buffer for the life-time of the handle. Closes #6534
* urldata: remove duplicate port number storageDaniel Stenberg2021-01-273-8/+8
| | | | | | | | ... and use 'int' for ports. We don't use 'unsigned short' since -1 is still often used internally to signify "unknown value" and 0 - 65535 are all valid port numbers. Closes #6534
* urldata: remove the duplicate 'ip_addr_str' fieldDaniel Stenberg2021-01-275-11/+4
| | | | | | ... as the numerical IP address is already stored and kept in 'primary_ip'. Closes #6534
* select: convert Curl_select() to private static functionDaniel Stenberg2021-01-272-14/+11
| | | | | | | | | | The old function should not be used anywhere anymore (the only remaining gskit use has to be fixed to instead use Curl_poll or none at all). The static function version is now called our_select() and is only built if necessary. Closes #6531
* Curl_chunker: shrink the structDaniel Stenberg2021-01-273-15/+11
| | | | | | | ... by removing a field, converting the hex index into a byte and rearranging the order. Cuts it down from 48 bytes to 32 on x86_64. Closes #6527
* curl: include the file name in --xattr/--remote-time error msgsDaniel Stenberg2021-01-272-4/+4
|
* curl: s/config->global/global/ in single_transfer()Daniel Stenberg2021-01-271-11/+11
|
* curl: move fprintf outputs to warnfDaniel Stenberg2021-01-274-47/+41
| | | | | | | | | For setting and getting time of the download. To make the outputs respect --silent etc. Reported-by: Viktor Szakats Fixes #6533 Closes #6535
* ngtcp2: Fix http3 upload stallTatsuhiro Tsujikawa2021-01-261-55/+54
| | | | Closes #6521
* ngtcp2: Fix stack buffer overflowTatsuhiro Tsujikawa2021-01-261-2/+3
| | | | Closes #6521
* warnless.h: remove the prototype for curlx_ultosiDaniel Stenberg2021-01-261-3/+1
| | | | Follow-up to 217552503ff3
* warnless: remove curlx_ultosiDaniel Stenberg2021-01-261-20/+1
| | | | | | ... not used anywhere Closes #6530
* lib: remove conn->data usesPatrick Monnerat2021-01-266-72/+77
| | | | Closes #6515
* pingpong: remove the 'conn' struct memberDaniel Stenberg2021-01-266-20/+16
| | | | | | | ... as it's superfluous now when Curl_easy is passed in and we can derive the connection from that instead and avoid the duplicate copy. Closes #6525
* hostip/proxy: remove conn->data useDaniel Stenberg2021-01-2610-40/+43
| | | | Closes #6513
* url: reduce conn->data referencesDaniel Stenberg2021-01-264-45/+47
| | | | | | ... there are a few left but let's keep them to last Closes #6512
* scripts/singleuse: add curl_easy_option*Daniel Stenberg2021-01-261-1/+4
|
* test410: fix for windowsJay Satiro2021-01-251-1/+4
| | | | | | | | | | - Pass the very long request header via file instead of command line. Prior to this change the 49k very long request header string was passed via command line and on Windows that is too long so it was truncated and the test would fail (specifically msys CI). Closes https://github.com/curl/curl/pull/6516
* libssh2: move data from connection object to transfer objectDaniel Stenberg2021-01-252-139/+149
| | | | | | | | Readdir data, filenames and attributes are strictly related to the transfer and not the connection. This also reduces the total size of the fixed connectdata struct. Closes #6519
* RELEASE-NOTES: syncedDaniel Stenberg2021-01-251-8/+39
|
* lib: remove conn->data usesPatrick Monnerat2021-01-2419-96/+99
| | | | Closes #6499
* hyper: remove the conn->data referencesDaniel Stenberg2021-01-221-5/+5
| | | | Closes #6508
* travis: build ngtcp2 --with-gnutlsDaniel Stenberg2021-01-221-1/+4
| | | | | | | ... since they disable it by default since a few days back. Closes #6506 Fixes #6493
* hostip: remove conn->data from resolver functionsDaniel Stenberg2021-01-2218-254/+242
| | | | | | | This also moves the 'async' struct from the connectdata struct into the Curl_easy struct, which seems like a better home for it. Closes #6497
* strerror: skip errnum >= 0 assertion on windowsJay Satiro2021-01-221-0/+2
| | | | | | | | | On Windows an error number may be greater than INT_MAX and negative once cast to int. The assertion is checked only in debug builds. Closes https://github.com/curl/curl/pull/6504
* doh: make Curl_doh_is_resolved survive a NULL pointerDaniel Stenberg2021-01-211-0/+2
| | | | | | | | ... if Curl_doh() returned a NULL, this function gets called anyway as in a asynch procedure. Then the doh struct pointer is NULL and signifies an OOM situation. Follow-up to 6246a1d8c6776
* wolfssh: remove conn->data referencesDaniel Stenberg2021-01-211-70/+73
| | | | | | ... and repair recent build breakage Closes #6507
* http: empty reply connection are not left intactDaniel Stenberg2021-01-211-0/+2
| | | | | | | | | ... so mark the connection as closed in this condition to prevent that verbose message to wrongly appear. Reported-by: Matt Holt Bug: https://twitter.com/mholt6/status/1352130240265375744 Closes #6503
* chunk/encoding: remove conn->data referencesDaniel Stenberg2021-01-217-104/+101
| | | | | | ... by anchoring more functions on Curl_easy instead of connectdata Closes #6498