8c9233f6 | 09-Feb-2007 |
Yang Tse |
Include both testutil.c and testutil.h, and not just testutil.c, in the list of source files for those tests that use it. Otherwise testutil.h might not be found by the compiler. |
6fcf98f6 | 09-Feb-2007 |
Yang Tse |
Some tests were using functions curlx_tvnow and curlx_tvdiff which are not part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them wo
Some tests were using functions curlx_tvnow and curlx_tvdiff which are not part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
show more ...
|
2f4fe017 | 09-Feb-2007 |
Yang Tse |
Some tests were using functions curlx_tvnow and curlx_tvdiff which are not part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them wo
Some tests were using functions curlx_tvnow and curlx_tvdiff which are not part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
show more ...
|
9f62ff5d | 08-Feb-2007 |
Yang Tse |
compiler warning fix |
4e3f3e75 | 08-Feb-2007 |
Yang Tse |
use macro AC_AIX to define `_ALL_SOURCE', if on AIX. |
04e6568a | 07-Feb-2007 |
Daniel Stenberg |
SCP upload done non-blocking |
7a39b984 | 07-Feb-2007 |
Yang Tse |
use same AIX XLC compiler options as curl's |
4ab91a93 | 07-Feb-2007 |
Yang Tse |
AIX xlc has to have strict aliasing turned off. If not, the optimizer assumes that pointers can only point to an object of the same type. |
6647ca6e | 07-Feb-2007 |
Yang Tse |
*) Remove duplicate declaration of TYPE_SOCKADDR_STORAGE *) Update CURL_CC_DEBUG_OPTS from curl's script |
529e0173 | 06-Feb-2007 |
Gisle Vanem |
INADDR_NONE no longer used. |
078fc418 | 06-Feb-2007 |
Gisle Vanem |
Added debug option ('-d') for Watt-32 programs. |
fabbb3fc | 06-Feb-2007 |
Gisle Vanem |
Added HAVE_PROCESS_H for DOS/Win32. Include <process.h> for getpid() in ares_init.c. |
1db063e7 | 06-Feb-2007 |
Gisle Vanem |
Fix compiler warning. |
1fa9ef24 | 06-Feb-2007 |
Gisle Vanem |
Include <sys/time.h> and <unistd.h> inside HAVE_x_H. Added 'optind' and 'optarg' as in adig.c. |
e12220cc | 06-Feb-2007 |
Gisle Vanem |
Include <sys/time.h> and <unistd.h> inside HAVE_x_H. |
77fcad04 | 06-Feb-2007 |
Yang Tse |
fix for millisecond resolution timeouts |
e213555c | 06-Feb-2007 |
Yang Tse |
compiler warning fix |
3a813b3c | 06-Feb-2007 |
Daniel Stenberg |
non-blocking SSH stuff |
028a9d67 | 06-Feb-2007 |
Daniel Stenberg |
read SFTP with the non-blocking API |
d0aca801 | 06-Feb-2007 |
Yang Tse |
compiler warning fix |
91386937 | 05-Feb-2007 |
Daniel Stenberg |
- Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution ins
- Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already.
show more ...
|
0fc51ac5 | 05-Feb-2007 |
Gisle Vanem |
Remove '-Dselect=select_s'. Remove depend.dj- |
bc2183b4 | 05-Feb-2007 |
Yang Tse |
compiler warning fix |
01c4fba1 | 05-Feb-2007 |
Yang Tse |
cookie expiry date in several test cases set to year 2030/2035 |
9b647437 | 05-Feb-2007 |
Yang Tse |
Year 2038 has its own problems (32 bit integer overflow). So cookie expiration date is lowered to expire at most in 2035. |