2009/3/24 Glenn Waldron <[email protected]> > 2009/3/24 Philip Lowman <[email protected]> > >> 2009/3/24 Glenn Waldron <[email protected]> >> >>> I have a customer who is trying to use OSG to access data through a PAC >>> proxy (http://en.wikipedia.org/wiki/Proxy_auto-config). CURL does not >>> support this directly, and the sense I get from the CURL community is that >>> they don't plan to. >>> >>> Does it make sense to add PAC proxy support to the OSG CURL plugin? Yes, >>> you could deal with PAC at the application level and set the CURL proxy >>> based on the results ... this is what the CURL folks advocate ... the >>> trade-off though is that sample apps like osgviewer will not be able to work >>> in a PAC proxy environment. >>> >>> Just looking to get some opinions on the matter. >> >> >> PAC requires javascript right? You could make it so the curl plugin >> optionally depends upon a javascript engine and if it's there it solves for >> the proper proxy to use. >> > > That would be the idea, yes. In particular I was looking at pacparser ( > http://code.google.com/p/pacparser) which I believe uses spidermonkey for > JS. >
It would be nice in that the OSG could at least in theory work with proxy servers without being configured at all. > For servers that don't need the proxy server you can either configure the >> proxy server to tell the client to access the server directly or you can use >> the "no_proxy" environment variable which I believe libcurl respects. >> >> If you have a situation where you have to switch between two different >> proxy servers depending on the URL you are accessing clearly something is >> wrong with your IT people at work... :) >> > -- Philip Lowman
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

