gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6692 - in libmicrohttpd: . src/daemon src/testcurl


From: gnunet
Subject: [GNUnet-SVN] r6692 - in libmicrohttpd: . src/daemon src/testcurl
Date: Sun, 13 Apr 2008 00:13:52 -0600 (MDT)

Author: grothoff
Date: 2008-04-13 00:13:50 -0600 (Sun, 13 Apr 2008)
New Revision: 6692

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/daemon/connection.c
   libmicrohttpd/src/testcurl/daemontest_large_put.c
   libmicrohttpd/src/testcurl/daemontest_long_header.c
Log:
whitespace

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2008-04-13 04:55:23 UTC (rev 6691)
+++ libmicrohttpd/ChangeLog     2008-04-13 06:13:50 UTC (rev 6692)
@@ -1,7 +1,8 @@
 Sat Apr 12 21:34:26 MDT 2008
         Generate an internal server error if the programmer fails
         to handle upload data correctly.  Tweaked testcases to
-        avoid running into the problem in the testcases. -CG
+        avoid running into the problem in the testcases.
+        Completed zzuf-based fuzzing testcases.  -CG
 
 Sat Apr 12 15:14:05 MDT 2008
         Restructured the code (curl-testcases and zzuf testcases

Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c       2008-04-13 04:55:23 UTC (rev 
6691)
+++ libmicrohttpd/src/daemon/connection.c       2008-04-13 06:13:50 UTC (rev 
6692)
@@ -694,12 +694,12 @@
                          (MHD_USE_SELECT_INTERNALLY |
                           MHD_USE_THREAD_PER_CONNECTION))))
                 {
-                  /* failed to grow the read buffer, and the 
+                  /* failed to grow the read buffer, and the
                      client which is supposed to handle the
                      received data in a *blocking* fashion
                      (in this mode) did not handle the data as
                      it was supposed to!
-                     => we would either have to do busy-waiting 
+                     => we would either have to do busy-waiting
                      (on the client, which would likely fail),
                      or if we do nothing, we would just timeout
                      on the connection (if a timeout is even

Modified: libmicrohttpd/src/testcurl/daemontest_large_put.c
===================================================================
--- libmicrohttpd/src/testcurl/daemontest_large_put.c   2008-04-13 04:55:23 UTC 
(rev 6691)
+++ libmicrohttpd/src/testcurl/daemontest_large_put.c   2008-04-13 06:13:50 UTC 
(rev 6692)
@@ -203,7 +203,7 @@
                         1081,
                         NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END);
   if (d == NULL)
-    return 16;    
+    return 16;
   c = curl_easy_init ();
   curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world";);
   curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);

Modified: libmicrohttpd/src/testcurl/daemontest_long_header.c
===================================================================
--- libmicrohttpd/src/testcurl/daemontest_long_header.c 2008-04-13 04:55:23 UTC 
(rev 6691)
+++ libmicrohttpd/src/testcurl/daemontest_long_header.c 2008-04-13 06:13:50 UTC 
(rev 6692)
@@ -180,7 +180,7 @@
   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);





reply via email to

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