- Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
This commit is contained in:
parent
34d837c2dd
commit
ebaf06a741
2
CHANGES
2
CHANGES
@ -7,6 +7,8 @@
|
|||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
Daniel Stenberg (5 Apr 2008)
|
Daniel Stenberg (5 Apr 2008)
|
||||||
|
- Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
|
||||||
|
|
||||||
- Based on the Debian bug report #474224 that complained about the FTP error
|
- Based on the Debian bug report #474224 that complained about the FTP error
|
||||||
message when libcurl doesn't get a 220 back immediately on connect, I now
|
message when libcurl doesn't get a 220 back immediately on connect, I now
|
||||||
changed it to be more specific on what the problem is. Also worth noticing:
|
changed it to be more specific on what the problem is. Also worth noticing:
|
||||||
|
@ -17,6 +17,7 @@ This release includes the following bugfixes:
|
|||||||
|
|
||||||
o CURLOPT_NOBODY first set to TRUE and then FALSE for HTTP no longer causes
|
o CURLOPT_NOBODY first set to TRUE and then FALSE for HTTP no longer causes
|
||||||
the confusion that could lead to a hung transfer
|
the confusion that could lead to a hung transfer
|
||||||
|
o curl_easy_reset() resets the max redirect limit properly
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
@ -33,6 +34,6 @@ New curl mirrors:
|
|||||||
This release would not have looked like this without help, code, reports and
|
This release would not have looked like this without help, code, reports and
|
||||||
advice from friends like these:
|
advice from friends like these:
|
||||||
|
|
||||||
Michal Marek, Daniel Fandrich, Scott Barrett
|
Michal Marek, Daniel Fandrich, Scott Barrett, Alexey Simak
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
@ -715,9 +715,9 @@ void curl_easy_reset(CURL *curl)
|
|||||||
/* use fread as default function to read input */
|
/* use fread as default function to read input */
|
||||||
data->set.fread_func = (curl_read_callback)fread;
|
data->set.fread_func = (curl_read_callback)fread;
|
||||||
|
|
||||||
data->set.infilesize = -1; /* we don't know any size */
|
data->set.infilesize = -1; /* we don't know any size */
|
||||||
data->set.postfieldsize = -1;
|
data->set.postfieldsize = -1; /* unknown size */
|
||||||
|
data->set.maxredirs = -1; /* allow any amount by default */
|
||||||
data->state.current_speed = -1; /* init to negative == impossible */
|
data->state.current_speed = -1; /* init to negative == impossible */
|
||||||
|
|
||||||
data->set.httpreq = HTTPREQ_GET; /* Default HTTP request */
|
data->set.httpreq = HTTPREQ_GET; /* Default HTTP request */
|
||||||
@ -733,7 +733,7 @@ void curl_easy_reset(CURL *curl)
|
|||||||
/* Set the default size of the SSL session ID cache */
|
/* Set the default size of the SSL session ID cache */
|
||||||
data->set.ssl.numsessions = 5;
|
data->set.ssl.numsessions = 5;
|
||||||
|
|
||||||
data->set.proxyport = 1080;
|
data->set.proxyport = CURL_DEFAULT_PROXY_PORT; /* from url.h */
|
||||||
data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */
|
data->set.proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */
|
||||||
data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */
|
data->set.httpauth = CURLAUTH_BASIC; /* defaults to basic */
|
||||||
data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */
|
data->set.proxyauth = CURLAUTH_BASIC; /* defaults to basic */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user