From: Daniel Stenberg Date: Sat, 8 Dec 2007 22:53:49 +0000 (+0000) Subject: correct the comment about size X-Git-Tag: upstream/7.37.1~8327 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=089668ec73d73d451c3b69fe16b2229a932f90c2;p=platform%2Fupstream%2Fcurl.git correct the comment about size --- diff --git a/tests/libtest/lib547.c b/tests/libtest/lib547.c index 2d40112..52f1e20 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);