aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
AgeCommit message (Collapse)Author
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.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-12-02use the HAVE_KRB4 define instead of just KRB4Daniel Stenberg
2003-11-24FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe itDaniel Stenberg
2003-10-27James Bursa's fix to prevent failf() to write outside its buffer boundaryDaniel Stenberg
2003-10-19better error output on SSL errors when receiving data - Georg Horn patchDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-08-11the new cookie functions that require 'data' passed inDaniel Stenberg
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-06-06Just moved around some logic in Curl_write() to make it easier to debug.Daniel Stenberg
2003-05-06 Kevin Delafield reported another case where we didn't correctly check forDaniel Stenberg
EAGAIN but only EWOULDBLOCK, which caused badness on HPUX. We also check for and act the same on EINTR errors as well now.
2003-05-01Use the proper Curl_ourerrno() function instead of plain errno, for betterDaniel Stenberg
portability. Also use Andy Cedilnik's compiler warning fixes.
2003-04-09the default debugfunction shows incoming headers as wellDaniel Stenberg
2003-03-11syntax errorDaniel Stenberg
2003-03-11Christophe Demory fixed the check to work better for non-blocking on HP-UXDaniel Stenberg
systems. Bug report #701749.
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2003-01-07when sending an error message to the debugfunction, we append a newline soDaniel Stenberg
that the output looks better
2002-12-29return -1 even if SSL_pending() doesn't return non-zero, as we don't reallyDaniel Stenberg
care how many bytes that is readable NOW. Philippe Raoult reported the bug in 7.10.3-pre3.
2002-12-19Fixed the usage of SSL_read() to properly return -1 if the EWOULDBLOCKDaniel Stenberg
situation occurs, which it previously didn't! This was reptoed by Evan Jordan in bug report #653022. Also, if ERROR_SYSCALL is returned from SSL_write(), include the errno number in the error string for easier error detection.
2002-11-05Lehel Bernadt's fix to prevent debug message to get sent on errors whenDaniel Stenberg
debug wasn't enabled
2002-10-08failf() now sends the text to the debug function callbackDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-08-22Markus Oberhumer improved an out-of-memory checkDaniel Stenberg
I reformatted some functions using a different indent than the rest of the file.
2002-05-04made VERBOSE output more like it used to be, HEADER_IN is thus also ignoredDaniel Stenberg
by the internal debugfunction callback
2002-04-12Jean-Philippe Barrette-LaPierre provided his patch that introducesDaniel Stenberg
CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA.
2002-04-10error code cleanup, use the new SEND/RECV errorsDaniel Stenberg
2002-04-02Clarence Gardner pointed out the not-taken-care-of return codes from SSL_readDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-03-13sendf() now deals with Curl_write() returning -1 properly, which it mightDaniel Stenberg
do if the write would've blocked
2002-02-05Kevin Roth's discovered SSL download problemDaniel Stenberg
2002-01-30Georg Horn the previous SSL_read() fix, this was actually the fix I didDaniel Stenberg
on my test machine! :-)
2002-01-30Georg Horn found yet another SSL reading problem caused by the non-blocks.Daniel Stenberg
This was a real bummer!
2002-01-18Added #include <errno.h>Daniel Stenberg
2002-01-18Andrés García patched. It now checks for EWOULDBLOCK properly on windowsDaniel Stenberg
boxes.
2002-01-16SSL writes passed back a silly length...Daniel Stenberg
2002-01-16Curl_read() and Curl_write() are both now adjusted to return properly inDaniel Stenberg
cases where EWOULDBLOCK or equivalent is returned. We must not block.