summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* TODO: remove 'c-ares deviates on http://1346569778'Daniel Stenberg2021-08-121-13/+0
| | | | Fixed since 56a037cc0ad1b2 (7.77.0)
* BINDINGS.md: update links to use https where availableColin O'Dell2021-08-121-4/+4
| | | | Closes #7558
* asyn-ares.c: move all version number checks to the topDaniel Stenberg2021-08-111-10/+29
| | | | ... and use #ifdef [feature] in the code as per our guidelines.
* ares: use ares_getaddrinfo()Daniel Stenberg2021-08-111-2/+115
| | | | | | | | | | | | | ares_getaddrinfo() is the getaddrinfo() cloned provided by c-ares, introduced in version 1.16.0. With older c-ares versions, curl invokes ares_gethostbyname() twice - once for IPv4 and once for IPv6 to resolve both addresses, and then combines the returned results. Reported-by: jjandesmet Fixes #7364 Closes #7552
* ngtcp2: utilize crypto API functions to simplifyTatsuhiro Tsujikawa2021-08-101-57/+11
| | | | Closes #7551
* ngtcp2: reset the oustanding send buffer again when drainedmegatronking2021-08-101-0/+6
| | | | Closes #7538
* progress: fix a compile warning on some systemsMichael Kaufmann2021-08-101-1/+1
| | | | | | | lib/progress.c:380:40: warning: conversion to 'long double' from 'curl_off_t {aka long long int}' may alter its value [-Wconversion] Closes #7549
* RELEASE-NOTES: syncedDaniel Stenberg2021-08-101-8/+26
|
* http: consider cookies over localhost to be secureDaniel Stenberg2021-08-104-88/+154
| | | | | | | | | Updated test31. Added test 392 to verify secure cookies used for http://localhost Reviewed-by: Daniel Gustafsson Fixes #6733 Closes #7263
* TODO: erase secrets from heap/stack after useDaniel Stenberg2021-08-101-0/+10
| | | | Closes #7268
* hostip: Make Curl_ipv6works function independent of getaddrinfoJay Satiro2021-08-103-32/+36
| | | | | | | | | | | | | | | | | | | | | - Do not assume IPv6 is not working when getaddrinfo is not present. The check to see if IPv6 actually works is now independent of whether there is any resolver that can potentially resolve a hostname to IPv6. Prior to this change if getaddrinfo() was not found at compile time then Curl_ipv6works() would be defined as a macro that returns FALSE. When getaddrinfo is not found then libcurl is built with CURLRES_IPV4 defined instead of CURLRES_IPV6, meaning that it cannot do IPv6 lookups in the traditional way. With this commit if libcurl is built with IPv6 support (ENABLE_IPV6) but without getaddrinfo (CURLRES_IPV6), and the IPv6 stack is actually working, then it is possible for libcurl to resolve IPv6 addresses by using DoH. Ref: https://github.com/curl/curl/issues/7483#issuecomment-890765378 Closes https://github.com/curl/curl/pull/7529
* test1565: fix windows build errorsJay Satiro2021-08-101-4/+7
| | | | | | | | | | | | | - Use our wait_ms() instead of sleep() since Windows doesn't have the latter. - Use a separate variable to keep track of whether the pthread_t thread id is valid. On Windows pthread_t is not an integer type. pthread offers no macro for invalid pthread_t thread id, so validity is kept track of separately. Closes https://github.com/curl/curl/pull/7527
* winbuild/README.md: clarify GEN_PDB optionJeremy Falcon2021-08-091-1/+2
| | | | | | - Document that GEN_PDB option creates an external database. Ref: https://github.com/curl/curl/issues/7502
* ngtcp2: replace deprecated functions with nghttp3_conn_shutdown_stream_readTatsuhiro Tsujikawa2021-08-091-2/+2
| | | | Closes #7546
* ngtcp2: rework the return value handling of ngtcp2_conn_writev_streamTatsuhiro Tsujikawa2021-08-091-6/+14
| | | | | | | Rework the return value handling of ngtcp2_conn_writev_stream and treat NGTCP2_ERR_STREAM_SHUT_WR separately. Closes #7546
* configure: error out if both ngtcp2 and quiche are specifiedDaniel Stenberg2021-08-091-0/+5
| | | | | | Reported-by: Vincent Grande See #7539 Closes #7545
* easy: use a custom implementation of wcsdup on WindowsJeff Mears2021-08-093-1/+30
| | | | | | | ... so that malloc/free overrides from curl_global_init are used for wcsdup correctly. Closes #7540
* zuul: add an mbedtls3 CI jobDaniel Stenberg2021-08-092-0/+27
| | | | Closes #7544
* mbedTLS: initial 3.0.0 supportBenau2021-08-095-21/+77
| | | | Closes #7428
* RELEASE-NOTES: syncedDaniel Stenberg2021-08-081-6/+26
|
* configure.ac: revert bad nghttp2 library detection improvementsDaniel Stenberg2021-08-081-2/+1
| | | | | | | | | | | | This reverts commit b4b34db65f9f8, 673753344c5f and 29c7cf79e8b. The logic is now back to assuming that the nghttp2 lib is called nghttp2 and nothing else. Reported-by: Rui Pinheiro Reported-by: Alex Crichton Fixes #7514 Closes #7515
* happy-eyeballs-timeout-ms.d: polish the wordingDaniel Stenberg2021-08-081-5/+5
| | | | | | Reported-by: Josh Soref Fixes #7433 Closes #7542
* mbedtls_threadlock: fix unused variable warningmodbw2021-08-081-18/+7
| | | | Closes #7393
* ngtcp2: compile with the latest ngtcp2 and nghttp3Tatsuhiro Tsujikawa2021-08-081-6/+22
| | | | Closes #7541
* CI/cirrus: reduce compile time with increased parallismMarc Hoersken2021-07-311-0/+1
| | | | | | | Cirrus CI VMs have 2 CPUs, let's use them also for Windows builds. Reviewed-by: Daniel Stenberg Closes #7505
* tool/tests: fix potential year 2038 issuesBin Lan2021-07-303-6/+6
| | | | | | | | | | The length of 'long' in a 32-bit system is 32 bits, which cannot be used to save timestamps after 2038. Most operating systems have extended time_t to 64 bits. Remove the castings to long. Closes #7466
* compressed.d: it's a request, not an orderDaniel Stenberg2021-07-301-1/+2
| | | | | | | | | Clarified Reported-by: Dan Jacobson Reviewed-by: Daniel Gustafsson Fixes #7516 Closes #7517
* tests: make three tests pass until 2037Bernhard M. Wiedemann2021-07-303-6/+7
| | | | | | after 2038 something in test1915 fails on 32-bit OSes Closes #7512
* connect: remove superfluous conditionalDaniel Gustafsson2021-07-301-6/+4
| | | | | | | | | | Commit dbd16c3e2 cleaned up the logic for traversing the addrinfos, but the move left a conditional on ai which no longer is needed as the while loop reevaluation will cover it. Closes #7511 Reviewed-by: Carlo Marcelo Arenas Belón Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* RELEASE-NOTES: syncedDaniel Stenberg2021-07-292-10/+32
| | | | and bump curlver to 7.79.0 for next release
* tests/*server.py: remove pidfile on server terminationMarc Hoersken2021-07-293-0/+9
| | | | | | | Avoid pidfile leaking/laying around after server already exited. Reviewed-by: Daniel Stenberg Closes #7506
* tool_main: fix typo in commentDaniel Gustafsson2021-07-271-1/+1
| | | | The referred to library is NSPR, so fix the switched around characters.
* bearssl: support CURLOPT_CAINFO_BLOBAleksandr Krotov2021-07-282-18/+68
| | | | Closes #7468
* curl.1: mention "global" flagsDaniel Stenberg2021-07-2812-0/+36
| | | | | | | | | | | Mention options that are "global". A global command line option is one that doesn't get reset at --next uses and therefore don't need to be used again. Reported-by: Josh Soref Fixes #7457 Closes #7510
* CURLOPT_DOH_URL.3: CURLOPT_OPENSOCKETFUNCTION is not inheritedDaniel Stenberg2021-07-281-6/+9
| | | | | | Reported-by: Daniel Woelfel Fixes #7441 Closes #7509
* KNOWN_BUGS: add more HTTP/3 problemsDaniel Stenberg2021-07-281-0/+15
| | | | | | Closes #7351 Closes #7339 Closes #7125
* CI/azure: reduce compile time with increased parallismMarc Hoersken2021-07-271-0/+4
| | | | | | Azure Pipelines CI VMs have 2 CPUs, let's use them. Closes #7489
* docs: fix grammarJosh Soref2021-07-274-10/+13
| | | | | | | Fixes https://github.com/curl/curl/issues/7444 Fixes https://github.com/curl/curl/issues/7451 Fixes https://github.com/curl/curl/issues/7465 Closes https://github.com/curl/curl/pull/7495
* mail-rcpt.d: fix grammarJay Satiro2021-07-271-4/+1
| | | | | | | | | | Remove confusing sentence that says to specify an e-mail address for mail transfer, since that's implied. Reported-by: Josh Soref Fixes https://github.com/curl/curl/issues/7452 Closes https://github.com/curl/curl/pull/7495
* c-hyper: remove the hyper_executor_poll() loop from Curl_httpDaniel Stenberg2021-07-271-25/+4
| | | | | | | | | 1. it's superfluous 2. it didn't work identically to the Curl_hyper_stream one which could cause problems like #7486 Pointed-out-by: David Cook Closes #7499
* curl-openssl.m4: check lib64 for the pkg-config fileDaniel Stenberg2021-07-262-3/+16
| | | | | | | | OpenSSL recently started putting the libs in $prefix/lib64 on 'make install', so we check that directory for pkg-config data if the 'lib' check fails. Closes #7503
* CURLOPT_SSL_CTX_*.3: tidy up the exampleDaniel Stenberg2021-07-262-18/+92
| | | | | | | Use the proper code style. Don't store return codes that aren't read. Copy the same example into CURLOPT_SSL_CTX_FUNCTION.3 as well. Closes #7500
* example/cookie_interface: fix scan-build printf warningDaniel Stenberg2021-07-261-3/+3
| | | | | | | Follow-up to 4b79c4fb565 Fixes #7497 Closes #7498
* limit-rate.d: clarify base unitJosh Soref2021-07-261-1/+2
| | | | | Fixes #7439 Closes #7494
* examples/cookie_interface: avoid printfing time_t directlyCarlo Marcelo Arenas Belón2021-07-261-2/+2
| | | | | | | | | | | | | | | time_t representation is undefined and varies on bitsize and signedness, and as of C11 could be even non integer. instead of casting to unsigned long (which would truncate in systems with a 32bit long after 2106) use difftime to get the elapsed time as a double and print that (without decimals) instead. alternatively a cast to curl_off_t and its corresponding print formatting could have been used (at least in POSIX) but portability and curl agnostic code was prioritized. Closes #7490
* tests/servers: remove obsolete pid variableMarc Hoersken2021-07-253-12/+3
| | | | | | | Variable is not used since pidfile handling moved to util.[ch] Reviewed-by: Jay Satiro Closes #7482
* tests/servers: use our platform-aware pid for server verificationMarc Hoersken2021-07-255-12/+22
| | | | | | | | | | | The pid used for server verification is later stored as pid2 in the hash of running test servers and therefore used for shutdown. The pid used for shutdown must be the platform-aware (Win32) pid to avoid leaking test servers while running them using Cygwin/msys. Reviewed-by: Jay Satiro Closes #7481
* tests/runtests.pl: cleanup copy&paste mistakes and unused codeMarc Hoersken2021-07-251-7/+4
| | | | | Reviewed-by: Jay Satiro Part of #7481
* RELEASE-NOTES: syncedDaniel Stenberg2021-07-252-380/+18
| | | | bumped to 7.78.1 for next release
* http_proxy: clear 'sending' when the outgoing request is sentDaniel Stenberg2021-07-251-0/+1
| | | | | | | | | | | | | ... so that Curl_connect_getsock() will know how to wait for the socket to become readable and not writable after the entire CONNECT request has been issued. Regression added in 7.77.0 Reported-by: zloi-user on github Assisted-by: Jay Satiro Fixes #7155 Closes #7484