cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

/[curl]/tests/libtest/lib507.c

Log of /tests/libtest/lib507.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Feb 14 19:40:18 2010 UTC (4 weeks, 6 days ago) by yangtse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +4 -4 lines
Diff to previous 1.18
removed trailing whitespace

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Feb 5 18:07:19 2010 UTC (6 weeks, 1 day ago) by yangtse
Branch: MAIN
CVS Tags: curl-7_20_0
Changes since 1.17: +15 -9 lines
Diff to previous 1.17
Addes OOM handling for curl_easy_setopt() calls in test

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 04:26:57 2008 UTC (17 months, 4 weeks ago) by yangtse
Branch: MAIN
CVS Tags: curl-7_19_1, curl-7_19_2, curl-7_19_3, curl-7_19_4, curl-7_19_5, curl-7_19_6, curl-7_19_7
Changes since 1.16: +2 -1 lines
Diff to previous 1.16
include "memdebug.h"

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Mar 10 00:19:05 2007 UTC (3 years ago) by yangtse
Branch: MAIN
CVS Tags: curl-7_16_2, curl-7_16_3, curl-7_16_4, curl-7_17_0, curl-7_17_0-preldapfix, curl-7_17_1, curl-7_18_0, curl-7_18_1, curl-7_18_2, curl-7_19_0
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
change max allowed time for this test to complete to 90 seconds

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Feb 9 01:11:14 2007 UTC (3 years, 1 month ago) by yangtse
Branch: MAIN
Changes since 1.14: +8 -8 lines
Diff to previous 1.14
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.

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Wed Oct 25 09:20:44 2006 UTC (3 years, 4 months ago) by yangtse
Branch: MAIN
CVS Tags: curl-7_16_0, curl-7_16_1
Changes since 1.13: +10 -0 lines
Diff to previous 1.13
Add project notice and file Id

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Oct 25 08:52:00 2006 UTC (3 years, 4 months ago) by yangtse
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
Compiler warning fix

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Oct 25 05:59:47 2006 UTC (3 years, 4 months ago) by yangtse
Branch: MAIN
Changes since 1.11: +28 -4 lines
Diff to previous 1.11
Use curl_global_init() and curl_global_cleanup().
Improve cleanup in case of initialization failure.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Oct 20 15:45:12 2006 UTC (3 years, 5 months ago) by yangtse
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
Oops! Actually set the limit to 30 seconds.

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Oct 20 15:39:54 2006 UTC (3 years, 5 months ago) by yangtse
Branch: MAIN
Changes since 1.9: +46 -10 lines
Diff to previous 1.9
Decrease the posibility of aborting a test which actually is not
stale by replacing loop counters with timeouts. In this way the
main loop of the test will be allowed to run up to 30 seconds on
any platform before aborting it.

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Oct 19 21:12:27 2006 UTC (3 years, 5 months ago) by yangtse
Branch: MAIN
Changes since 1.8: +1 -0 lines
Diff to previous 1.8
When aborting, show loop counter values when more than one counter exists.

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Oct 19 17:29:25 2006 UTC (3 years, 5 months ago) by yangtse
Branch: MAIN
Changes since 1.7: +21 -8 lines
Diff to previous 1.7
Abort test if it seems that it would have run forever. This is just to prevent
test hanging and actually is an indication that there's a condition that is
not being properly handled at some point in the library.

Loop counter limits might need to be further increased on false positives.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 19:01:04 2006 UTC (3 years, 6 months ago) by giva
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
Added select_test() function to allow selecting on no sockets on
Winsock.

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Jun 10 17:35:28 2006 UTC (3 years, 9 months ago) by giva
Branch: MAIN
CVS Tags: curl-7_15_4, curl-7_15_5, curl-7_15_6-prepipeline
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Fix "'x' might be used uninitialized in this function" warnings.

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri May 14 09:22:12 2004 UTC (5 years, 10 months ago) by bagder
Branch: MAIN
CVS Tags: before_ftp_statemachine, curl-7_12_0, curl-7_12_1, curl-7_12_2, curl-7_12_3, curl-7_13_0, curl-7_13_1, curl-7_13_2, curl-7_14_0, curl-7_14_1, curl-7_15_0, curl-7_15_1, curl-7_15_2, curl-7_15_3, pre-sockfilt
Changes since 1.4: +4 -3 lines
Diff to previous 1.4
clean up properly on failure to enable easier libcurl leak detection

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Mar 3 10:09:30 2004 UTC (6 years ago) by bagder
Branch: MAIN
CVS Tags: curl-7_11_1, curl-7_11_2
Changes since 1.3: +0 -7 lines
Diff to previous 1.3
removed include stuff now handled by test.h

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Feb 20 08:51:43 2004 UTC (6 years, 1 month ago) by bagder
Branch: MAIN
Changes since 1.2: +7 -0 lines
Diff to previous 1.2
include sys/select.h to prevent picky compiler warnings when using select()
without proto

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Feb 5 12:34:17 2004 UTC (6 years, 1 month ago) by bagder
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
changed the test() function to return type int

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Tue Aug 19 09:37:28 2003 UTC (6 years, 7 months ago) by bagder
Branch: MAIN
CVS Tags: curl-7_10_8, curl-7_11_0
test507 for multi with bad host name

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET