History log of /curl/lib/sendf.c (Results 151 – 175 of 334)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: curl-7_28_0, curl-7_27_0, curl-7_26_0, curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0
# d9f686db 26-Sep-2011 Yang Tse

remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY


# 119f4336 25-Sep-2011 Yang Tse

allow write callbacks to indicate OOM to libcurl

Allow (*curl_write_callback) write callbacks to return
CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions
in

allow write callbacks to indicate OOM to libcurl

Allow (*curl_write_callback) write callbacks to return
CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions
inside the callback itself.

show more ...


Revision tags: curl-7_22_0
# a5021071 05-Sep-2011 Yang Tse

fix bool variables checking and assignment


# 0fd2bf37 25-Aug-2011 Daniel Stenberg

Curl_read_plain: indent code


# f1586cb4 26-Jul-2011 Yang Tse

stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h


# ef217610 24-Jul-2011 Yang Tse

errno.h inclusion conditionally done in setup_once.h


Revision tags: curl-7_21_7
# d30ddd99 21-May-2011 Yang Tse

compiler warning: fix

Fix compiler warning: enumerated type mixed with another type


# 9c629e53 05-May-2011 Daniel Stenberg

RTSP: cleanups

Made several functions static

Made one function defined to nothing when RTSP is disabled to avoid
the #ifdefs in code.

Removed explicit rtsp.h includes


Revision tags: curl-7_21_6
# b903186f 20-Apr-2011 Daniel Stenberg

source cleanup: unify look, style and indent levels

By the use of a the new lib/checksrc.pl script that checks that our
basic source style rules are followed.


# 1702a2c0 19-Apr-2011 Fabian Keil

Fix a couple of spelling errors in lib/

Found with codespell.


# c828646f 19-Apr-2011 Daniel Stenberg

CURL_DOES_CONVERSIONS: cleanup

Massively reduce #ifdefs all over (23 #ifdef lines less so far)
Moved conversion-specific code to non-ascii.c


Revision tags: curl-7_21_5
# 13b64d75 14-Mar-2011 Daniel Stenberg

protocols: use CURLPROTO_ internally

The PROT_* set of internal defines for the protocols is no longer
used. We now use the same bits internally as we have defined in the
public head

protocols: use CURLPROTO_ internally

The PROT_* set of internal defines for the protocols is no longer
used. We now use the same bits internally as we have defined in the
public header using the CURLPROTO_ prefix. This is for simplicity and
because the PROT_* prefix was already used duplicated internally for a
set of KRB4 values.

The PROTOPT_* defines were moved up to just below the struct definition
within which they are used.

show more ...


# 8831000b 14-Mar-2011 Daniel Stenberg

protocol handler: added flags field

The protocol handler struct got a 'flags' field for special information
and characteristics of the given protocol.

This now enables us to mov

protocol handler: added flags field

The protocol handler struct got a 'flags' field for special information
and characteristics of the given protocol.

This now enables us to move away central protocol information such as
CLOSEACTION and DUALCHANNEL from single defines in a central place, out
to each protocol's definition. It also made us stop abusing the protocol
field for other info than the protocol, and we could start cleaning up
other protocol-specific things by adding flags bits to set in the
handler struct.

The "protocol" field connectdata struct was removed as well and the code
now refers directly to the conn->handler->protocol field instead. To
make things work properly, the code now always store a conn->given
pointer that points out the original handler struct so that the code can
learn details from the original protocol even if conn->handler is
modified along the way - for example when switching to go over a HTTP
proxy.

show more ...


Revision tags: curl-7_21_4, curl-7_21_3
# c2bfe600 05-Dec-2010 Daniel Stenberg

Curl_send/recv_plain: return errno on failure

When send() and recv() fail, we now store the errno value to allow the
app to access it.

Bug: http://curl.haxx.se/bug/view.cgi?id=3

Curl_send/recv_plain: return errno on failure

When send() and recv() fail, we now store the errno value to allow the
app to access it.

Bug: http://curl.haxx.se/bug/view.cgi?id=3128121
Reported by: Yuri

show more ...


Revision tags: curl-7_21_2, curl-7_21_1
# 1b15b31c 18-Jun-2010 Daniel Stenberg

sendrecv: treat all negative values from send/recv as errors

For example the libssh2 based functions return other negative
values than -1 to signal errors and it is important that we cat

sendrecv: treat all negative values from send/recv as errors

For example the libssh2 based functions return other negative
values than -1 to signal errors and it is important that we catch
them properly. Right before this, various failures from libssh2
were treated as negative download amounts which caused havoc.

show more ...


Revision tags: curl-7_21_0
# bc8fc980 11-May-2010 Howard Chu

sendrecv: make them two pairs of send/recv to properly deal with FTPS

FTP(S) use two connections that can be set to different recv and
send functions independently, so by introducing rec

sendrecv: make them two pairs of send/recv to properly deal with FTPS

FTP(S) use two connections that can be set to different recv and
send functions independently, so by introducing recv+send pairs
in the same manner we already have sockets/connections we can
work with FTPS fine.

This commit fixes the FTPS regression introduced in change d64bd82.

show more ...


# d64bd82b 07-May-2010 Howard Chu

sendrecv: split the I/O handling into private handler

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

sendrecv: split the I/O handling into private handler

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.

show more ...


Revision tags: curl-7_20_1
# 10977f57 07-Apr-2010 Kamil Dudka

qssl: reflect recent code changes in SSL interface

Reported by Guenter Knauf.


# ff871113 04-Apr-2010 Kamil Dudka

refactorize interface of Curl_ssl_recv/Curl_ssl_send


# 49f3160d 01-Apr-2010 Daniel Stenberg

fix SFTP download hang

Matt Wixson found and fixed a bug in the SCP/SFTP area where the
code treated a 0 return code from libssh2 to be the same as
EAGAIN while in reality it isn't.

fix SFTP download hang

Matt Wixson found and fixed a bug in the SCP/SFTP area where the
code treated a 0 return code from libssh2 to be the same as
EAGAIN while in reality it isn't. The problem caused a hang in
SFTP transfers from a MessageWay server.

show more ...


# 2309b4e3 24-Mar-2010 Daniel Stenberg

remove the CVSish $Id$ lines


# 19ca0c0f 19-Mar-2010 Kamil Dudka

- Improved Curl_read() to not ignore the error returned from Curl_ssl_recv().


Revision tags: curl-7_20_0
# 7aef172a 04-Feb-2010 Yang Tse

fix printf-style format strings


# d1717e7c 02-Feb-2010 Yang Tse

Fix compiler warning: conditional expression is constant


# 33ce0ec1 22-Jan-2010 Daniel Stenberg

wrap long lines and do some indent policing


12345678910>>...14