aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-10-17Fix overflow detection, take four. Avoiding zero size malloc.Yang Tse
2007-10-17Fix overflow detection, thanks to Patrick Monnerat detecting testYang Tse
failure condition: http://curl.haxx.se/mail/lib-2007-10/0152.html
2007-10-17We use this ZERO_NULL to avoid picky compiler warnings,Yang Tse
when assigning a NULL pointer to a function pointer var.
2007-10-17Fix compiler warning: signed and unsigned type in conditional expressionYang Tse
2007-10-17Fix compiler warning: comparison between signed and unsignedYang Tse
2007-10-16ANSI C compliant overflow checkYang Tse
2007-10-16Fixed compiler warning re: unused variable `bigsize'Dan Fandrich
2007-10-15Fix dynamic CURLOPT_POSTFIELDS bug: back to static.Patrick Monnerat
CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features.
2007-10-15Fix LDAP compile error when LDAP is not available.Dan Fandrich
Fixed a typo in the LDAP configure code and made sure NULL is defined in a test programs that need it.
2007-10-13Made a few more functions static with the protocol handler table in place.Dan Fandrich
2007-10-12another Curl_handler fix, the #ifdefs got a bit mixed up...Daniel Stenberg
2007-10-12Fixed a few compile errors and warnings.Dan Fandrich
2007-10-12Added per-protocol callback static tables, replacing callback ptr storagePatrick Monnerat
in the connectdata structure by a single handler table ptr.
2007-10-09lber.h needs to be included since ldap.h might not include itYang Tse
2007-10-09added check for MSVC6 standard PSDK and bail out since insufficient for LDAP ↵Gunter Knauf
support with current code.
2007-10-09fix socklen_t for MSVC6 & 7.Gunter Knauf
2007-10-09added two more module dependencies for LDAPS.Gunter Knauf
2007-10-07Known bug #47, which confused libcurl if doing NTLM auth over a proxy withDaniel Stenberg
a response that was larger than 16KB is now improved slightly so that now the restriction at 16KB is for the headers only and it should be a rare situation where the response-headers exceed 16KB. Thus, I consider #47 fixed and the header limitation is now known as known bug #48.
2007-10-05Michael Wallner made the CULROPT_COOKIELIST option support a new magicDaniel Stenberg
string: "FLUSH". Using that will cause libcurl to flush its cookies to the CURLOPT_COOKIEJAR file.
2007-10-04Kim Rinnewitz reported that --local-port didn't work with TFTP transfers.Daniel Stenberg
This happened because the tftp code always uncondionally did a bind() without caring if one already had been done and then it failed. I wrote a test case (1009) to verify this, but it is a bit error-prone since it will have to pick a fixed local port number and since the tests are run on so many different hosts in different situations I add it in disabled state.
2007-10-03Cleanup no longer used macrosYang Tse
2007-10-03Fix compiler warning: local variable may be used without having been initializedYang Tse
2007-10-03Fix issue related with the use of ares_timeout() result.Yang Tse
2007-10-03exported symbols must use lowercase "curl_", and I also fixed two compilerDaniel Stenberg
warnings, one C99 thing and the bad pointer sent to the callback
2007-10-03Alexey Pesternikov introduced CURLOPT_OPENSOCKETFUNCTION andDaniel Stenberg
CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace the socket() call used by libcurl. It basically allows the app to change address, protocol or whatever of the socket. (I also did some whitespace indent/cleanups in lib/url.c which kind of hides some of these changes, sorry for mixing those in.)
2007-10-03I renamed the CURLE_SSL_PEER_CERTIFICATE error code toDaniel Stenberg
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this return code get used by the previous SSH MD5 fingerprint check in case it fails.
2007-10-03Based on a patch brought by Johnny Luong, libcurl now offersDaniel Stenberg
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make the SCP or SFTP connection verify the remote host's md5 checksum of the public key before doing a connect, to reduce the risk of a man-in-the-middle attack.
2007-10-02Fix memory leak under low memory conditions.Yang Tse
2007-10-02Fix compiler warningYang Tse
2007-10-02<winber.h> needed for Windows LDAP client 32 API supportYang Tse
2007-10-02Linking with wldap32.lib needed for Windows LDAP client 32 API supportYang Tse
2007-10-02known bug #46: chunked-encoded CONNECT responses from a http proxy now works.Daniel Stenberg
Added test case 1008 to verify. Note that #47 is still there.
2007-09-30Alex Fishman reported a curl_easy_escape() problem that was made theDaniel Stenberg
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a signed / unsigned mistake in the code. I fixed it and added test case 543 to verify.
2007-09-29Immanuel Gregoire fixed a problem with persistent transfers over SFTP - theDaniel Stenberg
previous proto struct was kept.
2007-09-28Adapted the c-ares code to the API change c-ares 1.5.0 brings in theDaniel Stenberg
notifier callback(s).
2007-09-28rename variable to prevent shadow warningDaniel Stenberg
2007-09-28Renamed a variable to avoid shadowing a global declarations.Dan Fandrich
2007-09-27Don't strdup an empty stringDan Fandrich
2007-09-27Renamed a few variables to avoid shadowing global declarations.Dan Fandrich
2007-09-27a name resolve that times out is still a failed name resolveDaniel Stenberg
2007-09-27Renamed a few variables to avoid shadowing global declarations.Dan Fandrich
2007-09-27Enabled a few more gcc warnings with --enable-debug. Renamed a fewDan Fandrich
variables to avoid shadowing global declarations.
2007-09-27Fix compiler warning: the address of 'env' will always evaluate as 'true'Yang Tse
2007-09-26Philip Langdale provided the new CURLOPT_POST301 option forDaniel Stenberg
curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify.
2007-09-26Max Katsev reported that when doing a libcurl FTP request withDaniel Stenberg
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE before it does SIZE which makes it less useful. I walked over the code and made it do this properly, and added test case 542 to verify it.
2007-09-25Make glibc define the prototype for strcasestrDan Fandrich
2007-09-25#ifdef out a few more functions when SSL is disabled.Dan Fandrich
2007-09-25Use a native strcasestr() if found.Dan Fandrich
2007-09-24Immanuel Gregoire fixed KNOWN_BUGS #44: --ftp-method nocwd did not handleDaniel Stenberg
URLs ending with a slash properly (it should list the contents of that directory). Test case 351 brought back and also test 1010 was added.
2007-09-21Mark Davies fixed Negotiate authentication over proxy, and also introducedDaniel Stenberg
the --proxy-negotiate command line option to allow a user to explicitly select it.