Skip to content
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 "--proxy-pac-url" #1599

Closed
hanzhao opened this issue May 7, 2015 · 8 comments
Closed

Support "--proxy-pac-url" #1599

hanzhao opened this issue May 7, 2015 · 8 comments

Comments

@hanzhao
Copy link
Contributor

hanzhao commented May 7, 2015

As Chromium, PAC for detecting correct proxy for current uri is useful. Any supports or plans about it?

@zcbenz
Copy link
Member

zcbenz commented May 8, 2015

As far as I now it is supported.

@zcbenz zcbenz closed this as completed May 8, 2015
@hanzhao
Copy link
Contributor Author

hanzhao commented May 8, 2015

Any documents about it? I havent found docs about it

@zcbenz
Copy link
Member

zcbenz commented May 8, 2015

Electron just uses the system proxy settings.

@hanzhao
Copy link
Contributor Author

hanzhao commented May 8, 2015

With Chromium's commandLine switch
--proxy-pac-url=
This tells Chrome to use the PAC file at the specified URL.
For example,
--proxy-pac-url="http://wpad/windows.pac"
will tell Chrome to resolve proxy information for URL requests using the windows.pac file.

It makes proxy setting more elegant. Any plans about it? Related nwjs/nw.js#916 on NW.js.

@zcbenz
Copy link
Member

zcbenz commented May 10, 2015

The --proxy-pac-url switch is not supported yet.

@adwilk
Copy link

adwilk commented May 14, 2015

+1 for --proxy-pac-url support

@zcbenz zcbenz changed the title PAC Support? Support "--proxy-pac-url" Jun 9, 2015
@jeromebenois
Copy link

+1 for --proxy-pac-url support

@vlatkoIT
Copy link

I am trying to create websocket connection with this PAC setting. Everything works when I connect to webSocket in the console in Devtools (which I believe is native to Chrome), however it doesn't work when I do the same from the app where I have to require('ws').
Can you help me how to use Chrome websocket function or to find equivalent setting for the app that works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants