From: php at sowen dot de
Operating system: Gentoo Linux
PHP version: 5.1.0b3
PHP Bug Type: SOAP related
Bug description: SOAP one-way is not fire-and-forget
Description:
------------
When I try to make a SOAP call to a server that doesn't reply with an
answer, my client keeps on waiting until the server finished it's work.
Shouldn't one-way operation be "fire-and-forget" in order to make more
sense?
This could be solved by returning a HTTP 200 response and closing the
socket, right after the SOAP call was received by the server.
Reproduce code:
---------------
Server code:
------------
public function onewaytest() {
sleep(50);
}
Client code:
------------
$soap = new SoapClient(null, '...');
$starttime=time();
$soap->onewaytest();
echo time()-$starttime." sec\n";
Expected result:
----------------
Just the network time-overhead caused by HTTP connect and POST.
Actual result:
--------------
Above 50 sec.
--
Edit bug report at http://bugs.php.net/?id=33765&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33765&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=33765&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=33765&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33765&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33765&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33765&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33765&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33765&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33765&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33765&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=33765&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=33765&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33765&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33765&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33765&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33765&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33765&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33765&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33765&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33765&r=mysqlcfg