aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
AgeCommit message (Collapse)Author
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.
2002-01-14Curl_read() now returns a negative return code if EWOULDBLOCK or similarDaniel Stenberg
2002-01-08this seems to correct the SSL reading problem introduced when switchingDaniel Stenberg
over to non-blocking sockets, but this loops very nastily. We should return back to the select() and wait there until more data arrives, not just blindly attempt again and again...
2001-12-11solaris 2.5.1 needs the sys/types.h file before the sys/socket.hDaniel Stenberg
2001-12-11failf() calls should not have newlines in the message string!Daniel Stenberg
2001-12-04Eric's #include fixes for better macos compilesDaniel Stenberg
2001-11-02failf() now only overwrites the error buffer the first time it gets calledDaniel Stenberg
for each *_perform(). It makes things a lot easier, as the first one that detects the error get to write the final error reason...
2001-10-31return type cleanupDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-09-07Added formatting sections for emacs and vimSterling Hughes
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-17modified to use the renamed kerberos functions with Curl_ prefixDaniel Stenberg
2001-08-14cleaned up some of the size_t and const messDaniel Stenberg
2001-08-06 Jonathan Hseu noticed that you couldn't get a header callback unless youDaniel Stenberg
set CURLOPT_WRITEHEADER to non-NULL, even if you didn't care about that data. This is now fixed.
2001-05-31CURLOPT_MUTE and data->bits.mute are history, removed, gone!Daniel Stenberg
2001-04-10Added new CURLOPT_HEADERFUNCTION callback for writing headers onlyDaniel Stenberg
2001-03-13failf() now respects the mute flagDaniel Stenberg
2001-03-09removed curl_read() and curl_write() - they weren't used and the publicDaniel Stenberg
"low leve" interface is dumped
2001-03-02moved the slist-functions here from FTP since they're more generic than simplyDaniel Stenberg
for FTP-stuff
2001-02-20multiple connection support initial commitDaniel 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-12-30ftpsendf() is remade to send the entire command in one write(), as someDaniel Stenberg
firewalls (like FW-1) seems to dislike split-up writes at times...