cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1461 curl_easy_reset removes proxy information via environment

From: JoSch <josch1337_at_users.sf.net>
Date: Fri, 05 Dec 2014 11:58:43 +0000

---
** [bugs:#1461] curl_easy_reset removes proxy information via environment**
**Status:** open
**Created:** Fri Dec 05, 2014 11:58 AM UTC by JoSch
**Last Updated:** Fri Dec 05, 2014 11:58 AM UTC
**Owner:** nobody
Hi,
the documentation for curl_easy_reset says:
"Re-initializes all options previously set on a specified CURL handle to the default values. This puts back the handle to the same state as it was in when it was just created with curl_easy_init."
Suppose I have set the http_proxy environment variable. Then that one will be properly respected after a curl_easy_init. But once I do curl_easy_reset that information is lost.
So either above documentation has to be adapted to say "This puts back the handle to the same state as it was in when it was just created with curl_easy_init except that any proxy server set with the http_proxy environment variable is lost".
Or curl_easy_reset should respect the value of the http_proxy environment variable if it is set.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-12-05

These mail archives are generated by hypermail.