This commit is contained in:
Christian Grothoff
2008-04-13 04:55:23 +00:00
parent b799dd25c3
commit a9b74de734
9 changed files with 12 additions and 84 deletions
-10
View File
@@ -37,16 +37,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
static int oneone;
struct CBC
-10
View File
@@ -37,16 +37,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
struct CBC
{
char *buf;
-10
View File
@@ -37,16 +37,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
static int oneone;
/**
+2 -13
View File
@@ -37,16 +37,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
/**
* We will set the memory available per connection to
* half of this value, so the actual value does not have
@@ -186,14 +176,12 @@ testLongHeaderGet ()
for (i = 0; i < LOOP_COUNT; i++)
{
fprintf (stderr, ".");
c = curl_easy_init ();
url = malloc (VERY_LONG);
memset (url, 'a', VERY_LONG);
url[VERY_LONG - 1] = '\0';
url[VERY_LONG / 2] = ':';
url[VERY_LONG / 2 + 1] = ':';
url[VERY_LONG / 2 + 1] = ' ';
header = curl_slist_append (header, url);
curl_easy_setopt (c, CURLOPT_HTTPHEADER, header);
@@ -213,6 +201,7 @@ testLongHeaderGet ()
curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
curl_easy_perform (c);
curl_slist_free_all (header);
header = NULL;
curl_easy_cleanup (c);
}
fprintf (stderr, "\n");
-11
View File
@@ -38,17 +38,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
#define POST_DATA "name=daniel&project=curl"
static int oneone;
-10
View File
@@ -38,16 +38,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
static int oneone;
struct CBC
-10
View File
@@ -38,16 +38,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
static int oneone;
struct CBC
-10
View File
@@ -38,16 +38,6 @@
#include "socat.c"
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
struct CBC
{
char *buf;
+10
View File
@@ -30,6 +30,16 @@
#include <signal.h>
/**
* A larger loop count will run more random tests --
* which would be good, except that it may take too
* long for most user's patience. So this small
* value is the default.
*/
#define LOOP_COUNT 10
#define CURL_TIMEOUT 50L
static pid_t zzuf_pid;
static void