Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly

enable the progress meter.
This commit is contained in:
Daniel Stenberg
2004-09-28 22:26:47 +00:00
parent bfeea8e6b7
commit 2576ac1c76
3 changed files with 10 additions and 1 deletions

View File

@@ -77,6 +77,7 @@
#include "hostip.h"
#include "share.h"
#include "memory.h"
#include "progress.h"
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
@@ -561,6 +562,7 @@ void curl_easy_reset(CURL *curl)
/* make libcurl quiet by default: */
data->set.hide_progress = TRUE; /* CURLOPT_NOPROGRESS changes these */
data->progress.flags |= PGRS_HIDE;
/* Set the default size of the SSL session ID cache */
data->set.ssl.numsessions = 5;