Skip to content

Allow for proxy connection with username and pw authentication HTTP#2

Open
stevenpan91 wants to merge 3 commits intoPATRONAS:masterfrom
stevenpan91:proxy_edit_branch
Open

Allow for proxy connection with username and pw authentication HTTP#2
stevenpan91 wants to merge 3 commits intoPATRONAS:masterfrom
stevenpan91:proxy_edit_branch

Conversation

@stevenpan91
Copy link

Added code to allow for proxy connection with username and pw using mostly below code

https://msdn.microsoft.com/en-us/library/windows/desktop/aa383144(v=vs.85).aspx

But modified to allow for Basic Authentication.

@stevenpan91
Copy link
Author

Realized the reason why I had to make the second commit: first commit mallocs proxy_user/pw and server_user/pw to some local variable then passes by reference to the HttpProtocol attributes and I attempted to free them in the destructor. Instead, malloc should be called on the object attributes directly. Will fix.

…ixed problem that led to second commit temp which was a temp fix).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments