summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* build: fix compiler warningsMAntoniak2021-08-143-8/+10
| | | | | | | | | | | | | | | | For when CURL_DISABLE_VERBOSE_STRINGS and DEBUGBUILD flags are both active. - socks.c : warning C4100: 'lineno': unreferenced formal parameter (co-authored by Daniel Stenberg) - mbedtls.c: warning C4189: 'port': local variable is initialized but not referenced - schannel.c: warning C4189: 'hostname': local variable is initialized but not referenced Cloes #7528
* CODE_STYLE-md: fix bold font stylei-ky2021-08-141-1/+1
| | | | | | | | Markdown gets confused with abundance of asterisks, so use underscores instead. Reviewed-by: Daniel Gustafsson Closes #7569
* CODE_STYLE-md: add missing commai-ky2021-08-141-1/+1
| | | | | Reviewed-by: Daniel Gustafsson Closes #7570
* examples/ephiperfifo.c: simplify signal handlerDaniel Gustafsson2021-08-131-5/+3
| | | | | | | | | | | | | The signal handler registered for SIGINT is only handling SIGINT so there isn't much need for inspecting the signo. While there, rename the handler to be more specific. g_should_exit should really be of sig_atomic_t type, but relying on autoconf in the examples seems like a bad idea so keep that for now. Reviewed-by: Daniel Stenberg Closes #7310
* c-hyper: initial step for 100-continue supportDaniel Stenberg2021-08-133-4/+57
| | | | | | Enabled test 154 Closes #7568
* vtls: fix typo in schannel_verify.cIkko Ashimine2021-08-131-1/+1
| | | | | | occurence -> occurrence Closes #7566
* curl_url_get.3: clarify about path and queryEmil Engler2021-08-131-0/+9
| | | | | | | The current man-page lacks some details regarding the obtained path and query. Closes #7563
* c-hyper: fix header value passed to debug callbackDaniel Stenberg2021-08-131-1/+1
| | | | Closes #7567
* cleanup: URL updatesViktor Szakats2021-08-123-3/+4
| | | | | | | | | | - replace broken URL with the one it was most probably pointing to when added (lib/tftp.c) - replace broken URL with archive.org link (lib/curl_ntlm_wb.c) - delete unnecessary protocol designator from archive.org URL (docs/BINDINGS.md) Closes #7562
* DEPRECATE.md: linkify curl-library mailing listApril King2021-08-121-3/+4
| | | | Closes #7561
* output.d: add method to suppress response bodiesBarry Pollard2021-08-121-0/+8
| | | | Closes #7560
* 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