aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/daemon/connection.c4
-rw-r--r--src/testcurl/daemontest_large_put.c2
-rw-r--r--src/testcurl/daemontest_long_header.c2
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 @@
1Sat Apr 12 21:34:26 MDT 2008 1Sat Apr 12 21:34:26 MDT 2008
2 Generate an internal server error if the programmer fails 2 Generate an internal server error if the programmer fails
3 to handle upload data correctly. Tweaked testcases to 3 to handle upload data correctly. Tweaked testcases to
4 avoid running into the problem in the testcases. -CG 4 avoid running into the problem in the testcases.
5 Completed zzuf-based fuzzing testcases. -CG
5 6
6Sat Apr 12 15:14:05 MDT 2008 7Sat Apr 12 15:14:05 MDT 2008
7 Restructured the code (curl-testcases and zzuf testcases 8 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,
694 (MHD_USE_SELECT_INTERNALLY | 694 (MHD_USE_SELECT_INTERNALLY |
695 MHD_USE_THREAD_PER_CONNECTION)))) 695 MHD_USE_THREAD_PER_CONNECTION))))
696 { 696 {
697 /* failed to grow the read buffer, and the 697 /* failed to grow the read buffer, and the
698 client which is supposed to handle the 698 client which is supposed to handle the
699 received data in a *blocking* fashion 699 received data in a *blocking* fashion
700 (in this mode) did not handle the data as 700 (in this mode) did not handle the data as
701 it was supposed to! 701 it was supposed to!
702 => we would either have to do busy-waiting 702 => we would either have to do busy-waiting
703 (on the client, which would likely fail), 703 (on the client, which would likely fail),
704 or if we do nothing, we would just timeout 704 or if we do nothing, we would just timeout
705 on the connection (if a timeout is even 705 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 ()
203 1081, 203 1081,
204 NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); 204 NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END);
205 if (d == NULL) 205 if (d == NULL)
206 return 16; 206 return 16;
207 c = curl_easy_init (); 207 c = curl_easy_init ();
208 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 208 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world");
209 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 209 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
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 ()
180 memset (url, 'a', VERY_LONG); 180 memset (url, 'a', VERY_LONG);
181 url[VERY_LONG - 1] = '\0'; 181 url[VERY_LONG - 1] = '\0';
182 url[VERY_LONG / 2] = ':'; 182 url[VERY_LONG / 2] = ':';
183 url[VERY_LONG / 2 + 1] = ':'; 183 url[VERY_LONG / 2 + 1] = ' ';
184 header = curl_slist_append (header, url); 184 header = curl_slist_append (header, url);
185 185
186 curl_easy_setopt (c, CURLOPT_HTTPHEADER, header); 186 curl_easy_setopt (c, CURLOPT_HTTPHEADER, header);