#23520 [Opn->Asn]: PEAR Remote calls do not use Proxy Setting
| From: | arnaud@php.net | Date: | Fri, 11 Jul 2003 07:12:05 +0000 |
| Subject: | #23520 [Opn->Asn]: PEAR Remote calls do not use Proxy Setting | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18158@lists.php.net to get a copy of this message | ||
ID: 23520
Updated by: arnaud@php.net
Reported By: aashley at optimiser dot com
-Status: Open
+Status: Assigned
Bug Type: PEAR related
Operating System: Gentoo Linux (2.4.20)
PHP Version: 4.3.2
-Assigned To: pajoye
+Assigned To: cox
Previous Comments:
------------------------------------------------------------------------
[2003-07-11 01:52:14] aashley at optimiser dot com
okay i found where the problem in the code is. In PEAR_Remote when
doing an XMLRPC call if the xmlrpc extension is available then it is
used directly without using the XML_RPC object.
the problem is in that PEAR_Remote::call_epi() does not make use of the
proxy settings at all, while PEAR_Remote::call() if making use of the
XML_RPC object does.
------------------------------------------------------------------------
[2003-07-11 01:33:52] aashley at optimiser dot com
yeah I'll have a go at it prob monday morning, its almost knock off
time on friday here at the moment :)
------------------------------------------------------------------------
[2003-07-11 01:27:45] arnaud@php.net
Could you dive into the pear code and try to find the problem ? i mean
add echo statements when it is about to make the connection and stuff.
I have a proxy with authorization at work and things work fine.
------------------------------------------------------------------------
[2003-07-03 01:15:12] aashley at optimiser dot com
To try to rule out if its my install or not, I've built up a new server
with RedHat 9, its stock install of PHP, the PEAR command experiences
the same problems.
Ive built and installed from source (after removing the RH PHP RPMS)
PHP-4.3.2 and still experience the same problems, RPC calls do not make
use of the proxy settings
------------------------------------------------------------------------
[2003-06-24 01:41:42] aashley at optimiser dot com
have upgraded the PEAR package as instructed, no RC1 available that way
1.2beta2 was installed
root@dt-pc0144 root # pear upgrade PEAR
downloading PEAR-1.2b2.tgz ...
...done: 82,854 bytes
upgrade ok: PEAR 1.2b2
root@dt-pc0144 root # pear -V
PEAR Version: 1.2b2
PHP Version: 4.3.2
Zend Engine Version: 1.3.0
root@dt-pc0144 root # pear list-all
PEAR_Remote::call: fsockopen(`pear.php.net', 80) failed
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23520
--
Edit this bug report at http://bugs.php.net/?id=23520&edit=1