Make proxy setup URL specific

We now bypass the global proxy if trying to connect to localhost (as some of our tests do) and we also hand the actual target URL to the potential proxy auto configuration (PAC) script.
This commit is contained in:
Allan Odgaard
2012-08-13 20:30:47 +02:00
parent 25071ce6e5
commit f370ee13e4
6 changed files with 10 additions and 7 deletions

View File

@@ -15,6 +15,6 @@ struct proxy_settings_t
std::string password;
};
PUBLIC proxy_settings_t get_proxy_settings ();
PUBLIC proxy_settings_t get_proxy_settings (std::string const& url);
#endif /* end of include guard: PROXY_H_S8ZWZPU8 */