aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-12-03Bug report #1842029 (http://curl.haxx.se/bug/view.cgi?id=1842029) identifiedDaniel Stenberg
a problem with SSL session caching that prevent it from working, and the associated fix!
2007-12-03Now libcurl (built with OpenSSL) doesn't return error anymore if the remoteDaniel Stenberg
SSL-based server doesn't present a certificate when the request is told to ignore certificate verification anyway.
2007-12-02Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to controlDaniel Stenberg
the appending of the "type=" thing on FTP URLs when they are passed to a HTTP proxy. Some proxies just don't like that appending (which is done unconditionally in 7.17.1), and some proxies treat binary/ascii transfers better with the appending done!
2007-11-29A bug report on the curl-library list showed a HTTP Digest session going onDaniel Stenberg
with a 700+ letter nonce. Previously libcurl only support 127 letter ones and now I bumped it to 1023.
2007-11-29Fixed the resumed FTP upload loop to not require that the read callbackDaniel Stenberg
returns a full buffer on each invoke.
2007-11-29include the libssh2 return code in the output for these failures to easeDaniel Stenberg
debugging
2007-11-24reqdata doesn't exist anymore and the path moved to the UrlState structDaniel Stenberg
2007-11-24struct HandleData is now called struct SingleRequest, and is only for data thatDaniel Stenberg
is inited at the start of the DO action. I removed the Curl_transfer_keeper struct completely, and I had to move out a few struct members (that had to be set before DO or used after DONE) to the UrlState struct. The SingleRequest struct is accessed with SessionHandle->req. One of the biggest reasons for doing this was the bunch of duplicate struct members in HandleData and Curl_transfer_keeper since it was really messy to keep track of two variables with the same name and basically the same purpose!
2007-11-21Make the do_complete() function not get called until the DO actually isDaniel Stenberg
compelete, which bascially means when used with the multi interface
2007-11-20While inspecting the Negotiate code, I noticed how the proxy auth was usingDaniel Stenberg
the same state struct as the host auth, so both could never be used at the same time! I fixed it (without being able to check) to use two separate structs to allow authentication using Negotiate on host and proxy simultanouesly.
2007-11-20white space changes only to clean up indent and source widthDaniel Stenberg
2007-11-20remove the unconditional enabling of cookies if you set a share to use!Daniel Stenberg
2007-11-20a bunch of new commentsDaniel Stenberg
2007-11-20fix the treatment of the parameter-based precision, as in "%.*s%s" asDaniel Stenberg
previously the second %s would wrongly get the numerical argument that is used for the variable precision for the first %s...
2007-11-19I think this is the right fix for other non-OpenSSL libs, based on the NSS fixDaniel Stenberg
from the other day. It is time to setup the internal SSL libs and treat them with a "handler" struct similar to how we deal with the protocols these days...
2007-11-18removed now obsolete defines;Gunter Knauf
updated external library versions to latest.
2007-11-18Rob Crittenden fixed SSL connections with NSS done with the multi-interfaceDaniel Stenberg
2007-11-16Fix unsigned integral math check in add_buffer_send()Yang Tse
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-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-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-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-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-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-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-06Added prototype for _strtoi64().Gisle Vanem
2007-11-06Constified from arguments.Gisle Vanem
2007-11-05removed space after if and while before the parenthesis for better source codeDaniel Stenberg
consistency
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-01minor re-indentDaniel Stenberg
2007-10-31Add support for LDAP urls. Allthough the OpenWatcomGisle Vanem
headers <winlap.h> and <winber.h> defines wrong calling convention.
2007-10-31Added optional use of zlib (USE_ZLIB=1).Gisle Vanem
Use a response-file for the C-compiler.
2007-10-30Fixed an OOM problem with file: URLsDan Fandrich
Moved Curl_file_connect into the protocol handler struct.
2007-10-29Reverted the const change--what was I thinking?Dan Fandrich
2007-10-29Made some pointers constDan Fandrich