aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
AgeCommit message (Collapse)Author
2007-02-04Suppress warning "'nread' might be used uninitialized in this function".Gisle Vanem
2007-02-02prefer using the (upcoming) non-blocking libssh2 APIDaniel Stenberg
2007-01-27Compiler warning fixYang Tse
2007-01-17Supress "comparison between signed and unsigned" warning.Gisle Vanem
2007-01-16restore previous addition to the amount of data that is returnedDaniel Stenberg
2007-01-14- David McCreedy provided libcurl changes for doing HTTP communication onDaniel Stenberg
non-ASCII platforms. It does add some complexity, most notably with more #ifdefs, but I want to see this supported added and I can't see how we can add it without the extra stuff added.
2007-01-03- Matt Witherspoon fixed the flaw which made libcurl 7.16.0 always storeDaniel Stenberg
downloaded data in two buffers, just to be able to deal with a special HTTP pipelining case. That is now only activated for pipelined transfers. In Matt's case, it showed as a considerable performance difference,
2006-12-05Stefan Krause pointed out a compiler warning with a picky MSCV compiler whenDaniel Stenberg
passing a curl_off_t argument to the Curl_read_rewind() function which takes an size_t argument. Curl_read_rewind() also had debug code left in it and it was put in a different source file with no good reason when only used from one single spot.
2006-11-24James Housley did lots of work and introduced SFTP downloads.Daniel Stenberg
2006-11-11cleaned up Curl_write() and the sub functions it uses for various protocols.Daniel Stenberg
They all now return ssize_t to Curl_write(). Unfortunately, Curl_read() is in a sorrier state but it too would benefit from a similar cleanup.
2006-11-06add TODO noteYang Tse
2006-11-02James Housley brought support for SCP transfersDaniel Stenberg
2006-10-23Ravi Pratap provided a major update with pipelining fixes. We also no longerDaniel Stenberg
re-use connections (for pipelining) before the name resolving is done.
2006-10-21Compiler warning fixYang Tse
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse
to verify winsock API availability.
2006-10-17Explicit typecast for Curl_debug() size argumentYang Tse
2006-09-30Support for FTP third party transfers is now droppedDaniel Stenberg
2006-09-12Compiler warning fixYang Tse
2006-09-07Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg
cache within the multi handle.
2006-08-19Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPEDaniel Stenberg
command on subsequent requests on a re-used connection unless it has to.
2006-07-12Use platform's native types for recv() and send() arguments.Yang Tse
2006-05-05additional renames of Curl_ourerrno => Curl_sockerrnoDaniel Stenberg
2006-05-04Roland Blom filed bug report #1481217Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
2006-04-26David McCreedy brought line end conversions when doing FTP ASCIIDaniel Stenberg
transfers. They are done on non-windows systems and translate CRLF to LF.
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
2005-04-07GnuTLS support added. There's now a "generic" SSL layer that we use all overDaniel Stenberg
internally, with code provided by sslgen.c. All SSL-layer-specific code is then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS). As far as possible, internals should not need to know what SSL layer that is in use. Building with GnuTLS currently makes two test cases fail. TODO.gnutls contains a few known outstanding issues for the GnuTLS support. GnuTLS support is enabled with configure --with-gnutls
2005-03-14Removed security.h since it shadows an include file mingw needs when buildingDaniel Stenberg
for SSPI support. The contents of the file has been moved into the krb4.h file.
2005-01-21FTP third transfer support overhaul. See CHANGES for details.Daniel Stenberg
2004-12-21oops, variables first then codeDaniel Stenberg
2004-12-21Prevent failf() from using the va_list variable more than once.Daniel Stenberg
See bug report #1088962 and Single Unix Specification: http://www.opengroup.org/onlinepubs/007908799/xsh/vfprintf.html
2004-12-06Fixed so that the final error message is sent to the verbose info "stream"Daniel Stenberg
even if no errorbuffer is set.
2004-10-12#include "strerror.h" to get the strerror protoDaniel Stenberg
2004-10-12add proper error message when send() failsDaniel Stenberg
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-07-29additional typecasts to please MIPSPro on 64bit IRIXDaniel Stenberg
2004-06-18Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on theDaniel Stenberg
mailing list.
2004-06-07prevent compiler warning with picky compilersDaniel Stenberg
2004-06-07When sending info about which host that sends what, include proper directionDaniel Stenberg
to/from, based on a suggestion from Alexander Krasnostavsky
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-10curl_slist_append() fixed to clear up properly if a memory function failsDaniel Stenberg
2004-05-05ERR_error_string() returns an unsigned long so we should use one of thoseDaniel Stenberg
for the return code
2004-04-21Fix the "lingering close" problem when re-using a connection, as test caseDaniel Stenberg
160 shows. We got no data and we attempted to re-use a connection. This might happen if the connection was left alive when we were done using it before, but that was closed when we wanted to read from it again. Bad luck. Retry the same request on a fresh connect! Deleted the sockerror variable again, it serves no purpose anymore.
2004-03-10Minor edit to avoid an unreachable break and to remove the extra {} bodyDaniel Stenberg
within the switch.
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-08Commented the Curl_read() arguments.Daniel Stenberg
2004-02-26Clear up int/long/size_t/ssize_t usage a bitDaniel Stenberg
2004-02-02clear the sockerror if no error was returnedDaniel Stenberg
2004-01-30Somewhat crude attempt at fixing the test 91 failures. I commit this nowDaniel Stenberg
so that the automatic testing hosts will test these changes over the weekend.
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.