gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6691 - libmicrohttpd/src/testzzuf


From: gnunet
Subject: [GNUnet-SVN] r6691 - libmicrohttpd/src/testzzuf
Date: Sat, 12 Apr 2008 22:55:23 -0600 (MDT)

Author: grothoff
Date: 2008-04-12 22:55:23 -0600 (Sat, 12 Apr 2008)
New Revision: 6691

Modified:
   libmicrohttpd/src/testzzuf/daemontest_get.c
   libmicrohttpd/src/testzzuf/daemontest_get_chunked.c
   libmicrohttpd/src/testzzuf/daemontest_large_put.c
   libmicrohttpd/src/testzzuf/daemontest_long_header.c
   libmicrohttpd/src/testzzuf/daemontest_post.c
   libmicrohttpd/src/testzzuf/daemontest_postform.c
   libmicrohttpd/src/testzzuf/daemontest_put.c
   libmicrohttpd/src/testzzuf/daemontest_put_chunked.c
   libmicrohttpd/src/testzzuf/socat.c
Log:
mov

Modified: libmicrohttpd/src/testzzuf/daemontest_get.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_get.c 2008-04-13 04:32:42 UTC (rev 
6690)
+++ libmicrohttpd/src/testzzuf/daemontest_get.c 2008-04-13 04:55:23 UTC (rev 
6691)
@@ -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

Modified: libmicrohttpd/src/testzzuf/daemontest_get_chunked.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_get_chunked.c 2008-04-13 04:32:42 UTC 
(rev 6690)
+++ libmicrohttpd/src/testzzuf/daemontest_get_chunked.c 2008-04-13 04:55:23 UTC 
(rev 6691)
@@ -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;

Modified: libmicrohttpd/src/testzzuf/daemontest_large_put.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_large_put.c   2008-04-13 04:32:42 UTC 
(rev 6690)
+++ libmicrohttpd/src/testzzuf/daemontest_large_put.c   2008-04-13 04:55:23 UTC 
(rev 6691)
@@ -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;
 
 /**

Modified: libmicrohttpd/src/testzzuf/daemontest_long_header.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_long_header.c 2008-04-13 04:32:42 UTC 
(rev 6690)
+++ libmicrohttpd/src/testzzuf/daemontest_long_header.c 2008-04-13 04:55:23 UTC 
(rev 6691)
@@ -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
-
-/**
  * We will set the memory available per connection to
  * half of this value, so the actual value does not have
  * to be big at all...
@@ -186,14 +176,12 @@
   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 @@
       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");

Modified: libmicrohttpd/src/testzzuf/daemontest_post.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_post.c        2008-04-13 04:32:42 UTC 
(rev 6690)
+++ libmicrohttpd/src/testzzuf/daemontest_post.c        2008-04-13 04:55:23 UTC 
(rev 6691)
@@ -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;

Modified: libmicrohttpd/src/testzzuf/daemontest_postform.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_postform.c    2008-04-13 04:32:42 UTC 
(rev 6690)
+++ libmicrohttpd/src/testzzuf/daemontest_postform.c    2008-04-13 04:55:23 UTC 
(rev 6691)
@@ -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

Modified: libmicrohttpd/src/testzzuf/daemontest_put.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_put.c 2008-04-13 04:32:42 UTC (rev 
6690)
+++ libmicrohttpd/src/testzzuf/daemontest_put.c 2008-04-13 04:55:23 UTC (rev 
6691)
@@ -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

Modified: libmicrohttpd/src/testzzuf/daemontest_put_chunked.c
===================================================================
--- libmicrohttpd/src/testzzuf/daemontest_put_chunked.c 2008-04-13 04:32:42 UTC 
(rev 6690)
+++ libmicrohttpd/src/testzzuf/daemontest_put_chunked.c 2008-04-13 04:55:23 UTC 
(rev 6691)
@@ -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;

Modified: libmicrohttpd/src/testzzuf/socat.c
===================================================================
--- libmicrohttpd/src/testzzuf/socat.c  2008-04-13 04:32:42 UTC (rev 6690)
+++ libmicrohttpd/src/testzzuf/socat.c  2008-04-13 04:55:23 UTC (rev 6691)
@@ -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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]