Go to file
Andrew Kurushin c35af29222 schannel: Fix blocking timeout logic
- Fix schannel_send for the case when no timeout was set.

Prior to this change schannel would error if the socket was not ready
to send data and no timeout was set.

This commit is similar to parent commit 89dc6e0 which recently made the
same change for SOCKS, for the same reason. Basically it was not well
understood that when Curl_timeleft returns 0 it is not a timeout of 0 ms
but actually means no timeout.

Fixes https://github.com/curl/curl/issues/5177
Closes https://github.com/curl/curl/pull/5221
2020-04-12 18:32:17 -04:00
.github CI/macos: convert CRLF to LF and align indentation 2020-04-10 00:59:35 +02:00
CMake copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
docs compressed.d: stress that the headers are not modified 2020-04-12 11:02:24 +02:00
include curl.h: remnove CURL_VERSION_ESNI. Never supported nor documented 2020-03-29 23:28:49 +02:00
lib schannel: Fix blocking timeout logic 2020-04-12 18:32:17 -04:00
m4 configure: remove use of -vec-report0 from CFLAGS with icc 2020-04-06 23:19:06 +02:00
packages copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
plan9 copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
projects copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
scripts release-notes.pl: detect the start of the references in cleanup mode 2020-04-11 18:47:23 +02:00
src curl: allow both --etag-compare and --etag-save with same file name 2020-04-05 01:07:52 +02:00
tests tests/server: add hidden window to gracefully handle WM_CLOSE 2020-04-12 18:38:12 +02:00
winbuild copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
.azure-pipelines.yml CI: increase Azure Pipelines timeouts due to performance issues 2020-04-02 19:27:30 +02:00
.cirrus.yml copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
.dir-locals.el copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
.gitattributes .gitattributes: make tabs in indentation a visible error 2018-12-06 20:21:17 +01:00
.gitignore scripts/completion.pl: also generate fish completion file 2019-03-02 11:31:18 +01:00
.lgtm.yml copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
.mailmap mailmap: fixup a few author names/fields 2020-03-27 12:24:49 +01:00
.travis.yml CI: add build with ngtcp2 + gnutls on Travis CI 2020-03-31 14:39:21 +02:00
acinclude.m4 build: fixed build for systems with select() in unistd.h 2020-03-31 10:59:06 +02:00
appveyor.yml appveyor: partially revert 3413a110 to keep build without proxy 2020-04-10 21:01:19 +02:00
buildconf
buildconf.bat copyrights: update all copyright notices to 2019 on files changed this year 2019-11-02 23:15:56 +01:00
CHANGES
CMakeLists.txt cmake: add CMAKE_MSVC_RUNTIME_LIBRARY 2020-03-30 16:03:27 +02:00
configure.ac configure: don't check for Security.framework when cross-compiling 2020-04-06 15:23:08 +02:00
COPYING COPYING: it's 2020! 2020-01-03 15:12:46 +01:00
curl-config.in curl-config.in: remove dependency on bc 2018-10-26 00:06:19 +02:00
GIT-INFO
libcurl.pc.in copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
MacOSX-Framework copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
Makefile.am copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
Makefile.dist build: remove the Borland specific makefiles 2018-06-02 11:23:40 +02:00
maketgz maketgz: delete .bak files, fix indentation 2018-06-15 23:28:34 +00:00
README README: mention that the docs is in docs/ 2020-01-27 13:06:45 +01:00
README.md README.md: add Azure DevOps Pipelines build status badge 2020-03-03 17:11:26 +01:00
RELEASE-NOTES RELEASE-NOTES: synced 2020-04-11 18:48:31 +02:00
SECURITY.md SECURITY.md: minor rephrase 2020-03-30 08:53:25 +02:00

curl logo

CII Best Practices Coverity passed Travis-CI Build Status AppVeyor Build Status Azure DevOps Build Status Cirrus Build Status Backers on Open Collective Sponsors on Open Collective Language Grade: C/C++ Codacy Badge Fuzzing Status

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how!

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Website

Visit the curl web site for the latest news and downloads.

Git

To download the very latest source from the Git server do this:

git clone https://github.com/curl/curl.git

(you'll get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public!

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]