Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Fix Version/s: 1.9.0
-
Component/s: Zend_Http_Client
-
Labels:None
Description
not working when rediretion occurs on server. (will add more info later).
same address works when Fireox or Explorer is used with proxy
i made it works by changing 'write' method in Proxy.php:
if($this->negotiated){ $request = "{$method} {$uri->getPath()} HTTP/{$http_ver}\r\n"; } else{ $request = "{$method} {$uri->__toString()} HTTP/{$http_ver}\r\n"; }
tcpdump:
CONNECT h1.host.com:443 HTTP/1.1
Host: 10.10.0.1
HTTP/1.0 200 Connection established
CONNECT h5.host.comhttps:443 HTTP/1.1
Host: 10.10.0.1
Hi -
Can you provide a more clear scenario?
I see you have HTTPS - does it also happen when you use regular HTTP proxy and not HTTPS ?
Where does the redirection happen? On the proxy server or on the remote server? What is the redirection code?
Thanks.