aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-12-08 22:53:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-12-08 22:53:49 +0000
commit089668ec73d73d451c3b69fe16b2229a932f90c2 (patch)
tree2300d24fc755f66b946dbc9d4b94d44548c230a7
parentcc0ce38accd5ed52f64009ad61ed059a48700a87 (diff)
correct the comment about size
-rw-r--r--tests/libtest/lib547.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/libtest/lib547.c b/tests/libtest/lib547.c
index 2d4011213..52f1e2039 100644
--- a/tests/libtest/lib547.c
+++ b/tests/libtest/lib547.c
@@ -87,9 +87,7 @@ int test(char *URL)
curl_easy_setopt(curl, CURLOPT_IOCTLDATA, &counter);
curl_easy_setopt(curl, CURLOPT_READFUNCTION, readcallback);
curl_easy_setopt(curl, CURLOPT_READDATA, &counter);
- /* TODO: We should be able to do the POST fine without setting the size
- and we should do a test to verify that but until we do that we set
- the size of the request-body */
+ /* We CANNOT do the POST fine without setting the size (or choose chunked)! */
curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, strlen(UPLOADTHIS));
#endif
curl_easy_setopt(curl, CURLOPT_POST, 1);