-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more sophisticated proxy settings #52
Conversation
@donho: What do you think? |
@donho, |
const std::wstring& getAuth() const { return _proxyAuth; }; | ||
void setAuth(const std::wstring& s) { _proxyAuth = s; }; | ||
const std::wstring& getUserPass() const { return _proxyUserPass; }; | ||
void setUserPass(const std::wstring& s) { _proxyUserPass = s; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User password shouldn't be stored into the xml file.
@@ -146,7 +146,7 @@ | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>..\src\TinyXml;..\src\sha2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this file modified?
|
||
curl_easy_setopt(curl, CURLOPT_PROXYAUTH, lAuth); // any method as proposed by proxy | ||
} | ||
if (!extraOptions.getUserPass().empty()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding convention is not respected.
The KISS (Keep it Simple, Stupid) guideline should be respected. |
The commit 17f2ee0
from gwinkless was giving me the right direction, but was not sufficient for my Kerberos based proxy system.
I added required parameters to treat curl as required for different constellations, trying to do as minimal changes to the rest.
@donho and @gwinkless could you check from your end if this changes are OK to release?
Regards, Mattes