Hi,From the code, chrome's "--proxy-server" only affects http and https.I have 2 questions.1. What about tcp connection? Does "--proxy-server" affect that?
2. Is there any mechanism for chrome to use proxy with UDP protocol?
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CACvaWvbeynhU2vU3Z4Xf-LFgkwr1iToHiA1SVk74GfvYRsMsTw%40mail.gmail.com.
Is there any design doc describing how chrome handles proxy?
i.e. where it decides to route a connection through proxy or not?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CABM%3Dn%2B3_6VBWCyh4hkHMfo9zUoM%2Br5Lq-a%2BMKahxdqNRBLZKcg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CAFswn4%3DogRX4moHOHcJvqKmwb0XxuUGtPbOyG%3DB%2B_%2BwuG1SCww%40mail.gmail.com.
One more question. Is there any way to know a priori, given a remote server, if a proxy is going to be used? Or the only way is to really use it as int ProxyService::ResolveProxy?
Also, I assume the decision of which proxy is going to be cached if proxy setting is not changed in anyway, correct?
Thanks. My goal was to use the presence of proxy. if there is, we'll not use UDP as it's not routed hence causing IP leak. And as you pointed out, presence of proxy is a very complicated topic since it depends on so many factors.However, for our use case, I feel I don't need a 100% accurate solution. Instead of answering "Will there be a proxy b/w me and server A", I will just try to answer "if the user only proxy configuration is manual (i.e. no auto_config nor PAL) AND a proxy for http/https/socks is configured". If that's true, we'll just turn off UDP.By looking at the code, it seems that if I could get a hold of ProxyConfigService, I could get the current config (GetLatestProxyConfig) as well as observe any change on that configuration. Does this sound reasonable given the simplification I mentioned above?
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CACvaWvZLLLVvTEhXUaRzb2FmV1T7XHCoXyRynmvpGUTc0HJzYQ%40mail.gmail.com.