mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
mov
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user