diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-04-13 06:13:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-04-13 06:13:50 +0000 |
commit | ed40b21b6823dbf9e6b863c6f4850e1cc3893b92 (patch) | |
tree | 8c17f0a7a63f1ec8a63192a9262cdf4f1f2216aa | |
parent | a9b74de734dc22c27cb097bb69f2edba1927dc7f (diff) | |
download | libmicrohttpd-ed40b21b6823dbf9e6b863c6f4850e1cc3893b92.tar.gz libmicrohttpd-ed40b21b6823dbf9e6b863c6f4850e1cc3893b92.zip |
whitespace
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/daemon/connection.c | 4 | ||||
-rw-r--r-- | src/testcurl/daemontest_large_put.c | 2 | ||||
-rw-r--r-- | src/testcurl/daemontest_long_header.c | 2 |
4 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,8 @@ | |||
1 | Sat Apr 12 21:34:26 MDT 2008 | 1 | Sat 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 | ||
6 | Sat Apr 12 15:14:05 MDT 2008 | 7 | Sat 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, ©Buffer); | 209 | 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 () | |||
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); |