#41534 [NEW]: SoapClient over HTTPS fails restablished connection
| From: | vladimir3 at gmail dot com | Date: | Tue, 29 May 2007 22:17:32 +0000 |
| Subject: | #41534 [NEW]: SoapClient over HTTPS fails restablished connection | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-113172@lists.php.net to get a copy of this message | ||
From: vladimir3 at gmail dot com
Operating system: Fedore Core release 3
PHP version: 5.2.2
PHP Bug Type: SOAP related
Bug description: SoapClient over HTTPS fails restablished connection
Description:
------------
In my code i create SoapClient object and then re-use the same object.
That is, my code makes a couple of soap calls over HTTPS every 60 seconds
or so.
The first call always fails with "Error Fetching http headers" while
second one goes through.
I ran tcpdump and noticed that remote server sends FIN after about
58seconds. But SoapClient fails to reestablish it, instead it tries to send
more data and gets a RST (reset) from the server.
The only way to get around this problem is to re-create an object. I am
wondering if SoapClient can be fixed so that it re-establishes SSL
connections if connection no longer exists. Or can you expose a method
which will allow me to check if connection is still alive.
Expected result:
----------------
I expect SoapClient to reestablish connection if current ssl connection is
dead
--
Edit bug report at http://bugs.php.net/?id=41534&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41534&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41534&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41534&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41534&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41534&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41534&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41534&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41534&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41534&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41534&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41534&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41534&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41534&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41534&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41534&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41534&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41534&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41534&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41534&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41534&r=mysqlcfg