From: Operating system: Windows Server 2008 r2 PHP version: 5.3.3 Package: OpenSSL related Bug Type: Bug Bug description:Incorrect SNI (Server name indicator) when using a SoapClient through a proxy
Description: ------------ When calling a url on apache server with name "APACHESERVER" through a proxy with name "PROXY" the following error occurs: Hostname PROXY provided via SNI and hostname APACHESERVER provided via HTTP are different ie calling url: https://APACHESERVER/ws.php with proxy at: http://PROXY:8080/ Test script: --------------- $config = array('location' => WEBSERVICE_LOCATION, 'classmap' => $wsclassmap, 'trace' => 1, ); if (WEBSERVICE_PROXY_HOST && WEBSERVICE_PROXY_PORT) { $config['proxy_host'] = WEBSERVICE_PROXY_HOST; $config['proxy_port'] = WEBSERVICE_PROXY_PORT; } $ws_client = new SoapClient($wsdl,$config); -- Edit bug report at http://bugs.php.net/bug.php?id=52913&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52913&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52913&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52913&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52913&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52913&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52913&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52913&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52913&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52913&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52913&r=support Expected behavior: http://bugs.php.net/fix.php?id=52913&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52913&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52913&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52913&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52913&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52913&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52913&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52913&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52913&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52913&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52913&r=mysqlcfg
