Remove an obsolete block of code in tests 2032 & 576.
Add a comment in test 1474.
# builds which are often run on overloaded servers.
# Increasing the --limit-rate would decrease the test time, but at the cost of
# becoming even more sensitive to delays (going from 500 msec to 250 msec or
-# less of accepted delay before failure).
+# less of accepted delay before failure). Adding a --speed-time would increase
+# the 1 second delay between writes to longer, but it would also increase the
+# total time needed by the test, which is already quite high.
<info>
<keywords>
HTTP
int print_content;
};
-static
-long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains);
-static
-long chunk_end(void *ptr);
-
static
long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains)
{
}
if(finfo->filetype == CURLFILETYPE_FILE) {
ch_d->print_content = 1;
- printf("Content:\n-----------------------"
- "--------------------------------------\n");
+ printf("Content:\n"
+ "-------------------------------------------------------------\n");
}
if(strcmp(finfo->filename, "someothertext.txt") == 0) {
printf("# THIS CONTENT WAS SKIPPED IN CHUNK_BGN CALLBACK #\n");
multi_init(multi);
-#ifdef USE_PIPELINING
- multi_setopt(multi, CURLMOPT_PIPELINING, 1L);
- multi_setopt(multi, CURLMOPT_MAX_HOST_CONNECTIONS, 5L);
- multi_setopt(multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 10L);
-#endif
-
for(;;) {
struct timeval interval;
fd_set fdread;