Go to file
Mike Giancola e58d9c87f7 ossl_send: SSL_write() returning 0 is an error too
We found that in specific cases if the connection is abruptly closed,
the underlying socket is listed in a close_wait state. We continue to
call the curl_multi_perform, curl_mutli_fdset etc. None of these APIs
report the socket closed / connection finished.  Since we have cases
where the multi connection is only used once, this can pose a problem
for us. I've read that if another connection was to come in, curl would
see the socket as bad and attempt to close it at that time -
unfortunately, this does not work for us.

I found that in specific situations, if SSL_write returns 0, curl did
not recognize the socket as closed (or errored out) and did not report
it to the application. I believe we need to change the code slightly, to
check if ssl_write returns 0. If so, treat it as an error - the same as
a negative return code.

For OpenSSL - the ssl_write documentation is here:
http://www.openssl.org/docs/ssl/SSL_write.html
2013-05-22 23:08:27 +02:00
CMake
docs KNOWN_BUGS: curl -OJC- fails to resume 2013-05-21 23:58:52 +02:00
include bump version 2013-04-27 23:15:35 +02:00
lib ossl_send: SSL_write() returning 0 is an error too 2013-05-22 23:08:27 +02:00
m4 configure: use XC_LIBTOOL for portability across libtool versions 2013-03-08 13:27:45 +01:00
packages build_vms.com: use existing curlbuild.h and parsing fix 2013-03-20 20:44:57 +01:00
perl
src Updated zlib version in build files. 2013-05-11 17:08:00 +02:00
tests tests: add test1394 file to the tarball 2013-05-19 12:44:44 +02:00
vs
winbuild
.gitattributes
.gitignore
acinclude.m4 CURL_CHECK_CA_BUNDLE: don't check for paths when cross-compiling 2013-04-18 23:37:56 +02:00
buildconf
buildconf.bat
CHANGES
CHANGES.0
CMakeLists.txt
configure.ac curl-config: don't output static libs when they are disabled 2013-04-16 16:07:41 +02:00
COPYING
CTestConfig.cmake
curl-config.in curl-config: don't output static libs when they are disabled 2013-04-16 16:07:41 +02:00
GIT-INFO
install-sh
libcurl.pc.in
log2changes.pl
MacOSX-Framework OS X framework: fix invalid symbolic link 2013-05-09 21:51:35 +02:00
Makefile.am
Makefile.dist
maketgz maketgz: make bzip2 creation work with Parallel BZIP2 too 2013-04-18 11:13:56 +02:00
missing
mkinstalldirs
README
RELEASE-NOTES RELEASE-NOTES: synced with ae26ee3489 2013-05-12 14:36:04 +02:00
TODO-RELEASE TODO-RELEASE: cleaned up, not really maintained lately 2013-04-08 08:32:10 +02:00

                                  _   _ ____  _
                              ___| | | |  _ \| |
                             / __| | | | |_) | |
                            | (__| |_| |  _ <| |___
                             \___|\___/|_| \_\_____|

README

  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 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. See http://curl.haxx.se/mail/

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

WEB SITE

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

        http://curl.haxx.se/

GIT

  To download the very latest source off the GIT server do this:

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

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

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.