aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-15Ates Goral identified a problem in http.c:add_buffer_send() when a debugDaniel Stenberg
callback was used, as it could wrongly pass on a bad size for the outgoing HTTP header. The bad size would be a very large value as it was a wrapped size_t content. This happened when the whole HTTP request failed to get sent in one single send. http://curl.haxx.se/mail/lib-2007-11/0165.html
2007-11-15removed unnecessary check from add_buffer_send() that only was made withinDaniel Stenberg
#ifdef CURL_DOES_CONVERSIONS anyway! I turned it into a DEBUGASSERT() instead.
2007-11-15Michal Marek fixed the test suite to better deal with the case when the HTTPDaniel Stenberg
ipv6 server can't run.
2007-11-15Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() intoDaniel Stenberg
do_init() and do_complete() which now are called first and last in the DO function. It simplified the flow in multi.c and the functions got more sensible names!
2007-11-15Needed now that in6_addr is referenced in ares.hYang Tse
2007-11-15Replace isupper with our uppercase macro versionYang Tse
2007-11-15Replace isgraph with our uppercase macro versionYang Tse
2007-11-15Make the Transfer() function return earlier without doing any initializationsDaniel Stenberg
for the cases where there's nothing to do in here, like for SFTP directory listings that already is complete when this function gets called. The init stuff clears byte counters which isn't really desired.
2007-11-15When looking up in DNS and then in the hosts file, return the error code ↵Steinar H. Gunderson
from DNS if both fail, instead of returning the error code from the hosts file, as today. Patch from the Google tree.
2007-11-15Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. ↵Steinar H. Gunderson
Patch from the Google tree.
2007-11-14use the existing variable insteadDaniel Stenberg
2007-11-14Fix how TFTP connections are treated when re-used, if the SessionHandle hasDaniel Stenberg
been used for other protocols in between. I found this when test 2004 started to fail for me!
2007-11-14Fix a variable potential wrapping in add_buffer() when using absolutelyYang Tse
huge send buffer sizes
2007-11-12Fixed a remaining problem with doing SFTP directory listings on a re-usedDaniel Stenberg
persistent connection. Mentioned by Immanuel Gregoire on the mailing list.
2007-11-12comment languageDaniel Stenberg
2007-11-12Bug report #1830637 (http://curl.haxx.se/bug/view.cgi?id=1830637), which wasDaniel Stenberg
forwarded from the Gentoo bug tracker by Daniel Black and was originally submitted by Robin Johnson, pointed out that libcurl would do bad memory references when it failed and bailed out before the handler thing was setup. My fix is not done like the provided patch does it, but instead I make sure that there's never any chance for a NULL pointer in that struct member.
2007-11-12oops, fixed build when CURL_LIBSSH2_DEBUG is definedDaniel Stenberg
2007-11-11new ruby binding, curl-multi version 0.1Daniel Stenberg
2007-11-10Some versions of winsock2.h have pollfd struct and constantsYang Tse
2007-11-08Fix compiler warning: integral size mismatch in argumentYang Tse
2007-11-08Define WIN32 when build target is Win32 API.Yang Tse
This also defines it for WinCE even though it is a subset of WIN32.
2007-11-08Fix compiler warning: may be used uninitializedYang Tse
2007-11-08Fix commentYang Tse
2007-11-08spell!Daniel Stenberg
2007-11-08Bug report #1823487 (http://curl.haxx.se/bug/view.cgi?id=1823487) pointedDaniel Stenberg
out that SFTP requests didn't use persistent connections. Neither did SCP ones. I gave the SSH code a good beating and now both SCP and SFTP should use persistent connections fine. I also did a bunch for indent changes as well as a bug fix for the "keyboard interactive" auth.
2007-11-08The only libraries actually needed for sample programs adig andYang Tse
ahost are ws2_32.lib and advapi32.lib
2007-11-07MSVC versions prior to VS2005 do not complain about portable C functionsYang Tse
2007-11-07if () => if()Daniel Stenberg
while () => while() and some other minor re-indentings
2007-11-07Improved telnet support by drastically reducing the number of writeDan Fandrich
callbacks needed to pass a buffer to the user. Instead one per byte it is now as little as one per segment.
2007-11-07Add a call to curl_global_cleanup to show how to do a proper shutdown.Dan Fandrich
2007-11-06Bug report #1824894 (http://curl.haxx.se/bug/view.cgi?id=1824894) pointedYang Tse
out a problem in curl.h when building C++ apps with MSVC. To fix it, the inclusion of header files in curl.h is moved outside of the C++ extern "C" linkage block.
2007-11-06Added prototype for _strtoi64().Gisle Vanem
2007-11-06Constified from arguments.Gisle Vanem
2007-11-05Sort the directory listing because the server doesn't always do it.Dan Fandrich
2007-11-05Added some keywordsDan Fandrich
2007-11-05tclcurl and a mirror recount when bad ones have been cut outDaniel Stenberg
2007-11-05Andres Garcia made it build and run on windowsDaniel Stenberg
2007-11-05removed space after if and while before the parenthesis for better source codeDaniel Stenberg
consistency
2007-11-05I check the code right now and while() and if() are in majority over while ()Daniel Stenberg
and if () so the rule is from now on => no space before the parenthesis.
2007-11-05Move connection-oriented variables from the SessionHandle struct to theDaniel Stenberg
connectdata struct. This will in theory enable us to do persistent connections with SCP+SFTP, but currently the state machine always (and wrongly) cleanup everything in the 'done' action instead of in 'disconnect'. Also did a bunch of indent fixes, if () => if() and a few other source cleanups like added comments etc.
2007-11-03make sure the code deals with failures on the DO_MORE state properlyDaniel Stenberg
2007-11-02avoid setting up a transfer when the state machine failed previouslyDaniel Stenberg
2007-11-01Toby Peterson patched a memory problem in the command line tool thatDaniel Stenberg
happened when a user had a home dir as an empty string. curl would then do free() on a wrong area.
2007-11-01minor re-indentDaniel Stenberg
2007-11-01Ignore more features that curl-config is not expected to know aboutDan Fandrich
2007-11-01Fixed curl-config --features to not display libz when it wasn't usedDan Fandrich
due to a missing header file.
2007-11-01Make postcheck failure message more like the othersDan Fandrich
2007-11-01Added test case 1014 to compare curl-config --features with curl --versionDan Fandrich
2007-11-01Added test case 1013 to check that curl-config --protocols matches theDan Fandrich
protocols listed in curl --version
2007-10-31Fixed the output of curl-config --protocols which showed SCP and SFTPDan Fandrich
always, except when --without-libssh2 was given