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

@ -6,6 +6,10 @@
Changelog
Daniel (29 September 2004)
- Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly
enable the progress meter.
Daniel (28 September 2004)
- "Mekonikum" found out that if you built curl without SSL support, although
your current SSL installation supports Engine, the compile fails.

View File

@ -16,6 +16,9 @@ This release includes the following changes:
This release includes the following bugfixes:
o curl_easy_reset() no longer enables the progress meter
o build fix for SSL disabled curl with SSL Engine support present
o configure --with-ssl=PATH now ignores pkg-config path info
o CURLOPT_SSLENGINE can be set to NULL even if no engine support is available
o LDAP crash when more than one record was received
o connect failures properly stores an error message in the errorbuffer
@ -43,6 +46,6 @@ advice from friends like these:
Casey O'Donnell, Roland Krikava, Alex, Alexander Krasnostavsky, Kjetil
Jacobsen, Ling Thio, Roman Koifman, Harshal Pradhan, Jonas Forsman, David
Tarendash, Daniel at touchtunes, Bertrand Demiddelaer, Andreas Rieke,
Jean-Claude Chauve, Dan Fandrich, Peter Sylvester
Jean-Claude Chauve, Dan Fandrich, Peter Sylvester, "Mekonikum"
Thanks! (and sorry if I forgot to mention someone)

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;