correct the comment about size
authorDaniel Stenberg <daniel@haxx.se>
Sat, 8 Dec 2007 22:53:49 +0000 (22:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 8 Dec 2007 22:53:49 +0000 (22:53 +0000)
tests/libtest/lib547.c

index 2d40112..52f1e20 100644 (file)
@@ -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);