Giter Site home page Giter Site logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
#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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024

Original comment by [email protected] on 6 Oct 2008 at 7:02

from libproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.