aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-02fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-07-01- Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITYDaniel Stenberg
operating system.
2008-07-01CreateConnection collided with a function using the exact same name in theDaniel Stenberg
INTEGRITY RTOS, so I renamed it to create_conn. It then made sense to also rename SetupConnection to setup_conn to match it.
2008-07-01IBM C/C++ compiler predefined macro checkYang Tse
2008-07-01set earlier in configure process IBM compilers optimization flagsYang Tse
2008-06-30make check message wording more preciseYang Tse
2008-06-30- Stephen Collyer and Tor Arntsen helped identify a flaw in the range codeDaniel Stenberg
which output the range using a signed variable where it should rather use unsigned.
2008-06-30made %llu work for printing unsigned long longs, added the generic curl sourceDaniel Stenberg
header
2008-06-30- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define isDaniel Stenberg
not posix or anything and thus c-ares failed to build on hurd (and possibly elsewhere). The define was also somewhat artificially used in the windows port. Now, I instead rewrote the use of gethostbyname to enlarge the host name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN define. I thus also removed the defien from the namser.h file where it was once added for the windows build. I also fixed init_by_defaults() function to not leak memory in case if error.
2008-06-30minor language fixDaniel Stenberg
2008-06-29fix C style commentYang Tse
2008-06-29John Lightsey filed bug report #1999181: "CLOCK_MONOTONIC always fails onYang Tse
some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181). The problem was that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test macro when checking monotonic clock availability. This is now fixed and the monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating always supported.
2008-06-26let's try to maintain compatibility with NSS 3.11.xDaniel Stenberg
2008-06-26Honour --stderr with the -v option.Dan Fandrich
Fixed a file handle leak in the command line client if more than one --stderr option was given.
2008-06-24Added README.NSS to describe the current NSS situation.Daniel Stenberg
2008-06-22- Eduard Bloch filed the debian bug report #487567Daniel Stenberg
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that libcurl used Content-Range: instead of Range when doing a range request with --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to verify.
2008-06-22Stopped using ranges in scanf character sequences (e.g. %[a-z]) since thatDan Fandrich
is not ANSI C, just a common extension. This caused problems on at least Open Watcom C.
2008-06-21Oops, that was an experimental change not meant to be committed!Daniel Stenberg
2008-06-21made Curl_nss_send() take const data to kill compiler warningDaniel Stenberg
2008-06-21Edited some test keywords for consistencyDan Fandrich
2008-06-20Modified configuration script to actually verify if the compiler is goodYang Tse
enough at detecting compilation errors or at least it has been properly configured to do so. Configuration heavily depends on this capability, so if this compiler sanity check fails the configuration process will now fail.
2008-06-20- Phil Pellouchoud found a case where libcurl built with NSS failed toDaniel Stenberg
handshake with a SSLv2 server, and it turned out to be because it didn't recognize the cipher named "rc4-md5". In our list that cipher was named plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported that it made things work for him again.
2008-06-20remove leftover proto that isn't used, I made it a macro insteadDaniel Stenberg
2008-06-20- Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxyDaniel Stenberg
crashed libcurl. This is now addressed by making sure we use "plain send" internally when doing the socks handshake instead of the Curl_write() function which is designed to use the "target" protocol. That's then SCP or SFTP in this case. I also took the opportunity and cleaned up some ssh- related #ifdefs in the code for readability.
2008-06-19minor language fixDaniel Stenberg
2008-06-19- Christopher Palow fixed a curl_multi_socket() issue which previous causedDaniel Stenberg
libcurl to not tell the app properly when a socket was closed (when the name resolve done by c-ares is done) and then immediately re-created and put to use again (for the actual connection). Since the closure will make the "watch status" get lost in several event-based systems libcurl will need to tell the app about this close/re-create case.
2008-06-19- Dengminwen found a bug in the connection re-use function when using theDaniel Stenberg
multi interface with pipelining enabled as it would wrongly check for, detect and close "dead connections" even though that connection was already in use!
2008-06-19Removed the #define of ciphernum since keeping a define updated to be theDaniel Stenberg
number of entries in a provided table is doomed to fail in the long run. Now we use the NUM_OF_CIPHERS define instead to figure out the amount.
2008-06-19s/strcasecmp/strequal to make it more portableDaniel Stenberg
2008-06-19Always use $LOGDIR when referring to the log directory.Dan Fandrich
2008-06-19Fixed a memory leak in the command-line tool that caused a valgrind error.Dan Fandrich
2008-06-19Added SSH failure test cases 628-632Dan Fandrich
2008-06-18- Rob Crittenden brought a fix for the NSS layer that makes libcurl no longerDaniel Stenberg
always fire up a new connection rather than using the existing one when the multi interface is used. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=450140
2008-06-18removed warning about unused argument by simply removing that argument fromDaniel Stenberg
the check_issuer_cert() proto
2008-06-18check_issuer_cert() now builds and there's one warning less. Still one compilerDaniel Stenberg
warning in the code though but we need NSS' base64.h header for that and we don't currently have a suitable way to include it as our own base64.h header kind of "blocks" it.
2008-06-18No longer break out of a shell "for" statement from insideYang Tse
AC_FOO_IFELSE macros, otherwise temp files are not removed. Identation adjustment.
2008-06-13In checkPendPipeline() we can't be setting the TIMER_CONNECT correctly as thatDaniel Stenberg
is for the TCP connect. I changed it to TIMER_PRETRANSFER which seems to be what was intended here.
2008-06-13fixed the language somewhatDaniel Stenberg
2008-06-13Fixed curl-config --ca which wasn't being exported by configure.Dan Fandrich
2008-06-12Added IPv6 keywords for some more tests that require IPv6 networking supportDan Fandrich
2008-06-12fixed bad infof() usage!Daniel Stenberg
2008-06-12added the versions of a range of build tools that we want to remain to workDaniel Stenberg
2008-06-12My first attempt at documenting what we try to support and make curl run withDaniel Stenberg
in regard to C standard, third party libraries and operating systems etc.
2008-06-11- I did a cleanup of the internal generic SSL layer and how the various SSLDaniel Stenberg
libraries are supported. Starting now, each underlying SSL library support code does a set of defines for the 16 functions the generic layer (sslgen.c) uses (all these new function defines use the prefix "curlssl_"). This greatly simplified the generic layer in readability by involving much less #ifdefs and other preprocessor stuff and should make it easier for people to make libcurl work with new SSL libraries. Hopefully I can later on document these 16 functions somewhat as well. I also made most of the internal SSL-dependent functions (using Curl_ssl_ prefix) #defined to nothing when no SSL support is requested - previously they would unnecessarily call mostly empty functions.
2008-06-11fix compiler warning: conversion from `pointer to void' to `pointer to intYang Tse
function(pointer to char,int,int,pointer to void)' is compiler dependent
2008-06-11enable additional CFLAGS from commandline.Gunter Knauf
2008-06-10fix warning in GnuTLS build by making sure Curl_gtls_send() takes a constDaniel Stenberg
void *
2008-06-10- I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILEDaniel Stenberg
functionality killed it due to its unconditional use of X509_STORE_set_flags...
2008-06-09CURLOPT_CRLFILE and CURLOPT_ISSUERCERT are new string optionsMichal Marek
2008-06-09fix pkg-config reporting of private libraries needed for static linkingYang Tse