Re: XML_RPC over SSL patch

From: Date: Wed, 29 Jan 2003 12:55:31 +0000
Subject: Re: XML_RPC over SSL patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12810@lists.php.net to get a copy of this message
Stig S. Bakken wrote:
On Tue, 28 Jan 2003, Wolfram Kriesing wrote:
attached there is a patch which makes XML_RPC also work over SSL it uses HTTP_Request. since XML_RPC is a base-package (or whatever this is called) HTTP_Request might need to become one too, if this is acceptable. i've tested it using HTTPS, HTTP, HTTP+Auth, HTTPS+Auth, i havent tested the proxy, but since it uses HTTP_Request for that the chances that it works are quite high i guess :-)
HTTP_Request again depends on Net_Socket and Net_URL. I really want to keep the number of packages required to make the installer work as low as possible, to reduce the number of unknowns somewhat.
yeah i understand that, sure
Let's make a compromise: The HTTPS support is implemented in a separate method (for example sendPayloadHTTPS10). The first thing you do in this method is @include_once "HTTP/Request.php", and if it fails you raise an error about requiring HTTP_Request for HTTPS support (I do the same thing in PEAR/Remote.php for XML_RPC).
ok, so the sendPayloadHTTP10 (not HTTPS) needs to detect the protocol, right? and forward to sendPayloadHTTPS10 in case port 443 is used. i think that would be cool. shall i hack it and send to you? -- Wolfram ... opensource @ vision:produktion ... http://opensource.visionp.de ... translating template engine .... http://sf.net/projects/simpletpl ... authentication system .... http://sf.net/projects/auth

« previous php.pear.dev (#12810) next »