Skip to content

proxy: read the "no_proxy" variable only if necessary#1919

Closed
mkauf wants to merge 1 commit into
curl:masterfrom
mkauf:noproxy_env_var
Closed

proxy: read the "no_proxy" variable only if necessary#1919
mkauf wants to merge 1 commit into
curl:masterfrom
mkauf:noproxy_env_var

Conversation

@mkauf
Copy link
Copy Markdown
Contributor

@mkauf mkauf commented Sep 24, 2017

No description provided.

Copy link
Copy Markdown
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just below this section, there's a Curl_safefree(no_proxy) - won't that be wrong when no_proxy points to the data->set.str[] pointer?

@mkauf
Copy link
Copy Markdown
Contributor Author

mkauf commented Sep 25, 2017

won't that be wrong when no_proxy points to the data->set.str[] pointer?

@bagder Absolutely... thanks a lot for reviewing! I will improve this PR.

@mkauf
Copy link
Copy Markdown
Contributor Author

mkauf commented Sep 26, 2017

Fixed. I also removed an unnecessary "proxy = NULL" if proxy is already NULL

@mkauf mkauf closed this in c4ebd8b Oct 3, 2017
@mkauf mkauf deleted the noproxy_env_var branch October 3, 2017 16:07
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

2 participants