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/lib504.c

Log of /tests/libtest/lib504.c

Parent Directory Parent Directory | Revision Log Revision Log


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

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

Revision 1.28 - (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.27: +2 -1 lines
Diff to previous 1.27
include "memdebug.h"

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu May 22 21:49:52 2008 UTC (21 months, 3 weeks ago) by danf
Branch: MAIN
CVS Tags: curl-7_18_2, curl-7_19_0
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
Made sure to pass longs in to curl_easy_setopt where necessary in the
libtest code.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Oct 2 16:05:28 2007 UTC (2 years, 5 months ago) by yangtse
Branch: MAIN
CVS Tags: curl-7_17_1, curl-7_18_0, curl-7_18_1
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
Renamed a couple of global variables to avoid shadowing warnings

Revision 1.25 - (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
Changes since 1.24: +3 -3 lines
Diff to previous 1.24
change max allowed time for this test to complete to 90 seconds

Revision 1.24 - (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.23: +6 -6 lines
Diff to previous 1.23
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.23 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 20:24:00 2007 UTC (3 years, 1 month ago) by giva
Branch: MAIN
Changes since 1.22: +3 -4 lines
Diff to previous 1.22
Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.

Revision 1.22 - (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.21: +10 -0 lines
Diff to previous 1.21
Add project notice and file Id

Revision 1.21 - (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.20: +2 -2 lines
Diff to previous 1.20
Compiler warning fix

Revision 1.20 - (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.19: +85 -65 lines
Diff to previous 1.19
Use curl_global_init() and curl_global_cleanup().
Improve cleanup in case of initialization failure.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Oct 23 19:15:14 2006 UTC (3 years, 4 months ago) by danf
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
30 seconds isn't long enough for this test on a loaded server.

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

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Oct 20 15:39:54 2006 UTC (3 years, 4 months ago) by yangtse
Branch: MAIN
Changes since 1.16: +33 -10 lines
Diff to previous 1.16
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.16 - (view) (download) (annotate) - [select for diffs]
Thu Oct 19 22:48:33 2006 UTC (3 years, 5 months ago) by yangtse
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
Compiler warning fix

Revision 1.15 - (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.14: +1 -0 lines
Diff to previous 1.14
When aborting, show loop counter values when more than one counter exists.

Revision 1.14 - (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.13: +12 -3 lines
Diff to previous 1.13
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.13 - (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.12: +1 -1 lines
Diff to previous 1.12
Added select_test() function to allow selecting on no sockets on
Winsock.

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Mar 31 14:10:54 2005 UTC (4 years, 11 months ago) by bagder
Branch: MAIN
CVS Tags: 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, curl-7_15_4, curl-7_15_5, curl-7_15_6-prepipeline, pre-sockfilt
Changes since 1.11: +4 -4 lines
Diff to previous 1.11
Attempt to make this code more forgiving for systems that doesn't detect
the failed connect "immediately".

Revision 1.11 - (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
Changes since 1.10: +45 -43 lines
Diff to previous 1.10
clean up properly on failure to enable easier libcurl leak detection

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Apr 27 10:59:43 2004 UTC (5 years, 10 months ago) by bagder
Branch: MAIN
Changes since 1.9: +4 -1 lines
Diff to previous 1.9
make the loop use a fixed number of attempts to prevent eternal loops

Revision 1.9 - (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.8: +0 -6 lines
Diff to previous 1.8
removed include stuff now handled by test.h

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

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Feb 13 12:17:42 2004 UTC (6 years, 1 month ago) by bagder
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
return an int, not a CURLcode

Revision 1.6 - (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.5: +1 -1 lines
Diff to previous 1.5
changed the test() function to return type int

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Oct 25 06:03:50 2003 UTC (6 years, 4 months ago) by bagder
Branch: MAIN
CVS Tags: curl-7_10_8, curl-7_11_0
Changes since 1.4: +4 -1 lines
Diff to previous 1.4
avoid dependence on the order of the fields in the timeval struct, pointed out
by Gisle Vanem

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Fri Oct 24 20:58:34 2003 UTC (6 years, 4 months ago) by bagder
Branch: MAIN
Changes since 1.3: +14 -11 lines
Diff to previous 1.3
don't select() forever, set a timeout so at least the test fails nice

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Mar 17 17:20:26 2003 UTC (7 years ago) by bagder
Branch: MAIN
CVS Tags: curl-7_10_4, curl-7_10_5, curl-7_10_6, curl-7_10_7
Changes since 1.2: +10 -6 lines
Diff to previous 1.2
more defensive checking as platforms differ...

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 08:54:45 2003 UTC (7 years ago) by bagder
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1
Add include files to prevent warnings on some (HPUX) systems.

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Dec 16 15:30:28 2002 UTC (7 years, 3 months ago) by bagder
Branch: MAIN
CVS Tags: curl-7_10_3
Added test case 504, using multi interface and a local proxy without anything
listening on the port we use.

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