commit ed40b21b6823dbf9e6b863c6f4850e1cc3893b92
parent a9b74de734dc22c27cb097bb69f2edba1927dc7f
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 13 Apr 2008 06:13:50 +0000
whitespace
Diffstat:
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
@@ -694,12 +694,12 @@ MHD_connection_get_fdset (struct MHD_Connection *connection,
(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
diff --git a/src/testcurl/daemontest_large_put.c b/src/testcurl/daemontest_large_put.c
@@ -203,7 +203,7 @@ testMultithreadedPut ()
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, ©Buffer);
diff --git a/src/testcurl/daemontest_long_header.c b/src/testcurl/daemontest_long_header.c
@@ -180,7 +180,7 @@ testLongHeaderGet ()
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);