How to setting proxy/socks in CefSharp

5,091 views
Skip to first unread message

xuan nhat

unread,
Aug 19, 2012, 11:44:49 AM8/19/12
to cefs...@googlegroups.com
Hello...
I can not be found any way to Change Proxy/Socks in Cefsharp browser. 
I open project with vs 2008 but i not found any way setting proxy/Socks in web_view....
Please help me ? 

anthony taranto

unread,
Aug 20, 2012, 3:31:18 PM8/20/12
to cefs...@googlegroups.com
You can modify the AutoDetectProxySettings flag, but CEF/CefSharp doesn't currently support manual proxy configuration:

https://github.com/ataranto/CefSharp/blob/master/CefSharp/Settings.h#L95

ISTLC

unread,
Sep 5, 2012, 10:56:19 AM9/5/12
to cefs...@googlegroups.com
I'm interested too.
What should I do after setting AutoDetectProxySettings to true in order to force the HTTP proxy?

Thanks.

ISTLC

anthony taranto

unread,
Sep 5, 2012, 2:44:35 PM9/5/12
to cefs...@googlegroups.com
I don't believe that CEF (or subsequently CefSharp) have any support for manual proxy configuration.

Czarek Tomczak

unread,
Sep 5, 2012, 3:37:10 PM9/5/12
to cefs...@googlegroups.com

anthony taranto

unread,
Sep 5, 2012, 3:43:55 PM9/5/12
to cefs...@googlegroups.com
Ah, I did not know that this was available in cef1. We will have to add CefSharp bindings for this API.

James Berry

unread,
Sep 24, 2012, 7:47:55 AM9/24/12
to cefs...@googlegroups.com
I am battling with proxies right now in my demo project, and would like to use the proxy settings as defined in Internet Explorer - which are currently being ignored

Czarek Tomczak

unread,
Sep 24, 2012, 9:08:48 AM9/24/12
to cefs...@googlegroups.com
There is a bug in how CEF handles proxy right now, I've been analyzing CEF sources and I think I know how to fix it, I will be working on a patch soon.

See this issue in CEF Python:
There are links to CEF issue tracker and forum regarding this matter.

Czarek.

Doug Miller

unread,
Mar 8, 2013, 9:43:43 AM3/8/13
to cefs...@googlegroups.com
Hi, just wondering if there has been any progress on this thread?  Or if manual proxy configuration will be available for CefSharp anytime in the near future?  Thanks.

anthony taranto

unread,
Mar 8, 2013, 2:17:10 PM3/8/13
to cefs...@googlegroups.com
It looks like there's a CefProxyHandler now, should be relatively easy to bind.

Code is here:

http://code.google.com/p/chromiumembedded/source/browse/trunk/cef1/include/cef_proxy_handler.h

Created a github issue to track:

https://github.com/ataranto/CefSharp/issues/45

On Fri, Mar 8, 2013 at 6:43 AM, Doug Miller <douglas....@gmail.com> wrote:
Hi, just wondering if there has been any progress on this thread?  Or if manual proxy configuration will be available for CefSharp anytime in the near future?  Thanks.

--
You received this message because you are subscribed to the Google Groups "CefSharp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefsharp+u...@googlegroups.com.

To post to this group, send email to cefs...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Alexander Stulov

unread,
Mar 17, 2013, 9:03:04 AM3/17/13
to cefs...@googlegroups.com
Hi Anthony,

Could you indicate if it is planned to be done and when?

anthony taranto

unread,
Mar 18, 2013, 2:24:41 PM3/18/13
to cefs...@googlegroups.com
No, I don't have any timeframe. It all depends on how much time I have available to work on CefSharp. If you'd like, I would be glad to answer any questions you might have about how to implement this.

--Anthony
Reply all
Reply to author
Forward
0 new messages