From 089668ec73d73d451c3b69fe16b2229a932f90c2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 8 Dec 2007 22:53:49 +0000 Subject: correct the comment about size --- tests/libtest/lib547.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/libtest/lib547.c') 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); -- cgit v1.2.3