Comments (10)
#1) Not currently, however, I'm not opposed to it. What would be your preferred
method of implementation?
#2) I will create some performace documentation. In short, we cache as often
as the
spec will allow (hence, why the networkmanager plugin is important). This
cache is
kept in the proxy factory object, so keeping it around as long as possible is a
GoodThingTM. get_proxy() always blocks and can be run in its own thread.
Generally
speaking, the slowest possible execution is WPAD on the first get_proxy() call.
After that, so long as the cache is valid, get_proxy() will be a single
javascript
invocation. In the case of non-WPAD/PAC, there is minimal overhead on top of
the
underlying mechanism (ie. envvar, gconf, etc).
In summary, the idea is this: keep the pxProxyFactory instance around as long as
possible. If you do this, any performance issue is considered a bug.
Performance is
important to us.
#3) My suggestion to the libcurl guys was to support libproxy directly in curl.
They
seemed to balk at that idea. I will take some time this week to generate some
docs
on how to integrate libproxy with libcurl.
Original comment by [email protected]
on 6 Oct 2008 at 6:21
from libproxy.
Original comment by [email protected]
on 6 Oct 2008 at 7:02
from libproxy.
Targeting for 0.3
Original comment by [email protected]
on 6 Oct 2008 at 7:46
- Added labels: Type-Enhancement, Priority-High, Milestone-Release0.3
- Removed labels: Type-Defect, Priority-Medium
from libproxy.
There is a first patch ready that reads from the environment which plugins are
preferred. In case loading them should not be possible, the others serving an
equal
function will be tried.
Patch to be reviewed
Original comment by [email protected]
on 10 Oct 2008 at 6:25
- Changed state: Started
from libproxy.
patch commited as svn 273; documentation in the wiki is still missing.
in short: the environment variable PX_PLUGIN_ORDER can contain a comma
separated list
of plugins that will be tried in this order. All the remaining plugins will be
loaded
afterwards.
Like this you can specify for example webkit in the PX_PLUGIN_ORDER; it will be
loaded first.
Original comment by [email protected]
on 16 Oct 2008 at 6:32
from libproxy.
I should point out that PX_PLUGIN_ORDER will be referenced at pxProxyFactory
instantiation time. So if you want webkit to be used, you'd do this:
setenv("PX_PLUGIN_ORDER", "webkit", 1);
pxProxyFactory *pf = px_proxy_factory_new();
...
Original comment by [email protected]
on 18 Oct 2008 at 8:48
from libproxy.
Performance documentation is now in the header file and the HowTo wiki page.
Still
outstanding is is libcurl sample code.
Original comment by [email protected]
on 18 Oct 2008 at 9:37
from libproxy.
There is now a sample libcurl implementation in the samples directory in the
most
recent trunk.
Original comment by [email protected]
on 20 Oct 2008 at 7:27
- Changed state: Fixed
from libproxy.
I'm re-opening this bug to point out that PX_PLUGIN_ORDER will no longer work
like
this in the current trunk. I'll make sure to come up with a new way to do this
for 0.3.
Original comment by [email protected]
on 15 Mar 2009 at 3:21
- Changed state: Accepted
from libproxy.
In revision 329 in trunk I've added support for PX_PLUGIN_BLACKLIST. It is an
environmental variable that takes a comma separated list of plugin names to
blacklist.
Thus, when webkit would use libproxy, you would specify:
PX_PLUGIN_BLACKLIST=pacrunner_mozjs
Original comment by [email protected]
on 19 Mar 2009 at 1:58
- Changed state: Fixed
from libproxy.
Related Issues (20)
- NetBSD compilation failure HOT 2
- Crash on Mac OS X 10.6 when bypass proxy contains 169.254/16 (works fine on 10.7 and 10.8 though) HOT 1
- Solaris 10 compilation failure HOT 1
- Make get_default_port() threadsafe HOT 2
- libproxy crashes Qt5 applications due to KDE libraries incompatibility HOT 4
- Building a static library of libproxy (i.e. libproxy.a) HOT 1
- url-test test fails on s390 and sparc HOT 7
- crash after pacrunner failure HOT 1
- pacrunner_mozjs is not thread-safe
- Query-string is inadvertedly stripped from PAC GET URL HOT 1
- Use GNUInstallDirs in cmake HOT 1
- Patch for building on OS X 10.9 with libc++
- Findlibproxy.cmake installed in unsuitable directory HOT 1
- MacPorts Patches
- win32-vc90 build crash for "none://localhost:34532" if ProxyOverride in registry is not equal to "<local>" HOT 1
- Assertion failed in char* url::get_pac() HOT 1
- Segmentation Fault on MacOS HOT 1
- Update mozjs to version 24
- needs 95GB of memory?
- SIGSEGV in getProxies() when called from Python thread HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libproxy.