[wp-trac] Re: [WordPress Trac] #4011: add global proxy support in
options
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 1 04:54:06 GMT 2009
#4011: add global proxy support in options
-----------------------------+----------------------------------------------
Reporter: tmountjr | Owner: jacobsantos
Type: feature request | Status: new
Priority: normal | Milestone: 2.8
Component: HTTP | Version: 2.2
Severity: normal | Keywords: proxy has-patch commit
-----------------------------+----------------------------------------------
Changes (by DD32):
* keywords: proxy has-patch needs-testing => proxy has-patch commit
* milestone: 2.9 => 2.8
Comment:
Alright, I've done some messing around, And i've got it to work 100% with
Apache as a proxy server.
The proxy server i was testing with before (ccProxy) now works with HTTP,
CURL, and Fopen() - But fails with streams and fsockopen().
I've not tested Squid, which is really probably the main server that needs
testing.. I'll test that if i can find a test server, Or i can manage to
configure it myself.
I've made a fair few modifications to the original patch( 4011.3.diff ),
So What i'm thinking, Is Get that commited first (props jacob), once thats
commited, I can make a patch based off that of my changes,
I'm aiming to support '''HTTP Proxies''' with this patch, Its near
impossible to support every different type of proxy it seems, so on some
hosts, disabling some of the HTTP transports -may- be required for clean
operation, but only IF they're using a proxy too, So for the majority of
users it'll not be a problem. For the majority of proxy users, it'll work
fine (provided squid acts nicely), for a small set of the proxy users,
they may have to disable them.
Once my patch is applied, The following items are affected:[[BR]]
Apache (As a proxy server, No Username/password): All transports
work[[BR]]
CCProxy (With, and without, username/password): Http, Curl, and fopen()
work. Streams and fsockopen() do not.
I've not tested apache with a username/password yet.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/4011#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list