aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-04-01Robert Iakobashvili made curl_multi_remove_handle() a lot faster when manyDaniel Stenberg
easy handles are added to a multi handle, by avoiding the looping over all the handles to find which one to remove.
2007-04-01Matt Kraai provided a patch that makes curl build on QNX 6 fine again. MostlyDaniel Stenberg
by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non- configure platforms that havve setmode() needs their hard-coded config.h files fixed. I fixed the src/config-win32.h.
2007-03-31Pointless to check for non-NULL pointers that already have been dereferencedDaniel Stenberg
and they have to be non-NULL long before this check. CID 22 in the coverity.com scan
2007-03-31avoid dereferencing a NULL pointer by setting a default word to lookup in caseDaniel Stenberg
it is missing CID 5 in the coverity.com scan
2007-03-31Better deal with NULL pointers.Daniel Stenberg
CID 3 and 4 from the coverity.com scan.
2007-03-31*** empty log message ***Daniel Stenberg
2007-03-31When curl_easy_duphandle() fails because it can't get or make a connectionDaniel Stenberg
cache, we must make sure not to derefence the NULL pointer... CID 6 coverity.com scan
2007-03-31The info types cannot be checked for explicity by ANDing the types since theyDaniel Stenberg
have not been properly defined to allow this! Instead of changing the defines and break the ABI/API, I opted to modify the code to check for exact type matches. CID 10 coverity.com scan
2007-03-31Check for a NULL easy->easy_conn in multi_getsock() since it can in factDaniel Stenberg
happen when curl_multi_remove_handle() is called. CID 13. coverity.com scan
2007-03-31Removed check for ftpcode being NULL, as later it is derefenced unconditionallyDaniel Stenberg
anyway and we can just as well rely on it being valid. CID 12, coverity.com scan
2007-03-30Pointer "conn" dereferenced before NULL check. found by coverity.com scanDaniel Stenberg
2007-03-30Pointer "cur_pos" dereferenced before NULL check, found by coverity.com scan.Daniel Stenberg
Removed the NULL check since the pointer must be valid already.
2007-03-30dead code removed, found by the coverity.com scanDaniel Stenberg
2007-03-30Don't tear down the ftp connection if the maximum filesize was exceededDan Fandrich
and added tests 290 and 291 to check.
2007-03-29Send an EOF message before closing a channel, as recommended by RFC4254.Dan Fandrich
Enable libssh2 tracing when ssh debugging is turned on.
2007-03-29fix compiler warningYang Tse
2007-03-29fix error introduced in last commitYang Tse
2007-03-28fix compiler warningYang Tse
2007-03-28Improve detection of socket events which allow a further recv() callYang Tse
to complete with no delay and actually find out what happened with the socket. As well as detection of socket send()able condition. This also allows removal of a Cygwin specific block of code.
2007-03-28djgpp uses gcc which has varadic macros.Gisle Vanem
2007-03-28Fix compiler warning.Gisle Vanem
2007-03-28Simplified code around 'tld_errmsg' a bit.Gisle Vanem
2007-03-27added variadic macro stuff.Gunter Knauf
2007-03-27Update messageYang Tse
2007-03-27New Internal wrapper function Curl_select() around select (2), itYang Tse
uses poll() when a fine poll() is available, so now libcurl can be built without select() support at all if a fine poll() is available.
2007-03-27don't retry select() call upon unrecoverable error EBADFYang Tse
2007-03-27Platforms that lack autotools support should define HAVE_VARIADIC_MACROS_C99Yang Tse
and/or HAVE_VARIADIC_MACROS_GCC for specific compiler versions that support variadic macros with C99 style and/or old gcc style in their specific config.h file. If previous definitions are not done, even when aplicable, and --disable-verbose is used, the fallback (void) method will be used to define infof, avoiding the inclusion of unwanted strings in the resulting library/executable.
2007-03-26Internal function Curl_select() renamed to Curl_socket_ready()Yang Tse
2007-03-26changed link lib order to make nlmconv happy.Gunter Knauf
2007-03-26added CVS Id tag.Gunter Knauf
2007-03-26fixed build to use compiler-default lib extension.Gunter Knauf
2007-03-25- Daniel Johnson fixed multi code to traverse the easy handle list properly.Daniel Stenberg
A left-over bug from the February 21 fix.
2007-03-25fix compiler warningYang Tse
2007-03-25fix compiler warningYang Tse
2007-03-25fix compiler warningYang Tse
2007-03-24Fixed a couple of compile problems.Dan Fandrich
2007-03-24Fixed a memory leak when specifying a proxy with a file: URL and addedDan Fandrich
test case 288 to verify it.
2007-03-23add missing state name for the debug state switch outputDaniel Stenberg
2007-03-23fix debug messageDaniel Stenberg
2007-03-23Added --pubkey option to curl and made --key also work for SCP/SFTP,Dan Fandrich
plus made --pass work on an SSH private key as well.
2007-03-23fix yet another leftover in previous commitYang Tse
2007-03-23fix leftover in previous commitYang Tse
2007-03-23fix compiler warning: empty body in an if/else-statementYang Tse
2007-03-23Change spelling, ONE_TERRABYTE -> ONE_TERABYTEYang Tse
Shave off a couple of function calls in the part of Curl_pgrsUpdate() which is always executed when called. Fix a couple of comments.
2007-03-23Don't shut down sftp in an error if it was never started.Dan Fandrich
2007-03-22Fixed unused variable compiler warning.Dan Fandrich
2007-03-22Use C99-style variadic macros when available.Dan Fandrich
2007-03-22Add a couple of local macros to improve code readability.Yang Tse
For completeness sake, wait_ms() might also get interrupted when experimental CURL_ACKNOWLEDGE_EINTR is defined.
2007-03-21reverted back to previous version => ↵Yang Tse
http://curl.haxx.se/mail/lib-2007-03/0258.html
2007-03-21avoid the use of variadic macros for greater portabilityYang Tse