aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.h
AgeCommit message (Collapse)Author
2010-05-07sendrecv: split the I/O handling into private handlerHoward Chu
Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-01-25fix compiler warningYang Tse
2010-01-21Chris Conroy brought support for RTSP transfers, and with it comes 8(!) newDaniel Stenberg
libcurl options for controlling what to get and how to receive posssibly interleaved RTP data. Initial commit.
2009-12-11Removed function prototype without implementationYang Tse
2008-09-29made Curl_read_plain() return an 'int' instead of CURLcode since it actuallyDaniel Stenberg
returns -1 in EAGAIN cases and that's not valid CURLcode
2008-09-22- Made the SOCKS code use the new Curl_read_plain() function to fix the bugDaniel Stenberg
Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html - recv() errors other than those equal to EAGAIN now cause proper CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now disabled it until we can figure out another way to exercise that logic.
2008-06-20- Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxyDaniel Stenberg
crashed libcurl. This is now addressed by making sure we use "plain send" internally when doing the socks handshake instead of the Curl_write() function which is designed to use the "target" protocol. That's then SCP or SFTP in this case. I also took the opportunity and cleaned up some ssh- related #ifdefs in the code for readability.
2008-05-09- Make Curl_write and it's callees accept a const pointer, in preparationMichal Marek
of tetetest's patch for curl_easy_send()
2007-10-29Reverted the const change--what was I thinking?Dan Fandrich
2007-10-29Made some pointers constDan Fandrich
2007-03-27Platforms that lack autotools support should define HAVE_VARIADIC_MACROS_C99Yang Tse
and/or HAVE_VARIADIC_MACROS_GCC for specific compiler versions that support variadic macros with C99 style and/or old gcc style in their specific config.h file. If previous definitions are not done, even when aplicable, and --disable-verbose is used, the fallback (void) method will be used to define infof, avoiding the inclusion of unwanted strings in the resulting library/executable.
2007-03-23fix yet another leftover in previous commitYang Tse
2007-03-23fix leftover in previous commitYang Tse
2007-03-23fix compiler warning: empty body in an if/else-statementYang Tse
2007-03-22Use C99-style variadic macros when available.Dan Fandrich
2007-03-21reverted back to previous version => ↵Yang Tse
http://curl.haxx.se/mail/lib-2007-03/0258.html
2007-03-21avoid the use of variadic macros for greater portabilityYang Tse
2006-10-27Update copyright year, since the file has been modifiedYang 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.
2005-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
2005-01-21FTP third transfer support overhaul. See CHANGES for details.Daniel Stenberg
2004-11-13Dan fixed the CURL_DISABLE_VERBOSE_STRINGS stuff for older gcc versions sinceDaniel Stenberg
they don't support C99 varargs macros.
2004-11-11Dan Fandrich added --disable-verboseDaniel Stenberg
2004-09-30killed trailing whitespaceDaniel Stenberg
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-03-10curl_socket_t mistakes cleanupDaniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-12-10send_buffer is no more hereDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-04-12Jean-Philippe Barrette-LaPierre provided his patch that introducesDaniel Stenberg
CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA.
2002-03-19copyright string (year) updateDaniel Stenberg
2002-01-16Curl_write's 5th argument now is signedDaniel Stenberg
2002-01-14Curl_read() now returns a negative return code if EWOULDBLOCK or similarDaniel Stenberg
2001-10-31Curl_sendf now returns a CURLcodeDaniel Stenberg
2001-08-30Major rename and redesign of the internal "backbone" structs. Details willDaniel Stenberg
be posted in a minute to the libcurl list.
2001-08-14size_t and constDaniel Stenberg
2001-01-31curl_read() and Curl_read() now have ssize_t in the last argumentDaniel Stenberg
2001-01-25sendf is now only Curl_sendfDaniel Stenberg
Curl_write() and Curl_read() are here
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2001-01-03dual-license fixDaniel Stenberg
2000-11-22client_write() proto and defines addedDaniel Stenberg
2000-10-03introduced the new add_buffer() concept that makes the HTTP request to getDaniel Stenberg
sent in only one shot
2000-09-21adjusted to support krb4Daniel Stenberg
2000-08-24hostname and large file support addedDaniel Stenberg
2000-06-20haxx.nu => haxx.seDaniel Stenberg
1999-12-29Initial revisionDaniel Stenberg