summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version: make curl_version* thread-safe without using global contextbagder/version-threadsafeDaniel Stenberg2020-03-066-103/+100
| | | | Closes #5010
* curl_share_setopt.3: Note sharing cookies doesn't enable the engineJay Satiro2020-03-061-0/+2
| | | | | | | | | | Follow-up to d0a7ee3 which fixed a bug in 7.66.0 that caused CURL_LOCK_DATA_COOKIE to enable the easy handle's cookie engine. Bug: https://curl.haxx.se/mail/lib-2020-03/0019.html Reported-by: Felipe Gasper Closes https://github.com/curl/curl/pull/5048
* multi: skip EINTR check on wakeup socket if it was closedJay Satiro2020-03-061-2/+4
| | | | | | | | | | | | - Don't check errno on wakeup socket if sread returned 0 since sread doesn't set errno in that case. This is a follow-up to cf7760a from several days ago which fixed Curl_multi_wait to stop busy looping sread on the non-blocking wakeup socket if it was closed (ie sread returns 0). Due to a logic error it was still possible to busy loop in that case if errno == EINTR. Closes https://github.com/curl/curl/pull/5047
* transfer: set correct copyright year rangeDaniel Stenberg2020-03-061-1/+1
|
* urldata: remove the 'stream_was_rewound' connectdata struct memberDaniel Stenberg2020-03-062-6/+2
| | | | | | | ... as it is never set anywhere. Follow-up to 2f44e94ef Closes #5046
* Revert "pause: force-drain the transfer on unpause"bagder/revert-unpause-h2Daniel Stenberg2020-03-052-4/+2
| | | | | | | | | | This reverts commit fa0216b294af4c7113a9040ca65eefc7fc18ac1c (from #5000) Clearly that didn't solve the problem correctly. Reported-by: Christopher Reid Reopens #4966 Fixes #5044
* RELEASE-NOTES: syncedDaniel Stenberg2020-03-052-259/+17
| | | | and bumped curlver.h
* MANUAL: update a dict-using command lineDaniel Stenberg2020-03-051-1/+1
| | | | The 'web1913' database is now invalid, use 'gcide' instead.
* KNOWN_BUGS: configure --with-gssapi with Heimdal is ignored on macOSDaniel Stenberg2020-03-051-0/+7
| | | | Closes #3841
* polarssl: remove more references and mentionsDaniel Stenberg2020-03-0511-42/+19
| | | | | | Assisted-by: Jay Satiro Follow-up to 6357a19ff29dac04 Closes #5036
* tests: wrap ignored test failures in bracesMarc Hoersken2020-03-041-1/+7
|
* tests: align some Windows sleep defines with each otherMarc Hoersken2020-03-043-5/+5
|
* tests: try to make sleeping portable by avoiding selectMarc Hoersken2020-03-043-8/+37
| | | | | | | | select does not support just waiting on Windows: https://perldoc.perl.org/perlport.html#select Reviewed-By: Daniel Stenberg Closes #5035
* runtests.1: rephrase how to specify what tests to runDaniel Stenberg2020-03-041-16/+25
| | | | | | | Also mention the new tilde-prefixed way to ignore test results. Reviewed-By: Marc Hoersken Closes #5033
* cirrus-ci: disable the FreeBSD 13 buildsDaniel Stenberg2020-03-041-1/+1
| | | | | | | | | | FreeBSD 13.0 is apparently close to a year away from a stable release and has proven to cause intermittent builds failures recently. Assisted-by: Dan Fandrich Assisted-by: Fedor Korotkov Fixes #5028 Closes #5029
* RELEASE-NOTES: 7.69.0curl-7_69_0Daniel Stenberg2020-03-041-52/+86
|
* THANKS: from 7.69.0Daniel Stenberg2020-03-041-112/+151
| | | | Now sorted case insensitive
* ci/tests: fix escaping of testnames and disable proxy for CI APIsMarc Hoersken2020-03-032-8/+14
| | | | | Follow up to ada581f and c0d8b96 Closes #5031
* cmake: Show HTTPS-proxy in the features outputJay Satiro2020-03-031-0/+1
| | | | | | | | | | | | | | - Show HTTPS-proxy in the features output for those backends that support it: OpenSSL, GnuTLS and NSS. Prior to this change HTTPS-proxy was missing from the cmake features output even if curl was built with it. Only cmake output was affected. Both the library and tool correctly reported the feature. Bug: https://curl.haxx.se/mail/lib-2020-03/0008.html Reported-by: David Lopes Closes https://github.com/curl/curl/pull/5025
* ci/tests: Make it possible to still run but ignore failing testsMarc Hoersken2020-03-034-27/+62
| | | | | | | This enables the development of a solution for the failing tests by running them on CI while ignoring their result for the overall status. Closes #4994
* README.md: add Azure DevOps Pipelines build status badgeMarc Hoersken2020-03-031-0/+1
|
* ci/tests: Move CI test result creation above environment setupMarc Hoersken2020-03-031-10/+14
| | | | | | This avoids using our test servers as proxy to the AppVeyor API. Closes #5022
* ci/tests: Send test results to AppVeyor for status overviewMarc Hoersken2020-03-033-1/+115
| | | | Closes #5021
* Revert "sha256: Added SecureTransport implementation"Daniel Stenberg2020-03-031-70/+0
| | | | | | | | This reverts commit 4feb38deed33fed14ff7c370a6a9153c661dbb9c (from #4956) That commit broke test 1610 on macos builds without TLS. Closes #5027
* dist: include tests/azure.pm in the tarballDaniel Stenberg2020-03-031-1/+2
| | | | | Bug: https://github.com/curl/curl/commit/ada581f2cc32f48c1629b729707ac19208435b27#commitcomment-37601589 Reported-by: Marcel Raad
* configure.ac: Disable metalink if mbedTLS is specifiedSteve Holme2020-03-031-2/+2
| | | | | | | | | Follow up to cdcc9df1 and #5006. Even though I mentioned mbedTLS as being one of the backends that metalink needs to be disabled for, I seem to have included it in the list of allowed SSL/TLS backends in comnfigure.ac :( Closes #5013
* sha256: Tidy up following recent changesSteve Holme2020-03-031-20/+59
| | | | | Reviewed-by: Daniel Stenberg Closes #4956
* sha256: Added WinCrypt implementationSteve Holme2020-03-031-0/+39
|
* sha256: Added SecureTransport implementationSteve Holme2020-03-031-0/+31
|
* sha256: Added mbedtls implementationSteve Holme2020-03-031-0/+48
|
* sha256: Added GNU TLS gcrypt implementationSteve Holme2020-03-031-0/+29
|
* sha256: Added GNU TLS Nettle implementationSteve Holme2020-03-031-1/+31
|
* curl_escape.3: Add a link to curl_freeJay Satiro2020-03-021-1/+1
| | | | Ref: https://github.com/curl/curl/pull/5016#issuecomment-593628582
* curl_getenv.3: Fix the memory handling descriptionJay Satiro2020-03-021-4/+4
| | | | | | | | | | | - Tell the user to call curl_free() to free the pointer returned by curl_getenv(). Prior to this change the user was directed to call free(), but that would not work in cases where the library and application use separate C runtimes and therefore have separate heap memory management. Closes https://github.com/curl/curl/pull/5016
* md4: use init/update/final functions in Secure TransportNick Zitzmann2020-03-021-20/+8
| | | | | | | We can use CC_MD4_Init/Update/Final without having to allocate memory directly. Closes #4979
* ci/tests: some MacOS builds randomly take longer than 20minMarc Hoersken2020-03-021-2/+2
|
* multi_wait: stop loop when sread() returns zeroDaniel Stenberg2020-03-021-1/+1
| | | | | | | | | It's unclear why it would ever return zero here, but this change fixes Robert's problem and it shouldn't loop forever... Reported-by: Robert Dunaj Bug: https://curl.haxx.se/mail/archive-2020-02/0011.html Closes #5019
* http: mark POSTs with no body as "upload done" from the startDaniel Stenberg2020-03-021-0/+2
| | | | | | | | | | As we have logic that checks if we get a >= 400 reponse code back before the upload is done, which then got confused since it wasn't "done" but yet there was no data to send! Reported-by: IvanoG on github Fixes #4996 Closes #5002
* tests: disable 962, 963 and 964 on WindowsDaniel Stenberg2020-03-023-0/+3
| | | | | | These tests are also doing UTF-8 SMTP. Follow-up to df207d2dd93b9e73
* ci/tests: fine-tune Azure Pipeline timeouts with a small pufferMarc Hoersken2020-03-021-10/+20
|
* configure: bump the AC_COPYRIGHT year rangeDaniel Stenberg2020-03-021-1/+1
|
* tests: disable SMTP UTF-8 tests on WindowsSteve Holme2020-03-0214-3/+27
| | | | | Fixes #4988 Closes #4992
* formdata/mime: copyright year range updateDaniel Stenberg2020-03-023-3/+3
| | | | Due to the merge/revert cycle
* Revert "mime: latch last read callback status."Daniel Stenberg2020-03-0213-616/+12
| | | | | | | | This reverts commit 87869e38d7afdec3ef1bb4965711458b088e254f. Fixes #5014 Closes #5015 Reopens #4833
* Revert "mime: do not perform more than one read in a row"Daniel Stenberg2020-03-0215-679/+77
| | | | This reverts commit ed0f357f7d25566110d4302f33759f4ffb5a6f83.
* Revert "mime: fix the binary encoder to handle large data properly"Daniel Stenberg2020-03-026-423/+4
| | | | This reverts commit b2caaa0681f329eed317ffb6ae6927f4a539f0c1.
* altsvc: both h3 backends now speak h3-27Daniel Stenberg2020-03-022-2/+2
| | | | ... also updated the HTTP3 build description for ngtcp2 accordingly.
* mime: fix the binary encoder to handle large data properlyPatrick Monnerat2020-03-026-4/+423
| | | | | | | | | New test 666 checks this is effective. As upload buffer size is significant in this kind of tests, shorten it in similar test 652. Fixes #4860 Reported-by: RuurdBeerstra on github
* mime: do not perform more than one read in a rowPatrick Monnerat2020-03-0215-77/+679
| | | | | | | | | | | | | | | | | | | | | Input buffer filling may delay the data sending if data reads are slow. To overcome this problem, file and callback data reads do not accumulate in buffer anymore. All other data (memory data and mime framing) are considered as fast and still concatenated in buffer. As this may highly impact performance in terms of data overhead, an early end of part data check is added to spare a read call. When encoding a part's data, an encoder may require more bytes than made available by a single read. In this case, the above rule does not apply and reads are performed until the encoder is able to deliver some data. Tests 643, 644, 645, 650 and 654 have been adapted to the output data changes, with test data size reduced to avoid the boredom of long lists of 1-byte chunks in verification data. New test 664 checks mimepost using single-byte read callback with encoder. New test 665 checks the end of part data early detection. Fixes #4826 Reported-by: MrdUkk on github
* mime: latch last read callback status.Patrick Monnerat2020-03-0213-12/+616
| | | | | | | | | | | | | | In case a read callback returns a status (pause, abort, eof, error) instead of a byte count, drain the bytes read so far but remember this status for further processing. Takes care of not losing data when pausing, and properly resume a paused mime structure when requested. New tests 670-673 check unpausing cases, with easy or multi interface and mime or form api. Fixes #4813 Reported-by: MrdUkk on github Closes #4833