From ed40b21b6823dbf9e6b863c6f4850e1cc3893b92 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 13 Apr 2008 06:13:50 +0000 Subject: whitespace --- ChangeLog | 3 ++- src/daemon/connection.c | 4 ++-- src/testcurl/daemontest_large_put.c | 2 +- src/testcurl/daemontest_long_header.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3432bcde..3f5f8af1 100644 --- 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 index 21768b5a..67be4e91 100644 --- 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 index e8f702a5..d0e865a7 100644 --- 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 index 385b9776..c3c628be 100644 --- 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); -- cgit v1.2.3